Switching auto lot and fixed lot
-
Hi,
I would like to add a switch to my EA for changing between auto lot and fixed lot. The attached picture is from a commercial EA, and I would like to create something similar. Is this possible?
Best regards,

-
In your picture is a bool constant, create an enum constant so you have the choice rather than true/false, the link will give you an idea of how to make it (import back into FX to see the constants): https://fxdreema.com/shared/AH0vfR3L


-
Hi, Thank you for your reply. I apologize for the delayed response. I’ll study your idea and try to implement it in my EA. Thank you again.