Announcement

Collapse
No announcement yet.

Color price bar

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

  • Color price bar

    Is there a way to color price bars from custom volume efs?

    thank you

  • #2
    bohmlimo
    The enclosed image shows an example of how to modify the script to accomplish what you want.
    Apply the same logic to the section that modifies the colors when the Source is "Volume"
    Also you need to add a setColorPriceBars(true); statement in the preMain() function.
    Alex

    Comment


    • #3
      Thank you Alex!

      Comment


      • #4
        Alex, iam not sure, here is the code could you please help

        Thank you
        Attached Files

        Comment


        • #5
          bohmlimo
          The error message is due to a missing close curly bracket (shown circled in red in the enclosed image) which ends the if(Source=="Price") conditional statement
          Alex

          Comment


          • #6
            Alex, thank you again

            Comment


            • #7
              bohmlimo
              You are most welcome
              Alex

              Comment

              Working...
              X