Store the high of a red 15-min candle of the ITM strike in a runtime variable
Keyword help1,494 views
Deepak
I want to write a logic to identify the high of the recent 15 min candle
ITM -1 if nifty trades at 24400 then i need to have the value of the below from 24350 CE strike
Condition 1 :- Open > close
condition 2 :- store this value of high in a runtime variable “high value”
condition 3 - use the “high value” for future trades.
Can you please help?
Tradetron TeamTradetron team
Store the value when the condition is met, then reuse it:
Strike (ITM by one): for a CE, ATM SPOT('NIFTY 50', -1) (one strike below ATM), e.g. 24350 when NIFTY is ~24400.