PDA

View Full Version : Looking for a "two colored" line


toulouse-lautrec
06-25-2009, 04:33 AM
I would like to draw lines which are proportionally colored, e.g. 50% of the line painted in blue and the other 50% in red. (Ensign has this and its called "Extend ahead" where it lets you apply an extension multiplier). I have attached a picture to make it a bit more clear hopefully.

Has anyone written an indicator for this or anything similar? Any help kindly appreciated.

(And yes, i know itīs officially not supported ... lol)

NinjaTrader_Bertrand
06-25-2009, 05:56 AM
toulouse-lautrec, unfortunately I'm not aware of a study already implementing this - have you tried replicating this look with two joined DrawLines of different colors? - http://www.ninjatrader-support.com/HelpGuideV6/DrawLine.html