
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
Minus 1 all the same. I also tried to make the indicator name all small letters, also nothing.
Did you assign win_idx=1; ? Just take, and specifically set the subwindow number.
I tried it, it didn't help. Maybe it's the indicator, but the trades seem to open correctly?
I'll continue tomorrow, it's past my bedtime.
I read in the documentation that it is better to make the name of the indicator with parameters.
I did the following in the indicator:
in the Expert Advisor:
The window with the indicator is not detected.
I read in the documentation that it is better to make the name of the indicator with parameters.
I did the following in the indicator:
in the Expert Advisor:
The window with the indicator is not detected.
Clearly a problem in your code, because the test script easily finds the standard indicators that are displayed in the subwindow.
But, trades are opened and they are based on the indicator. And the indicator outputs correct values when it prints in the EA.
For some reason I think it's because the indicator doesn't have #property strict line (it doesn't work with it)
But, trades are opened and they are based on the indicator. And the indicator outputs correct values when it prints in the EA.
Somehow it seems to me that the indicator does not have #property strict line (it does not work with it)
No, it's not. Try the WindowFind() function.
Returns -1.
Look for errors. Indicators are normally searched through
intChartWindowFind(
longchart_id,// chart ID
string indicator_shortname // short indicator name, seeINDICATOR_SHORTNAME
No indicator window has been detected.