hgsl12:
i am trying to create a new chart and add objects to it.
the problem is that the objects appears on the first chart only :(
see below a code example.
why the object doesn't appear in the new opened chart?
ChartOpen
Return Value
If successful, it returns the opened chart ID. Otherwise returns 0.
You check a return code?
Karputov Vladimir:
Yes, return code is not zero, it is long number. And also a new chart is opened. But objects appear only on old chart :(
ChartOpen
Return Value
If successful, it returns the opened chart ID. Otherwise returns 0.
You check a return code?
Please check object list to see if the object exists at all .
If it exists but isn't visible then probably parameters are not set properly.
You should try
ChartRedraw(ChNum);
After creating your line.
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 am trying to create a new chart and add objects to it.
the problem is that the objects appears on the first chart only :(
see below a code example.
why the object doesn't appear in the new opened chart?