Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Gom_delta for Nt8

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

    Gom_delta for Nt8

    hi, there is someone who uses GomDelta for nt8?

    link for download :

    The best futures trading community on the planet: futures trading, market news, trading charts, trading platforms, trading strategies


    I ask you how can i use it in my indicator? How i recovery it value ?

    thanks..

    if i write

    Code:
      
     protected override void OnBarUpdate()
    
     Print(BarDelta()[1));
    i see print in a screen all Zero number...(i've enable Tick Replay in data series)
    Last edited by turbofib; 02-06-2016, 10:16 PM.

    #2
    In the code you will see they do not use Plot, but create rectangles & lines for what is each bar. I think you would need to capture the values from the code below. I would think you want to capture the values yOpen, yClose, yHi and yLo

    SharpDX.RectangleF rect = new SharpDX.RectangleF(xPosition, top, width, height);

    if(yClose<yOpen) { RenderTarget.FillRectangle(rect, brushUp); }
    else if(yClose>yOpen) { RenderTarget.FillRectangle(rect, brushDn);}
    else { RenderTarget.FillRectangle(rect, brushOL);}

    RenderTarget.DrawRectangle(rect, brushOL);
    RenderTarget.DrawLine(new SharpDX.Vector2(xCenter,yHi), new SharpDX.Vector2(xCenter, top ), brushOL, 1f);
    RenderTarget.DrawLine(new SharpDX.Vector2(xCenter,yLo), new SharpDX.Vector2(xCenter, bottom), brushOL, 1f);


    John

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    5 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X