How to code bars with crossesabove

Optuma Forums Optuma Scripting How to code bars with crossesabove

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #66549
    Deepak
    • Topics: 69
    • Replies: 59
    • Posts: 128

    Hii Sir,

    Is there a way to code bars like this as shown in attached pic with crossesabove.

    Infact i tried to use below code it as below but it didnt worked.
    Regards,
    Deepak

    #66560
    Matthew
    • Topics: 5
    • Replies: 487
    • Posts: 492

    Hi,

    You can use CrossesAbove to find bars where the close crosses above the BB Centre Line…

    Is that what you mean?

    #66567
    Deepak
    • Topics: 69
    • Replies: 59
    • Posts: 128

    Sir since the previous bar close is not below the centre line it will not show up. Nor it is showing up with the script i shared above.

    #66569
    Darren
    • Topics: 67
    • Replies: 702
    • Posts: 769

    You would need to use the previous low price below the centre line and the current close (or high if you are not concerned about the close) above. Something like this:

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest