View Single Post
  #6 (permalink)  
Old 04-03-2008, 01:19 PM
DooMGuarD DooMGuarD is offline
Member
 
Join Date: Jan 2006
Posts: 30
DooMGuarD is on a distinguished road
Quote:
Originally Posted by ralph.ronnquist View Post
It's a bit of a mis-feature with MT4, that drawing is more or less locked down to use the time-price coordinate system, rather than the x-y coordinate system of screen pixels. It results in a fair few difficulties for fancy graphics, where one is that it's quite hard to control the shape of drawn objects.

If you want to keep your hair, then forget about it; I think you'll do better using text labels rather than drawn objects.
I do not agree... the work is the same... the function for draw in chart window or separate window do not different, only (i think) change the handle of out window (see Microsoft Windows programing for understand)... or course the universe of time-price... but the convert universe function is the same (theory)...

when you draw a ellipse object, you can control the circle format when you set then OBJPROP_SCALE see my code bellow

PHP Code:
ObjectCreate(NamA,OBJ_ELLIPSE,Window,StartBar,MediamPrice,EndBar,MediamPrice);
ObjectSet   (NamA,OBJPROP_SCALE,Scale);
ObjectSet   (NamA,OBJPROP_COLOR,ColorDown);
ObjectSet   (NamA,OBJPROP_WIDTH,1);
ObjectSet   (NamA,OBJPROP_BACK ,False); 
in this case, the only change is Window for chart is 0 and separeta id > 0...
__________________
Charles Adriano
---------------------------
sorry, sorry, sorry for my English...
Reply With Quote