Nevermind my post, I found the problem why a rectangle isn't showing up. It's supposed to be
ObjectCreate(0, PanelBase, OBJ_RECTANGLE_LABEL, 0, 0, 0);
not
ObjectCreate(0, PanelBase, OBJ_RECTANGLE, 0, 0, 0);
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'm attempting to create a simple panel on the chart with an EA. It's my first time to create one by the way.
My first step was to create a simple rectangular object but it doesn't seem to show up in the chart when the EA is initialized. I could create buttons and labels but the rectangular object does not seem to be visible in the chart (although it exists in the object lists). Please help me see what could I have been doing wrong or what could have been lacking.
Thanks in advance!