
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
It was a model. In Expert Advisor the function is executed on a new weekly bar, new indicators are created and mathematics is done. Then it has to be cleaned up... So, when you switch on the IndicatorRelease line it almost freezes.
There are two lines in OnTick:
in the log we have on every tick:
2011.10.29 17:46:38 2011.10.10 00:00:00 Alert: 4202
2011.10.29 17:46:38 2011.10.10 00:00:00 Alert: -1
if done like this:
in the log we have:
2011.10.29 17:48:08 2011.10.10 00:00:00 Alert: 0
So, trying to find an object generates an error about its absence?)
There are 2 lines in OnTick:
From the help for the object search function
Returned value
If successful, the function returns the number of the subwindow (0 means main chart window) where the found object is located. If no object is found, the function returns a negative number. To get additional information about the error, call GetLastError() function.
Vi pravi.Zabil tut vstavitj,i kak variant vozmozhno dealil v originale.Proverju.
Use the rule:
Если я использую IndicatorRelease(), значит я совершаю огромную и концептуальную ошибку.
Use a rule of thumb:
Если я использую IndicatorRelease(), значит я совершаю огромную и концептуальную ошибку.
I have a question about positions and transaction history.
There is a current position which has been formed by several trades. Using this position's identifier, we can request the transaction history of only this position. If the position was not closed, but changed its direction, for example, from Long to Short, then it is the same position? And accordingly I will receive the history of deals from the beginning, i.e. when the position was Long?
From the help on the object search function
How do I open a Championship account in MT?
Participant login is the login, but what is the password for the investor?
Thank you.
How do I open a Championship account in MT?
Participant login is the login, but what is the password for the investor?
Thank you.