I want to have a code for the following
Buy : When the Low of the Candle is above EMA 34 Close and the previous candle close is below EMA 34 ( Candle moving from Bottom crossing EMA 34)
Sell : When the high of the Candle is below EMA 34 close and the previous candle close is above EMA 34