View Full Version : Drawing region
could you please provide an example on how to draw a region until conditions change.Let`s say,for a channel until upper or lower band breached?
could you please provide an example on how to draw a region until conditions change.Let`s say,for a channel until upper or lower band breached?
Thank you
ok-- this now makes more sense with this post here:
http://ninjatrader.com/support/forum...d.php?p=431124
There are plenty of examples in the NT7 indicator forum here.
Here's one such example:
i use exactly the same drawregion command as per example you`ve provided,but it doesn`t shade the bands according to the signal.It does shade for the bar[1] and bar[0] only,and not between signals
There is another example on the forum called SMARegions which contains logic for signals.
http://ninjatrader.com/support/forum...d=4&linkid=491
This draws a region and is based on a single condition in which sets two bools BreakOut and BreakDn.
Depending on which bool is activated, the Regions are drawn for the period of bars in which that bool remained active.
I look forward to being of further assistance.
There is another example on the forum called SMARegions which contains logic for signals.
http://ninjatrader.com/support/forum...d=4&linkid=491
This draws a region and is based on a single condition in which sets two bools BreakOut and BreakDn.
Depending on which bool is activated, the Regions are drawn for the period of bars in which that bool remained active.
I look forward to being of further assistance.
Thanks,Jesse,
but it still not shading the area properly,but shading it sort by chunk - randomly.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.