Hi all. I am starting to learn mql5. I have a question - how to output the start indicator from Expert Advisor? For example, the standard task is to compare the readings of long and short МА and simultaneously display these МА on the screen in the terminal.
Hi all. I am starting to learn mql5. I have a question - how to output the start indicator from an EA? For example, the standard task is to compare the readings of long and short МА and simultaneously display these МА on the screen in the terminal.
Why does PositionGetDouble(POSITION_VOLUME) return the value of an already closed position? Isn't it a glitch? That is, the position is closed and PositionGetDouble(POSITION_VOLUME) returns something greater than zero. Um...
DMXX: Why does PositionGetDouble(POSITION_VOLUME) return the value of an already closed position? Isn't it a glitch? That is, the position is closed and PositionGetDouble(POSITION_VOLUME) returns something greater than zero. Err...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
You know, I'm wildly sorry, I realized, you can't change value of variable with input modifier inside mql5-program, such variables are read-only.
Yes, but how to work with them in the usual way? Well, I'll think of something...
Are there any individual variables that can be highlighted in a different colour?
sergeev:
нет.
Pity...
Hi all. I am starting to learn mql5. I have a question - how to output the start indicator from Expert Advisor? For example, the standard task is to compare the readings of long and short МА and simultaneously display these МА on the screen in the terminal.
Please advise which direction to dig.
Hi all. I am starting to learn mql5. I have a question - how to output the start indicator from an EA? For example, the standard task is to compare the readings of long and short МА and simultaneously display these МА on the screen in the terminal.
Please advise which direction to dig.
Create indicator for calculations
https://www.mql5.com/ru/forum/798/page17#comment_291772
Put it on a chart to display.
Search the forum for articles on how to create and use indicators.
Why does PositionGetDouble(POSITION_VOLUME) return the value of an already closed position? Isn't it a glitch? That is, the position is closed and PositionGetDouble(POSITION_VOLUME) returns something greater than zero. Err...