John Carter coloured momentum candles

Forums ProRealTime English forum ProBuilder support John Carter coloured momentum candles

  • This topic has 8 replies, 3 voices, and was last updated 1 year ago by avatarAlfy.
Viewing 9 posts - 1 through 9 (of 9 total)
  • #209701

    Good morning guys, I’m trying to colour the candlesticks in my charts using a momentum indicator and although it is working

     

    on the monthly and weekly charts, on the daily charts its doing something strange with all the prices squashed. Can someone take a look at my code and let me know what I’m doing wrong please?

    Best regards and thank you

     

    #209707

    Appears to works fine on mine?

    See attached on Monthly Chart

    #209709

    yep, works on weekly too but not on daily chart

    #209710

    Works fine on Daily Chart on mine, I checked up to 100K bars … very colourful! 🙂

    1 user thanked author for this post.
    #209711

    Strange, ok, thanks for the feedback

    #209717

    Maybe your scale on your daily chart isn’t set up the same way as in the other charts, you can check with right click on price scale on right margin, then in the menu pick the one at the end about “configuration of the zone” (not sure the exact english name of it), then as in attached image you are in “scale” menu (left side) and on the right side of the panel check the box about using price only is checked, it will avoid making visible the values 1 to 4 of the returned “colour” variable of your indicator added to price, assuming it was that kind of squashing.

    Maybe it wasn’t the problem at all, but the absence of screen capture also means absence of clues for those willing to help, we have to make hypothesis of what “squashed” means in the first place before wondering what might have done this. So maybe I got the wrong “squash”, and the wrong solution…

    1 user thanked author for this post.
    #209721

    All fixed. If interested please see attached fixed code.

     

     

    #209732

    values 1 to 4 of the returned “colour” variable of your indicator

    To close the loop and so we all know for future on similar ‘squashings’ 🙂 … the amended code has removed the refs to colour 1 to 4.

     

    1 user thanked author for this post.
    #209734

    thanks so much for all your help!

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login