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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    182 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    334 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    259 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    358 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    188 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X