This walkthrough builds a trend-reversal setup: a candle that stays clear of the EMA, followed by a breakout on the very next candle that triggers the entry.
Keywords used
- Time and Position (candle position) to read the right candles.
- Absolute: returns the positive value of its input. Here it checks that the gap between the EMA and the candle is at least 1 point, whichever side the candle is on.
- Get Runtime: stores the high and low of the trigger candle so you can use them later as a stop-loss.
When you use Get Runtime, follow the recommended structure.
Test any strategy built this way in Live Offline before going live. This is an educational example, not a trading recommendation.
Edited with AI from the original Tradetron article, checked against current docs (Oct 2026). Spot something wrong? Tell us in the Community.