Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bollinger on OBV ?

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

    #16
    Originally posted by T2020 View Post
    That is more detailed . All the numbers are positive on the output window and
    OBV itself is a very negative number on this chart . Seems to me that :

    Middle.Set(OBV(SMA(Period))[0]);
    Should be :
    Middle.Set(SMA(OBV(Period))[0]);

    But that won't compile . So , ???
    Middle.Set(SMA(OBV(obvPeriod),smaPeriod)[0]);

    Comment


      #17
      I am even less knowledable than T2020 on adjusting existing code to modify an indicator, but I do find his idea regarding OBV interesting.

      In the most recent change suggested, wouldn't we have to somehow define obvPeriod and smaPeriod somewhere.. I mean they don't exist in that syntax anywhere else yet in the indicator script, do they?

      Thanks for any help,
      Randy

      Comment


        #18
        Originally posted by roonius View Post
        Middle.Set(SMA(OBV(obvPeriod),smaPeriod)[0]);
        Another piece of the puzzle .Thank you . But , since it won't compile
        I'd have to say randyjb is right . Which might be the last problem to correct.

        Comment


          #19
          Originally posted by randyjb View Post
          I am even less knowledable than T2020 on adjusting existing code to modify an indicator, but I do find his idea regarding OBV interesting.

          In the most recent change suggested, wouldn't we have to somehow define obvPeriod and smaPeriod somewhere.. I mean they don't exist in that syntax anywhere else yet in the indicator script, do they?

          Thanks for any help,
          Randy
          I just wanted to show what is wrong in the code. You can use
          Middle.Set(SMA(OBV(Period),Period)[0]);

          Comment


            #20
            I only did the middle line as a test . Is there a minor change needed ?
            Attached Files

            Comment


              #21
              Originally posted by T2020 View Post
              I only did the middle line as a test . Is there a minor change needed ?
              my mistake... OBV has no parameters:

              Middle.set(SMA(OBV(), Period)[0]);

              Comment


                #22
                Originally posted by roonius View Post
                my mistake... OBV has no parameters:

                Middle.set(SMA(OBV(), Period)[0]);
                Thank you roonius and all for the help . I had to set the indicator to 15000
                standard deviations ,but it plots and if there's anything to be done about
                that I'll repost it . Randyjb , I guess you got it working ? I'm signing off for
                today . Thanks again all .
                Attached Files

                Comment


                  #23
                  Moving average????

                  Very interesting indicator.......I noticed that some type of moving average was used with the OBV Bollinger...was this part of the zip file??? or was this added?? When using this indicator do most use the moving average or do most use the midline of the Bollinger band to determine trend direction of the OBV??? Any thoughts or trading ideas with this indicator is appreciated.....as I have said, very very interesting and useful indicator.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  633 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  364 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  105 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  567 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  568 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X