
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
I tried to transfer the EA code to the script.
The lines overlapped in the script, I do not understand why they do not work in the Expert Advisor?
Who has managed to draw objects in the sub-window of the chart when starting visualization of the Expert Advisor?
I tried to transfer the EA code to the script.
The lines overlap in the script, I don't understand why they don't work in the EA?
Who has managed to draw objects in the sub-window of the chart when starting visualization of the Expert Advisor?
Specify the indicator subwindow number in which you are going to draw.
This way it gives out -1 in the EA. In the script, everything is fine, the picture above. I read your article about AD indicator, a lot of times, I don't understand it yet. As always the reason is in some small thing.
As far as I understand, the window is not detected in the EA for some reason, error 4206.
This way it gives out -1 in the EA. In the script, everything is fine, the picture above. I read your article about AD indicator, a lot of times, I don't understand it yet. As always the reason is in some small thing.
As far as I understand the window is not detected in the EA for some reason, error 4206.
The indicator window needs time to be created. In the indicator window, you can draw not earlier than the first call of OnCalculate(). Do you want to draw everything in OnInit()?
Here is the code in the EA.
There is a line in the indicator itself:
IndicatorShortName("fraktalSDV");
This way it gives out -1 in the EA. In the script, everything is fine, the picture above. I read your article about AD indicator, a lot of times, I don't understand it yet. As always the reason is in some small thing.
As far as I understand the window is not detected in the EA for some reason, error 4206.
It does not find the indicator subwindow. Look for the indicator subwindow by the short indicator name - the one you see at the top-left of the indicator window. You probably don't put in the whole name to search for it.
string shortName="fraktalSDV";
I call it this way. I tried to call the name of the indicator in the Expert Advisor and unset it, it didn't work so far.
Here is the indicator itself. I will delete it later.
string shortName="fraktalSDV";
I call it this way. I tried to call the name of the indicator in the Expert Advisor, it did not work so far.
Try in
I should not put the search of the indicator window, but one (is there only one window on the chart?)
If it works, then return the window search to
type in
Try to
enter one instead of the indicator window search (is there one window on the chart?)
At the top is the chart itself with the quotes and at the bottom in the separatum is the indicator.