extern variables

 

Hello

I want to know more about this dialogue box that shows the extern variables.

my probleme:

I want the variable LOTS to start with the value 0.01, and i don't want it to step or somthing like that...., it's configured in the EA.

This case is about my variable "LOTS":

the instruction on Init().

extern double LOTS = 0.1;

I want to be able to configure this value from this dialogue box, to choose 0.1 or 0.01, or whatever....

what is "value", "Start", "Step", "Stop", and the difference between them, and how the changes here affect the source code.


I want 0.1 to be the default value of "LOTS".

When i tested the expert without touching the dialogue box, it works, but when i tried to change the value of "LOTS" in this dialogue box to 0.01, the expert couldn't open any position.

this is what i changed.

and when i try to put the value 0.01 in the column "Start" this is what happens :

Where this 0.001 and 0.015 come from, all i want is to initialize "LOTS" with 0.01.

I'm confused and my expert too :)

Any help please ????



 
Where this 0.001 and 0.015 come from, all i want is to initialize "LOTS" with 0.01.

Initial values from the tester - put what ever range you want.

If all you want is .01, then don't check the box when using optimization