how to set alert for crossover of ema`s for commodity market…
Put this in Buy Alert Expression
CROSSOVER(EMA(CLOSE, 8), EMA(CLOSE, 20))
Put this in Sell Alert Expression
CROSSOVER(EMA(CLOSE, 20), EMA(CLOSE, 8))
The above is an example for EMA 8 and EMA 20 crossovers. Replace the values with the desired ones.
In case you are want to set alerts for close above or below ema then following will work.
Buy Alert Expression close > EMA(close, 8)Â
Sell Alert Expression close < EMA(close, 8)
Checkout following links
http://zerodha.com/z-connect/category/charting-coding-and-backtesting
http://zerodha.com/z-connect/charting-coding-and-backtesting/user-manuals/algoz-trading-systems
http://zerodha.com/z-connect/charting-coding-and-backtesting/user-manuals/algoz-technical-analysis
4 Likes