Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

need to draw a dot on an indicator in a sub-panel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    need to draw a dot on an indicator in a sub-panel

    i did several searches and couldn't find anything...
    i'm trying to draw a "signal dot" on a volume indicator in a sub-panel and i'm not having any luck - is there some line of code i need in initialize or onbarupdate to make sure the dot draws over a histogram bar in a sub-panel ?
    at the moment there is no dot being drawn - i gave the instruction as:
    {DrawDot ("GTABV"+CurrentBar, false, 1, upVolume[1] + SignalOffset, Color.LimeGreen);}

    upVolume[1] would be a histogram bar assigned a positive number in the upVolume DataSeries since the close is greater than the open of that bar
    if (Close[0] > Open[0])
    {
    upVolume.Set (Volume[0]);
    downVolume.Set (0);
    }

    forgot to mention - i do check to see if upVolume is != 0
    if (upVolume != 0 && upVolume >= Average[1])
    {DrawDot............ }

    thanks,
    w
    Last edited by stafe; 08-03-2014, 07:10 PM.

    #2
    Hello W,

    Thank you for your post.

    You will need to set DrawOnPricePanel to false in the Initialize() method: http://www.ninjatrader.com/support/h...pricepanel.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    594 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    554 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X