Fill Band While Position Active
Author: mdaumer
Creation Date: 12/19/2012 11:51 AM
profile picture

mdaumer

#1
In my strategy, when the current Long Only position is active, I would like to shade the area between High and the EMAModern.Series(Close, 95). I have tried to use both PlotSeriesFillBand and DrawLine but could not achieve the desired results. I would appreciate any examples of how I might include this in my strategy.

Thanks,

Michael
CODE:
Please log in to see this code.
profile picture

Eugene

#2
CODE:
Please log in to see this code.
profile picture

mdaumer

#3
Thanks Eugene.

That's very close to what I was looking for. I doubt if I would have figured it out on my own.

Best regards.

Michael
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).