Announcement

Collapse
No announcement yet.

Color bars on study

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

  • Color bars on study

    Hi I'm trying to amend the following EFS with little progress.

    I'm looking for the pricebars to change color when the "DTI_Trade" (grey astrix) hits the red line instead of the actual cross thru it.

    I have attached a chart which i hope can illastrate what i mean along with the EFS.
    Attached Files

  • #2
    Chart here
    Attached Files

    Comment


    • #3
      Thanks for your reply but....i dont think i explained myself very well.

      What i am looking for is for the bar color to change when the zero line is signaled by the astrix. If the next astrix in back to the signal line i need the bars to go back to that color...i.e. red if below the zero line / green if above.

      Hope this helps.

      Comment


      • #4
        After I saw the chart I realized what I had written was incorrect.

        This efs will draw a red bar the first time the DTR_Trade=0 and a green bar the first time the DTR_Trade is not equal to 0.
        Attached Files

        Comment


        • #5
          This may still be messed up, but I think it is closer to what you were looking for
          Attached Files

          Comment


          • #6
            Thanks again David but code not quite right yet.

            Here is another chart showing where the bars color should be changing.

            The bars should always either be RED or GREEN. I have made boxes as examples of where the changes should be. Hope it helps in pointing out how this should work.

            Thanks again for you help.
            Attached Files

            Comment


            • #7
              abbers
              The attached efs may do what you asked
              Alex

              Attached Files

              Comment


              • #8
                Thats it !!

                Many thanks for your help.

                Comment

                Working...
                X