I wants signals for below conditions-
- Buy- When current candle closes above High of previous candle and if current candle close is greater than candle open.
Sell- When current candle closes below previous candle and if current candle close is lesser than open.
- Buy- If price crossover greater than highest high of previous 30 candles
Sell- If price crossover lesser than lowest low of previous 30 candles.