Creating Trendlines New comment [Deleted] 2009.11.30 19:52 I have built an indicator, call it S, and am trying to draw the path that it takes which should be similar to adding a moving average to a chart. The chart will be a 5 minute chart. I’ve tried the following but it doesn’t seem to work: ObjectCreate("Line",22,0,0,S); ObjectSet("Line",OBJPROP_COLOR,LimeGreen); ObjectSet("Line",OBJPROP_WIDTH,3); Any ideas on how to solve? thx Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. Drawing Trend Line in separate indicator window causing issue Add free ( manual ) Trend Line to indicator window meikel 2009.11.30 20:30 #1 ObjectCreate("Line",22,0,0,S); that creates a Object called "Line", type=22=Arrow, in window nr 0 (main window), at time1=0, at price=S i suggest you read the docs again describing the object functions ;-) New comment
I have built an indicator, call it S, and am trying to draw the path that it takes which should be similar to adding a moving average to a chart.
The chart will be a 5 minute chart. I’ve tried the following but it doesn’t seem to work:
ObjectCreate("Line",22,0,0,S);
ObjectSet("Line",OBJPROP_COLOR,LimeGreen);
ObjectSet("Line",OBJPROP_WIDTH,3);
Any ideas on how to solve? thx