How to find low of entry time Candle in 5 min chart…? — Tradetron Community
← Community

How to find low of entry time Candle in 5 min chart…?

Keyword help 2,168 views

VIHAR VASOYA

how to find low of entry time Candle in 5 min chart…???
Plz any one help Plz…

Lion Algos

I don’t think thats possible

Gowtham

is that given reply/answer wokring? thanks

Innovative Investments

That solution will give the low point of prev candle. What is asked is to find the low point of candle at ENTRY time. I do not think it is possible. I am learning so not sure.

Tradetron Team Tradetron team

Short answer: save the candle’s low in a runtime variable at the moment you enter, then use the saved value in your exit. A plain Position(LOW(...), -1) in the exit keeps moving to newer candles, which is why the earlier replies did not work.

Steps (5-minute chart)

  1. In the entry block’s Runtime section, add:
    entry_low = Position ( LOW ( Symbol ( your instrument, 5m ) ), 0 )
    • 0 = the candle that is still forming at entry.
    • -1 = the last completed candle before entry.
  2. The value is written once, right after the entry leg is taken, so it does not change later.
  3. In your Set Exit (stop-loss for a long):
    LTP ( Traded Instrument Name ( Entry, 1, 1, 1 ) ) < Get Runtime Number ( entry_low )
    Use Get Runtime Number, because plain Get Runtime returns text.

Note: with 0, the low is read at the moment of entry. The candle can still make a lower low after that. If you need the finished candle’s low, use -1 at the first check after that candle closes.

Check the stored value from the deployment’s ⋮ menu → Runtime Data, and test in Live Offline.

Worked example: Use Entry Candle - High and Low using Runtime Variable - #8 by Nelson

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