Announcement

Collapse
No announcement yet.

McClellan Oscillator

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

  • #16
    Hello Alex/Bigtee,

    Actually, TS Support wrote the first versions using open. I'm not sure why. I just stuck with the same logic in the later versions I modified. I don't see why you couldn't use close. That would actually make more sense to me. Perhaps TS Support was following a special set of instructions from the source they used when creating the first versions.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #17
      Thanks Jason and Alex. The question on the open was an afterthought. And its no problem for me to change it.

      The real question had to do with a strange behavior when I run it in real time in the Summation mode. It loads fine. Then after short time ( a minute or two) the plot line explodes upwards, or downwards and doesn't return. I am running this on an intraday chart. It doesn't exhibit this problem in the non Summation mode. And it exhibits the same problem in both simple and exponential ma's.

      Any idea why? Can you duplicate this behavior? Slap it on a 15 min chart of something and check it out.

      Thanks

      bigtee

      Comment


      • #18
        bigtee
        I have been running two charts since the open this morning (one of IBM and the other ES H5 both 5 minutes) to try and replicate the issue and I am not seeing any of that behavior.
        What is your Time Template set to? It should be set to 9:30-16:00 EST (or equivalent if in other time zone) since those are the trading times of $ADD.
        Alex

        Comment


        • #19
          My Time Template is set to 8:30-15:00 CST. Dynamic.
          I'm running it on a 15 min Chart of SMH.

          I guess I should also say I'm running v7.6R3

          bigtee

          Comment


          • #20
            Hello bigtee,

            There was an error in the summation logic. Should be like this;

            PHP Code:
            if (bSum == "On") {
                
            vOsc_ret vOsc_ret1 vOsc;
            } else if (
            bSum == "Off") {
                
            vOsc_ret vOsc;

            I corrected it in the attached.
            Attached Files
            Jason K.
            Project Manager
            eSignal - an Interactive Data company

            EFS KnowledgeBase
            JavaScript for EFS Video Series
            EFS Beginner Tutorial Series
            EFS Glossary
            Custom EFS Development Policy

            New User Orientation

            Comment


            • #21
              That explains then why I was not seeing that behavior. The version I was running already included that correction.
              Alex

              Comment


              • #22
                Thanks guys.
                I'm running the one that is not the histogram, the one in the library. As soon as that one is updated I"ll check it out. Hopefully you won't hear from me again on this one.


                bigtee

                Comment


                • #23
                  Hello bigtee,

                  The version in the Library already had the correct logic. Are you using the version below?

                  McClellanOsc2.efs
                  Jason K.
                  Project Manager
                  eSignal - an Interactive Data company

                  EFS KnowledgeBase
                  JavaScript for EFS Video Series
                  EFS Beginner Tutorial Series
                  EFS Glossary
                  Custom EFS Development Policy

                  New User Orientation

                  Comment


                  • #24
                    Jason, I am now using the one you pointed to and it is working great. Thanks.

                    Not sure where I got the one that did not work, but it doesn't matter.

                    bigtee

                    Comment


                    • #25
                      Greg
                      The attached revision of the McClellan oscillator now includes a moving average. Also added to the Edit Studies parameters is an option to plot the oscillator as a histogram or a line.
                      Alex
                      Attached Files

                      Comment


                      • #26
                        Alex, great. That's what I was getting ready to do.... add a mov ave. Saved me some work. Now if I just had the option to make the signal Ma an exponential or simple......


                        bigtee

                        Comment


                        • #27
                          McClellan OSC2

                          Alex
                          That is exactly what I was looking for.
                          Thanks a million......Greg

                          Comment


                          • #28
                            Time interval

                            Thank you for the reply with the McClellan Oscillator.

                            Is it possible to use it with a 5, 10 minute charts etc?

                            Comment


                            • #29
                              fanie
                              If you are asking if the study can be run on intraday charts the answer is yes.
                              Alex

                              Comment


                              • #30
                                McClellan

                                Thank you so much again for fast response.

                                Is it perhaps possible for you to post a 2 min and 5 min chart of the McClellan say with the ES in the main chart and the McClellan in the sub window?
                                Just want to compare to see if mine is working all right.

                                Thank you very much

                                Comment

                                Working...
                                X