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've tried tbIsChecked but does not work. I have 2 checkboxes. I would like to uncheck DayTradechk if SwingTradechk is checked and vice versa.
if(tbIsChecked(SwingTradechk)) {tbSetChecked(DayTradechk, false);}
else {tbSetChecked(SwingTradechk, false);}
What's the problem in my code?
Good Afton I don’t understand nothing about programing. Can anyone explain to me how to do Buttons & Text fields on mt4 chart possible step by step?
Thanks in advance
Here is update about newest version 0.1.08 (which is v0.8):
Main changes are that definition of functions has been extended by hwnd as first parameter, colors are supported with all objects (text,label,button,checkbox,list). Also tbSetChecked bug has been solved. Due to many questions we have included all sample files and their dependencies (libtrade.mqh and libvisual.mqh) into .zip file.
Here is latest definition:
also tbPutObject function has been described in detail inside wiki http://www.fx1.net/wiki/pmwiki.php/MT4GUI/MT4GUIfx1.net:
- tbSetChecked does not work, I can't set checkbox status to checked in the init function
- how can I detect whether an object is exist or not? I would like to add the active trades to the chart as checkboxes but don't want to create the objects again and again.
Hello,
Where can I find the latest build? Only Version 0.1.08 is available on your homepage.
Thats new definition. Current version on server already supports that. See obj management functions. tbSetChecked has been updated to be int,int,int and third parameter 0|1 defines check state.
Using your buttons, incredible add-on for MT4.
As for setting colors, I notice the buttons are mandatory rectangular, with classic windows shading/borders.
Will it be possible in the future to change those border colors. I have buttons with images as "font" that are round, and would like to make invisible the button "behind it". Being able to set the tbBGColor is helpful, but if it will be possible also to set border tbBorderShadowColor and tbBorderHighlightColor,
or perhaps a flag to enable/disable the "3D" border aspect (i.e. to make a flat button with no visible edges, as I mentioned, using only the font text/symbol as the clickable component.
Thank you again for your work. Did you say you are creating this in C++? Wish I knew it well enough to code.
Jim Bentz.
yes such code is only doable in low level coding language like c++ and good old windows mfc. we keep developing on this project, i dont post everything here.
tx to everyone
how do you do List menu? (Screen on 21.05.2011 16:15 this thread)
How is using function: