Lead me How-To create Custom Enumeration
-
I was looking for a guide here (I can't find any), how to create your own, custom enumeration say,
I have 3 types of methods of buy/sell
Option 1, Option 2, Option 3
I wanted to minimize parameters in settings by setting 3 options only.
-
@tmd1 I only know of enumeration in indicators but do not think can be added to an FX EA, you can set up conditions for different types for a sell/buy.
-
enum order_procedures
{
FIX, // option 1
EQUITY, // option 2
MARTINGALE // option 3
};input order_procedures InpDrawProcedures = FIX; // Drawing procedures
-
-
@jstap so you think this codition would work properly?
i have same issue while creating martingle modes. so by doing this we can add string constant and we have to put any value from 3 options it will match from all three conditions and execute one only . ? -
I thin so, add a shared link or pictures to see exactly what you are doing