EMA is one of the best indicators you can use to open trades. here i used EMA 14 and EUR/USD as an instrument and default period 30 minute . full margen as trade volume with 100 pip stop lose and 4 pip take profit .
The EMA blocks with shift 4,3,2,1 and time period 14 , and get historical candle with shift 4,3,2,1 alllowed me to make this conditions to open orders . if the EMA closed price shift( 4,3,2) is greater than the candle closed price shift (4,3,2) then EMA close price shift( 1) is less than the candle close price shift (1) ( the meaning is if the Previous 3 candles closer lower than the ema indicator then the last candle close greater than ema ) the strategy will open buy positon . on case of SELL we have the opposite conditions if the EMA close price shift( 4,3,2) is less than the candle close price shift (4,3,2) then EMA close price shift( 1) is greater than the candle close price shift (1) ( the meaning is if the Previous3 candles closer greater than the EMA indicator then the last candle close less than EMA ) the strategy open SELL.
Here some exemples sell and buy from april month
because the first day of trading (monday) and last day of week (friday) is not stable days on my opinion i exclude those two days from trading . so i used this blocks on picture below
The EMA blocks with shift 4,3,2,1 and time period 14 , and get historical candle with shift 4,3,2,1 alllowed me to make this conditions to open orders . if the EMA closed price shift( 4,3,2) is greater than the candle closed price shift (4,3,2) then EMA close price shift( 1) is less than the candle close price shift (1) ( the meaning is if the Previous 3 candles closer lower than the ema indicator then the last candle close greater than ema ) the strategy will open buy positon . on case of SELL we have the opposite conditions if the EMA close price shift( 4,3,2) is less than the candle close price shift (4,3,2) then EMA close price shift( 1) is greater than the candle close price shift (1) ( the meaning is if the Previous3 candles closer greater than the EMA indicator then the last candle close less than EMA ) the strategy open SELL.
Here some exemples sell and buy from april month
because the first day of trading (monday) and last day of week (friday) is not stable days on my opinion i exclude those two days from trading . so i used this blocks on picture below