Moving Average Exit Trade
-
Hello everyone
Im new to this community and I was wondering how to make a moving average crossover exit.
For entering I use 50 EMA and 200 EMA. When 50 EMA is crossing 200EMA upwards it a buy. When 50 EMA is crossing 200EMA downward its a sell.
To exiting the trade its reverse. When 50 EMA is crossing 200 EMA downward. The buy trade is going to exit and take profit. In the meanwhile its going to open a sell trade.
When 50 EMA is crossing 200 EMA upward. The sell trade is going to exit and take profit. In the meanwhile its going to open a sell trade.
Could someone please help me how to program this exit strategy and at the same time buy/sell.
-
@setsuna here you go https://fxdreema.com/examples
-
@ambrogio Thank you so much
-
I downloaded the project file from examples but when i backtest i get only one trade. It does not respect che rule.
-
@fenixtrading wich of the project have you downloaded?
-
@ambrogio Buy-Sell-Buy-Sell. I solved opening a new project and copy and paste the example.