
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 cant seem to set the Fibo levels once I draw it using code. I am on Version 4 Build 224
ObjectCreate ("MyFibo", OBJ_FIBO,0,left, bottom, right,top)
ObjectSet("MyFibo",OBJPROP_FIBOLEVELS,4);
The above 2 lines work fine.
The below lines for setting the Level and Description do absolutely nothing.
Can someone let me know what I am doing wrong here.
ObjectSet("MyFibo",OBJPROP_FIRSTLEVEL+0,0.382);
ObjectSet("MyFibo",OBJPROP_FIRSTLEVEL+1,0.50);
ObjectSet("MyFibo",OBJPROP_FIRSTLEVEL+2,0.618);
ObjectSet("MyFibo",OBJPROP_FIRSTLEVEL+3,0.854);
ObjectSetFiboDescription( "MyFibo", 0,"38.2");
ObjectSetFiboDescription( "MyFibo", 1,"50.0");
ObjectSetFiboDescription( "MyFibo", 2,"61.8");
ObjectSetFiboDescription( "MyFibo", 3,"85.4");