External input MT5: Sell mode and Buy mode
-
I made an EA in FxDreema that is only set up for buy trades. How can I create an input to be able to choose from outside whether I want it to be in sell mode or buy mode?
-
You need to create a boolen type input parameter chosing buys or sells. Then you simply turn ON/OFF those blocks acdingly dfrom the on init tab.
-
Thank sir

-
I need visual example please
-
@carlosseverinocs97 You can see it here for a buys only example:
https://fxdreema.com/shared/jvWNsJN3c
Please notice that blocks ID 2 is surrounded by a red line. This means it is turned off. To do that, you need to right click on the block select the 'On/Off' option.
-
Done
thank -
You're welcome.