
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
However, the open orders are left to their own devices...
I would like the EA not to place new orders at a certain time, but to accompany the open orders.
I presume that you will be able to disable/disable the formation of a signal at a certain time.
Please advise how to do this.
I remember I.Kim had such time functions: https://www.mql5.com/ru/forum/131859 - p.9
isTradeTimeString - Returns the flag allowing to trade by time.
isTradeTimeInt - Returns the flag to allow trading by time.
To make sure that open orders are not "left to chance", the condition if (isTradeTimeString()==false) { ... only be used for opening positions. Do not use this function (this condition) for all other actions (trailing, modification, position closing).
Remove comments
Greetings all.
My indicator draws several lines in a separate window. For example - MA of two currencies. And also the line of their difference.
I manually "hang" this indicator in the terminal in the "First indicators data" mode to another indicator, e.g. Bonds or Envelope.
I need this second indicator to "hang" exactly on the difference line - buffer BufW,
Please advise - how can I specify it in the code programmatically? In order to "hang" any other indicator in the "First indicators data" mode to choose strictly the line of difference in the buffer BufW?
At the moment, the second indicator constantly "hangs" on the MA line of the first symbol Buf1.