PDA

View Full Version : Drawing region



amandaeh4
02-07-2017,
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?

amediaduM
02-08-2017,
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:

AmeliastiVy
02-10-2017,
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

anaeseGaf
02-11-2017,
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.

Andrewjoxia
02-13-2017,
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.