Hey
I am in the process of writing a new EA, in which i going to have different choices on entry and closing of orders. Giving the user more flexibility.
Now to the question:
How do i best program multiple choices, i was thinking of making the variations bool type true or false
Example:
UseFixedTP = false;
(Code here)
UseTrailStop = false;
(Code here)
UsePivotPointR1 = true;
(Code here)
And making the choices external variables
Is this a viable way, or is this crap and i need to read the book again?? Help is appreciated :-)
Tut
I am in the process of writing a new EA, in which i going to have different choices on entry and closing of orders. Giving the user more flexibility.
Now to the question:
How do i best program multiple choices, i was thinking of making the variations bool type true or false
Example:
UseFixedTP = false;
(Code here)
UseTrailStop = false;
(Code here)
UsePivotPointR1 = true;
(Code here)
And making the choices external variables
Is this a viable way, or is this crap and i need to read the book again?? Help is appreciated :-)
Tut