Advanced triiger

Hi

Can you please provide me script for crude oil to alert me when open price is some ‘X’ on hour candle

Thanks

Supports only Daily Candle Value Triggers.

Are you sure

There is no concept of Candles in Sentinel. You get the latest market data. Although, if you want to club it with time conditions then you can do something like

OpenPrice('MCX:CRUDEOIL18AUGFUT') >= XYZ && Minute() >= 59

This trigger will only be alerted if MCX:CRUDEOIL18AUGFUT is greater than XYZ and it is the 59th/60th minute of the particular hour. So basically every hour this condition will be checked.

You can tweak these numbers to your condition. Refer to the tutorial here