How do i set my EA to Buy Buy and Sell Sell.
-
Hi I would like to make my EA Buy Buy and Sell Sell not Buy Sell. 2 times Buy followed by 2 time Sell
-
@lali Do you mean all 4 trades at the same time?
-
No, one following another.
1st one is Buy if it hit the TP or SL it open another Buy, if it hit TP or SL it will then sell followed by another sell. one trade at a time.
thanks -
@lali That's a very weird way to trade. Do you want a sequence of buy, buy, sell, sell and then begin again no matter what? I don't see the logic behind that.
-
yes, no condition just buy buy and sell sell.
Thanks -
@lali Then you can begin with something like this. You will need a variable controlling the order of trades to be open:
-
Hi
thank your for replying all the time, will you please help me with the condition of the chart that you send me. I do not understand the value as a condition, what value is that, is it the value of pips? I am trying to understand your chart so I can know what I need to change from your chart. I see your variable is count, what are you counting.
thanks -
@lali You need a variable to count how many consecutive trades buy, buy, sell, sell, sell have been open so far. Every time a new trade is open, the variable is modified. Its number has nothing to do with pips. If you are not familiar with the use of variables I strongly recommend you to read the documentation available here:
https://fxdreema.com/instructions/builder/constants-and-variables
-
Hi
I tried to change some things on the chart you send me , it worked once on back testing. it worked the way I wanted it, when I checked the chart, but the problem is it worked once and stop it did placed 2 buy and 2 sell following one another for a period that I wanted. I want it to place order continually.
https://fxdreema.com/shared/VSResCQod -
@lali Whu did you modify it? Because the original version works correctly on my MT4.
-
hi
below is how it looks on my chart, to me it seems as if they are not waiting for one another to hit TP or SL. On the chart the second, third and fourth trade are entering before SL or TP.
please look at them.
Thanks

-
@lali I see you modified my suggested structure and I don't understand why. My structure works correctly. I see you added some unnecessary 'no trade' blocks in your structure.I strongly recommend you to use my structure.
-
The picture above is from your original suggested structure without me editing, when i did the backtesting on your original structure and look at the chart that is what I saw. will you please do the backtesting and show me how your chart looks like please.
-
@lali I confirm it works correctly:

-
hi
I am failing to understand why your EA does not want to work on my computer. I was using trades way broker now I am on FXTM buy it still not working. i downloaded your original EA. when i run it it place 1 trade on demo and on tester it shows this
. I don't know why it is not working, the journal has a self terminate message. Please help. -
@lali This measn the problem is crearly on your broker. I know that some brokers do not accept the code generated by fxDreema. For example Darwinex's MT4. I'm afraid you should try to find a programmer to identify the reason why it doesn't work on your broker.
-
hi
landorra will you please tell me the name of your broker, i would like to use it for the above EA. i have tried 3 brokers they all doing the same thing.
Thanks -
@lali My favourite broker is Admiral Markets.
-
hi
I finally figured out why it was not working, It is working now .
Thank you so much. -
@lali Can you please share the reason?