Announcement

Collapse
No announcement yet.

I need help with an EFS

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

  • I need help with an EFS

    Hi,

    Can anyone help me to write the code for Price Oscillator: when PO makes a new high or new low for N bars (optional) it shows histogram in a different color.

    See example:



    Any help would be greatly appreciated.

    Thank you!

  • #2
    Maxus
    The example did not make it through. You may want to try again.
    Alex

    Comment


    • #3
      Oops...

      Curiously, I can't attach my example file...

      Comment


      • #4
        Maxus
        The file size may be too big. Try reducing it.
        Also look at the efs in this post as I think it could be used to do what you are looking for. In that example the study used is the ADX but it can be easily substituted with the Price Oscillator (or any other study for that matter)
        Alex

        Comment


        • #5
          Alex, thank you for advice but meant a little different thing

          See example

          Comment


          • #6
            Maxus
            What are the conditions that change the colors of the histogram in the image you posted?
            Alex

            Comment


            • #7
              Alex, I don't know exactly which criteria on my example chart (I found it on the internet) but I would like for Oscillator to change color when it makes a new high/low for N (ex. 100) bars.

              I would appreciate any tips!

              Comment


              • #8
                Maxus
                Try the attached efs (which btw is based on the one I indicated in the link in my prior message).
                All parameters for the Oscillator and the lookback period (default is 100) can be modified through Edit Studies
                Alex

                Attached Files

                Comment


                • #9
                  Alex!

                  It is exactly what I need. I will continue study EFS...

                  Thank you very much!

                  Comment


                  • #10
                    Maxus
                    The pleasure is mine
                    Alex

                    Comment

                    Working...
                    X