Announcement

Collapse
No announcement yet.

2 ma that Change Price bar colro

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

  • 2 ma that Change Price bar colro

    Is there an efs that has 2 moving averages that change the color of the price bar? example 3 and a 10 moving averages. Going up green going down red.

    Thank you in advance Pbohm

  • #2
    pbohm
    The attached efs should do what you asked
    All parameters for both MAs can be modified through Edit Studies
    Alex

    Attached Files

    Comment


    • #3
      Alex, Thank you very much. Just what i needed.

      Pbohm

      Comment


      • #4
        Alex,

        I like that formula. I'm going to edit using the3,-3ma and 9ma.
        and 9ma/40ma


        I usually watch Price cross 9ma and 40ma
        and 3,-3ma cross the 9ma....your study looks to give
        the same signals.

        Thanks for posting.

        ~j

        Comment


        • #5
          Jeff
          Attached is a variation of the efs that uses 3,-3 and 9,0 MAs and colors the bars according to what I understand are your conditions.
          Alex

          Attached Files

          Comment


          • #6
            Even though the efs posted in the last message was correctly updating the MA with the negative offset there was still an anomaly in the return of the current value.
            The attached revision now includes a fix similar to the one used in this thread.
            Alex
            Attached Files

            Comment


            • #7
              The basicma2b(jj) efs posted in the prior message may cause an error when used with 7.7 beta.
              The revision attached here resolves this issue
              Alex
              Attached Files

              Comment

              Working...
              X