You have to add Objects.
int iChartID = ChartID ( );
ObjectCreate (iChartID, "ButtonSell", OBJ_BUTTON, iSubWindow, 0, 0);
ObjectSetInteger (iChartID, "ButtonSell", OBJPROP_XDISTANCE, 10);
ObjectSetInteger (iChartID, "ButtonSell", OBJPROP_YDISTANCE, 10);
ObjectSetInteger (iChartID, "ButtonSell", OBJPROP_XSIZE, 50);
ObjectSetInteger (iChartID, "ButtonSell", OBJPROP_YSIZE, 25);
ObjectSetString (iChartID, "ButtonSell", OBJPROP_TEXT, "SELL");
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
how do I add a button on the chartwindow
can do some thing like "Buy" "Sell"