[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 482
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
But what's in there? Because I've been looking at it for 15 minutes... Yeah, maybe there's something simple I can't see!
Sorry, what is it? The OrderSend function works for me, while OrderClose is showing off!
Thank you very much for the previous answers. Everything works and almost everything is clear... Now about that "almost".
1. In which line (see attached file for indicator) is there an indication that the Line calculated on the array data should be displayed in the Client Terminal window?
2. Why is the IndicatorBuffers function needed (or rather, in what situations should it be used), if the number of buffers can be declared as a string
Thanks in advance for the answer
#property indicator_buffers 3 //объявляем количество буферов
this string you declare the number of indicator buffers visible in the terminal
this string you declare the total number of buffers used by the indicator for calculations (3 visible and 1 hidden)
if you don't need any additional buffers, you don't need this string
The number of buffers cannot exceed 8 and should be less than the value specified in the indicator_buffers property. Here is a good example.
It fouls like this 2012.11.01 11:31:00 AUDUSD,M15: strela1<strela2&&SELL==0&&BUY!=0 129
ERR_INVALID_PRICE 129Incorrect price It hasn't happened before for years! Didn't happen yesterday either
Good morning! Tell me, do the ask and bid prices really need to be normalized? Because I have this
It fouls like this 2012.11.01 11:31:00 AUDUSD,M15: strela1<strela2&&SELL==0&&BUY!=0 129
ERR_INVALID_PRICE 129 Incorrect price Never happened before!!! Didn't see it yesterday either.
Good morning! Do the ask and bid prices really need to be normalized?
It fouls like this 2012.11.01 11:31:00 AUDUSD,M15: strela1<strela2&&SELL==0&&BUY!=0 129
ERR_INVALID_PRICE 129 Incorrect price It hasn't happened before for years! It wasn't yesterday either
Not always like this...
"" Incorrect bid or ask price, possibly non-normalized price. You need to refresh the data after a delay of 5 seconds or more using the RefreshRates function and try again. If the error persists, it is necessary to stop all trading attempts and change the program logic."" "FROM DOCUMENTATION".
If on demo or real - it will not work. You very often try to open two orders in a row. This will work in the Strategy Tester. You would need a delay between orders opening.
Thank you!!! Put in the normalisation... And damn-what the hell is going on at all!!!!!! My head's on fire. Seems easier than high school geometry.