Advanced triiger


#1

Hi

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

Thanks


#2

Supports only Daily Candle Value Triggers.


#3

Are you sure


#4

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