The Forex Strategist EA
Budget: $30 – $250 USD
extern double LotSize = 0.01;
extern double TakeProfitMultiplier = 1; (The Take Profit Multiplier should be the value we calculate from the entry point to the stop loss. So, if we want a trade that is 1:1, we leave it at 1. If we want a trade that is double the entry to stop loss, we change the value to 2.)
extern double StopLoss = 0; (If we change the value of the stop loss, it should be calculated from the fractal high or low. So, the fractal high or low is the base value for our stop loss, i.e., stoploss0 = fractal high or low.)
extern int MaxTrades = 3;
Buy trade: When the EMA 9 crosses above EMA 21, we wait for a fractal to form below the candlesticks. As long as we have this condition (EMA 9 above EMA 21) and a new fractal appears, we open a new trade. We limit the number of open trades at each crossover using the MaxTrades variable. When we have a crossover of EMA 9 and EMA 21, the MaxTrades rules are reset so that we can open more trades if needed. Let me explain with numbers representing candles: 2 1 0, where 0 is the open candle. If 2 indicates a fractal, we wait for candle 0 to close and then open a buy trade. The stop loss should be set at the fractal low, which means the fractal low is below the candles. If the EMA 9 remains above EMA 21 for an extended period and multiple fractals appear, we will open a new buy trade with the same rules as we set for each buy trade. And we must not forget that MaxTrades allows us to determine the maximum number of trades that can be opened when the conditions are correct. We start there, and then we will move on to implementing the take profit when we get it to work as intended. For the take profit, we will calculate the value between the entry and stop loss and set the take profit as the same value. If we change the take profit to 2, we take the entry and stop loss values multiplied by 2 and set it as the take profit.
Sell trade: When the EMA 9 crosses below EMA 21, we wait for a fractal to form above the candlesticks. As long as we have this condition (EMA 9 below EMA 21) and a new fractal appears, we open a new trade. We limit the number of open trades at each crossover using the MaxTrades variable. When we have a crossover of EMA 9 and EMA 21, the MaxTrades rules are reset so that we can open more trades if needed. Let me explain with numbers representing candles: 2 1 0, where 0 is the open candle. If 2 indicates a fractal, we wait for candle 0 to close and then open a sell trade. The stop loss should be set at the fractal high, which means the fractal high is above the candles. If the EMA 9 remains below EMA 21 for an extended period and multiple fractals appear, we will open a new sell trade with the same rules as we set for each sell trade. And we must not forget that MaxTrades allows us to determine the maximum number of trades that can be opened when the conditions are correct. We start there, and then we will move on to implementing the take profit when we get it to work as intended. For the take profit, we will calculate the value between the entry and stop loss and set the take profit as the same value. If we change the take profit to 2, we take the entry and stop loss values multiplied by 2 and set it as the take profit.
extern double TakeProfitMultiplier = 1; (The Take Profit Multiplier should be the value we calculate from the entry point to the stop loss. So, if we want a trade that is 1:1, we leave it at 1. If we want a trade that is double the entry to stop loss, we change the value to 2.)
extern double StopLoss = 0; (If we change the value of the stop loss, it should be calculated from the fractal high or low. So, the fractal high or low is the base value for our stop loss, i.e., stoploss0 = fractal high or low.)
extern int MaxTrades = 3;
Buy trade: When the EMA 9 crosses above EMA 21, we wait for a fractal to form below the candlesticks. As long as we have this condition (EMA 9 above EMA 21) and a new fractal appears, we open a new trade. We limit the number of open trades at each crossover using the MaxTrades variable. When we have a crossover of EMA 9 and EMA 21, the MaxTrades rules are reset so that we can open more trades if needed. Let me explain with numbers representing candles: 2 1 0, where 0 is the open candle. If 2 indicates a fractal, we wait for candle 0 to close and then open a buy trade. The stop loss should be set at the fractal low, which means the fractal low is below the candles. If the EMA 9 remains above EMA 21 for an extended period and multiple fractals appear, we will open a new buy trade with the same rules as we set for each buy trade. And we must not forget that MaxTrades allows us to determine the maximum number of trades that can be opened when the conditions are correct. We start there, and then we will move on to implementing the take profit when we get it to work as intended. For the take profit, we will calculate the value between the entry and stop loss and set the take profit as the same value. If we change the take profit to 2, we take the entry and stop loss values multiplied by 2 and set it as the take profit.
Sell trade: When the EMA 9 crosses below EMA 21, we wait for a fractal to form above the candlesticks. As long as we have this condition (EMA 9 below EMA 21) and a new fractal appears, we open a new trade. We limit the number of open trades at each crossover using the MaxTrades variable. When we have a crossover of EMA 9 and EMA 21, the MaxTrades rules are reset so that we can open more trades if needed. Let me explain with numbers representing candles: 2 1 0, where 0 is the open candle. If 2 indicates a fractal, we wait for candle 0 to close and then open a sell trade. The stop loss should be set at the fractal high, which means the fractal high is above the candles. If the EMA 9 remains below EMA 21 for an extended period and multiple fractals appear, we will open a new sell trade with the same rules as we set for each sell trade. And we must not forget that MaxTrades allows us to determine the maximum number of trades that can be opened when the conditions are correct. We start there, and then we will move on to implementing the take profit when we get it to work as intended. For the take profit, we will calculate the value between the entry and stop loss and set the take profit as the same value. If we change the take profit to 2, we take the entry and stop loss values multiplied by 2 and set it as the take profit.