The separate window auto scales unless you set a scale . . . you most likely do have a line drawn but you can't see it . .
Try adding the following to prove the point . . .
ArrayInitialize(myData, 1.3324); // add the following 2 lines myData[1] = 1.5; myData[2] = 1.1;
Thank you,
you are completely right
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
Hello,
I can draw a chart in the indicator window with this code:
I can use iHigh, iLow, iClose etc. to generate data,
but when I try to use my own data - it fails.
To be as simple as possible this example code should produce a straight line,
but the screen is empty,
what I'm doing wrong?..