tbfa: relative to window, not to chart.
|
|
It works, thanks!

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
Hi,
I want to draw multiple letters above the chart. The problem is that the letters I am currently drawing are relative to window, not to chart. How can I change that?
This is my code :
for(int i=0; i < limit; i++) {
...
string name = "symbol" + i;
ObjectCreate(name, OBJ_LABEL, 0, 0, 0, 0, 0);
ObjectSetText(name, "H", 10, "Times New Roman", Green);
ObjectSet(name, OBJPROP_COLOR, Red);
ObjectSet(name, OBJPROP_XDISTANCE, 100 + i * 10);
...
}