Shading between trendlines created with DrawLine
Author: sedelstein
Creation Date: 11/18/2014 10:03 AM
profile picture

sedelstein

#1
I'm sure this question has come up but I didn't find it via search

I am using drawline to draw upper and lower lines. I'd like to shade the area between them (e.g. not the whole bar or background)

Can you point me to an example?

Thanks
profile picture

Eugene

#2
It may be done using DrawPolygon, for instance:

Rectange trading system (Acme R)
ActiveTrader 2008-09 | Top Stop exit (Counter-trend)
Support and Resistance Zones

The idea is that you pass a double[] array that contains series of bar and price coordinate pairs to build your polygon. For example, 8 double values can create a square.
profile picture

sedelstein

#3
Thanks
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).