Asign sell price to a variable
-
Hello all
I want to asign (modify) the sell price to the variable ENTRADA when a sell operation is done.
It doesnt work, but if I change the paramenters the condition below works.
What should I change to do the first work ??
Thank you
-
No, no, Terminal Variables are something completely different. Put the variable (with right-click) in Value->Numeric (Text, Boolean...), not in Terminal Variables
-
Sorry but I don´t understand-
Step one.
I want the open price of one sell trade will be stored in the proyect variable called "ENTRADA"
F.E. It means that I create "ENTRADA" with the value 1.11111 and after sell ejecution its value shoul be 1.112345. ok ???
Step two
Now I can compare with an "if" the new value (1.112345 ) stored in the proyect variable "ENTRADA"
ok ??
Anycase one simple example will be helpfull
-
Again, Terminal Variables are NOT the same as the project's Variables. https://fxdreema.com/help/-/working%20w ... 0variables
Do it like this: http://prntscr.com/8g92lo -
Ok now,
my confusion was to use terminal variable instead of global variables.
thank you
-
Imagine what was the confusion before when the name "Global Variables" was used. And they are in fact named exactly "Global Variables", just hit F3 in MetaTrader and you will see the title of the windows that will appear. Then I decided to rename them to "Terminal Variables", but people are still confused
