Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Support request. Thanks...

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

    Support request. Thanks...

    Hi,

    In the below code for ( Plot0.Set ) - what symbol do i use to divide . So far I can use : + , - , * , ... The " / " symbol doesn't seem to work to divide - the chart comes back blank.. Thanks...


    double pc = OBVD ( Close , 1.68 , ShortTerm ).Pobv [0] ;
    double pe = OBVD ( Close , 1.68 , ShortTerm ) .Pbollsup [0];
    double pr = OBVD ( Close , 1.68 , ShortTerm ).Pbollinf [0] ;

    Plot0.Set( (pc - pe) * (pc - pr )) ;

    #2
    You use / to divide. If the chart comes up blank you need to look in the Control Center logs for errors. Likely division by zero or some other error.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Reply

      I'm dividing by a number less than zero ; so this is probably the problem... Is there a way around this?

      Comment


        #4
        Dividing by less than zero is not a problem mathematically. Please confirm what you see in the Control Center logs.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          reply

          Thanks for the help. I fixed the problem.. It was the on bar update setting on the main (base) indicator.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          23 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          115 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          68 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          225 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          408 views
          0 likes
          Last Post CaptainJack  
          Working...
          X