Choose between two types of BUY/SELL order
-
Hello,
I would like to know how I integrate the choice in my EA of two types of BUY/SELL.
I would like to choose between "Fixed volume" and "% of equity", to have the choice on my MT4 platform to choose.
Thnaks a lot!
Bag
-
@bagheria You can do it with logiic variables like this:
https://fxdreema.com/shared/btF5RWouc
You need to select just one of those input parameters and leave the other one as 0 Otherwise you will get 2 open trades at the same time.
-
Thank you very much. It seems to be good. But how can I change the inputs names? Cause I have inp0-xxx inp1_xxx
Thank you
-
@l-andorrà Thanks but finally it doesn't work. I think my connections are not good. Please find my project. Can you tell me what is wrong please?
Thanks
-
I worked again on it and it works now
Thanks
-
@l-andorrà Dear,
Orders opened but I don't know why it open always 0.01 lots. My inputs are at 1.0!!!

-
@bagheria Please look at blocks 6 and 44. There you will see lot size is 0.01.