Thread: Drawing region

Results 1 to 5 of 5

  1. #1
    AlesGreesiubs
    Guest

    Default Drawing region

    Hi,Support and All,

    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
  2. #2
    Amindyirreday
    Guest

    Default

    Quote:
    Originally Posted by outsource View Post
    Hi,Support and All,

    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:

    http://ninjatrader.com/support/forum...atid=4&lpage=2
  3. #3

    Default

    Quote:
    Originally Posted by sledge View Post
    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:

    http://ninjatrader.com/support/forum...atid=4&lpage=2
    Hi,Sledge,

    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


    if(drawChannelArea){
    DrawRegion("regionup" + CurrentBar, 1, 0, Upper, Lower, Color.Transparent, upChannelAreaFillColor, 5);
    }
  4. #4
    antefskeefs
    Guest

    Default

    Hello,

    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.
    Jesse
  5. #5
    AngelaVeique
    Guest

    Default

    Quote:
    Originally Posted by NinjaTrader_Jesse View Post
    Hello,

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts