sir i have a strategy
1 when to buy
heikinashi greencandles and parabolic sar is below the candles stochastic should below 40 level in buy mode
exit whenever parabolicsar goes above the candle
2when to sell
heikinashi red candle and parabolic sar is above the candle stochastic should be above 60 in sell mode
exit whenever parabolicsar comes below the candle
how can i write the code and how i backtest it and make alerts of buy ,sell signals
please help me regards this