DROPDOWN MENU TO USE LOTS OR MM
2 replies
josecort_trader
6 years ago #197866
Hello
How can I create a dropdown menu where I can choose between Lots or %Risk for each trade?
My target is to use the same EA with the option to choose Lots or %Risk for the trades.
THANKS
tomas262
6 years ago #197887
Hello,
the dropdown could be done but there is much easier way to do this i.e. by creating two separate “enter order” rules. One will use fixed lot size while the other one will use %risk for an entry order. They will be distinguished by a input variable called for example “usePercentRisk”. If usePercentRisk = 0 the first condition becomes valid, if usePercentRisk = 1 the other one becomes valid. Let me know if you need an example on this or if you have any other questions
josecort_trader
6 years ago #197898
Viewing 2 replies - 1 through 2 (of 2 total)