Assistance Required for ADX & ADX Smooth.Based Entry — Tradetron Community
← Community

Assistance Required for ADX & ADX Smooth.Based Entry

Strategy 1,220 views

Raghav

Entry Conditions.

ADX >= 20
Di+ >= Di-

ADX Settings
TimeFrame (Say 5Mins)
Adx Smoothening (Say 10)
DI Length (Say 15)

and when supertrend goes to buy, execute order,

now problem is there is some mistake in my code, because trades to not get triggered, super trend code logic is fine, since working on other strategy im testing… but ADX with above settings are not working… Using the key word ADX smooth…

Tradetron Team Tradetron team

Common reasons an ADX + DI condition never fires:

  1. Wrong parameter order in ADX smooth / DI. Check the exact inputs on the keyword page: Keyword Documentation — Tradetron
  2. Reading the live candle: use Position(..., -1) for the last closed candle.
  3. Cross vs above: if Supertrend uses Cross, it is 1 only on the crossing candle, so ADX must also be ≥ 20 on that same candle.
  4. Find the failing clause: in Live Offline, run the conditions one at a time and check the Notification Log.

You can also connect your AI to Tradetron via MCP to diagnose the strategy.

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.