I Want To Correction In My Zigzag EA
-
@muneeb00 You didn't put the flags in as I said, you have been using without them working, flags are an on/off switch, test without, if needed add back in, simple robots don't need. People that use learn how to use once the basic EA is working, then they are added to specify the logic.
-
@jstap Looks like my 90% work done on this project, Now my next target is to create same EA for MT5, which looks difficult because of some custom coding. Need your help.
-
@muneeb00 If you are talking about the zigzag, on the same post you got mt4 from is the information on how to use in mt5, is in the comments near the bottom.
-
@jstap Oh Thanks Alot, I found it & create for MT5 & its working. The only issue is there is no tab for which side to play this bot Like: (Long, Short, Long & Short). How can i add this on MT5 EA
-
@muneeb00 I think you are looking for this, the logic is if input buys = true activate next block.

-
@jstap
Sit i am asking for this in MT5 EA
Note: Screenshot taking from MT4

-
@muneeb00 It doesn't matter it is exactly the same
-
@jstap But there is no option of (Position) in MT5
-
@muneeb00 How do you mean?
-
@jstap I am not seeing this option in MT5 while backtesting my bot, So i am thinking to create in fxdreema

-
@muneeb00 Those options cannot be changed in fxdreema, but what I put above allows you to switch on/off buys and sells.
-
@jstap how can i used above blocks, Please describe me in details. Thanks
-
@muneeb00 Do as in the picture, one for buys and one for sells, put above your buy/sell tree
-
@jstap Sorry dear can't understand.

-
@muneeb00

-
@jstap You are not understanding my point
-
@jstap Sir, My question is very simple and straight forward.
I want to set manually before play my EA to find Long trades, Short trades or find long & short both.Thanks in advance
-
@muneeb00 Your question is not very simple, or I don't understand what you want. What I have showed you will give you the option to use EA for just buys, just sells or buys and sells. The above picture shows exactly how to implement, just use the buy condition above your buy conditions, use the sell condition above your sell conditions.
-
@jstap Its working but sir i want these options in one constant. Like the below picture. One Drop down box for all 3 positions

And what is this constant with name of ______ with a value of 2 is for ?? -
@muneeb00 The 2 is nothing just an existing project, make a third constant for buys and sells, put this at top and connect to buy/sell tree, off the yellow connect the buy and sell conditions and connect to your trees as normal. I do think tis is pointless though, either way you have to open your inputs to change so, by adding both together you are add blocks to the code for no reason.