EMA Crossover AFL with Buy and Sell signal

#1
Hi Friends,

I am looking for a simple AFL that generates buy and Sell signal based on below conditions, any help will be really appreciated.

Time Frame : 15 minutes
Indicators used are below;
  1. Exponential Moving Average (50, High)
  2. Exponential Moving Average (50, Low)
  3. Exponential Moving Average (15, Close)
Buy Condition : When 15 Close EMA crossovers 50 High EMA, buy at close of candle where crossover has happened
Sell Condition : When 15 Close EMA crossovers 50 Low EMA, Sell at close of candle where crossover has happened

Target : 0.25% value of Script selected
Stop Loss : 0.4% value of script selected


Thanks
Harshal
 

Similar threads