May i know what is the calculation logic used for ADX?
Basically while using ADX in condition builder i just get to provide length - which i assume is the DI length
Whereas ADX has a smoothening period as well, what is that period taken into calculation at tradetron?
Also what is the smoothening function used? is it SMA/EMA/RMA/WMA ?
The docs don’t say which smoothing period or method (SMA/EMA/RMA/WMA) the ADX keyword uses internally. Here is what is documented:
ADX takes one length and returns the Average Directional Index for the instrument and timeframe you pick. Use it inside Position, e.g. Position(ADX(Symbol(<instrument>, '15m'), 14), -1).
ADX Smooth is a separate keyword that returns a smoothed ADX series, with its own period input (default 15).
DI+ and DI- are available too if you want the directional lines.
If your values differ from your chart
Compare on the same instrument (spot vs futures) and the same timeframe.
Use offset -1 (the last closed candle) on both.
Note candle timing: 30-minute and hourly candles on Tradetron sit on a fixed clock grid, so the first candle of the day can differ from your charting platform.