Store the entry candle’s high and low with runtime variables — Tradetron Community
← Help Center

Store the entry candle’s high and low with runtime variables

Keywords & logic 2 views

You can save the entry candle’s high and low in runtime variables and use them later as a stop-loss or target.

How it works

  • A runtime variable can be set in any condition block (Entry, Repair Once, Repair Continuous, Set Exit). It is written after that condition’s leg is taken.
  • Read it back in the Condition Builder with the Get Runtime keyword.
  • Do not read a variable before it has a value. It returns None, which can cause an error.
  • A Universal Exit clears all runtime variables.

Video and worked example

:sparkles: Edited with AI from the original Tradetron article, checked against current docs (Oct 2026). Spot something wrong? Tell us in the Community.

Still stuck? Ask the community

Tradetron अब हिन्दी में भी उपलब्ध है हिन्दी में देखें Continue in English