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 argusthome, 03-08-2026, 10:06 AM
          0 responses
          91 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          31 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          34 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          69 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X