Alireza Rezaee:
Question is clear . i trying to create a CButton object simply like this :
But it isn't show anything in chart.Why?
Because it's size 0...
Try changing the last two values:
Comment(btn.Create(0,"btn1",0,60,60,120, 120));
Seng Joo Thio:
Because it's size 0...
Try changing the last two values:
The problem is still there.
It has nothing to do with it
Alireza Rezaee:
That shows you have another issue - move your btn declaration to global.
The problem is still there.
It has nothing to do with it
Seng Joo Thio:
That shows you have another issue - move your btn declaration to global.
That shows you have another issue - move your btn declaration to global.
Thanks so much .that was the problem.

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.
Question is clear . i trying to create a CButton object simply like this :
But it isn't show anything in chart.Why?