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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          70 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          78 views
          0 likes
          Last Post PaulMohn  
          Working...
          X