How to identify a daily bar which closes in 30% of its upper range

Want to identify a positive bar for price momentum

hElLO tRaDeR,


CLOSE > LOW + (((HIGH - LOW) * 69) / 100)

Need to try the code on Pi scanner between 3:28 and 3:32 PM on 8hr candle.

Fingers Crossed.

Is this for Pi ?

Yes this is for Pi Scanner

I want to identify this using tradescript