High low difference code

I want to add a condition to my strategy that the difference between the high and low of the 1st candle is lower than 50 points. Please help.

Hi @Rakesh_Sharma2

You can refer to the below image for your condition.

Hope this helps.