How to take trade in open price of the candle when all my conditions are satisfied — Tradetron Community
← Community

How to take trade in open price of the candle when all my conditions are satisfied

Strategy 3,319 views

Harish

how to take an entry at open price of the candle when all the conditions are satisfied ,any keyword sugession

Lion Algos

Open price of current candle can be get using Position keyword with position value 0

Lion Algos

Not clear. You want your buy/ sell price to be equal to open price?

Harish

yes i need to take trade buy/sell according to open price of the candle what is the keyword i have to use

Harish

entryprice (keyword) == position ( OPEN (symbol(instrument name) 15M,all )),0
this is correct for taking entry at open price of the candle

Lion Algos

By default trade will be executed at opening of the candle. No need to put any additional condition. In your code you are using 15 MIn candle for entry condition. So your condition will be checked at the close of last candle and if condition satisfied tarde will be taken at the opening of the current candle. But traded price can not guarantee open price. Because there will be some delay for actual trade in seconds. If you want to buy or sell at open price you have to put limit order with limit price equal to open price

amitbairagi

Hi harish have you got solution?..or contact me for it…nine8 one0 two3 zero2 eight3

Tradetron Team Tradetron team

You cannot force a fill at the candle’s open price in live trading. Orders go out when the condition is true, at the market.

  • Entry price == Open will almost never be true and is not a way to place an order.
  • In backtest, you can choose Open as the trade price, so simulated fills use the candle’s open price.
  • In live, use the leg’s Advanced Price Execution to control the limit price.
  • To enter right at a new candle, check the condition on the closed candle (Position(..., -1)) and use the Minute keyword so it fires in the first minute.

Keywords: Keyword Documentation — Tradetron

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