Time of Day or Day of week Bar Colour

Optuma Forums Optuma Scripting Time of Day or Day of week Bar Colour

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68657
    Steven
    • Topics: 9
    • Replies: 18
    • Posts: 27

    Hi All,

    I am hoping to to use the custom code for my price bars such that those bars on a intraday chart for FOREX just before market close and just after market opens are coded differently to all other bars. It’s been a whilst so apologises if there is a really simple way to do this?

    Any ideas?

    Thanks

    #68661
    Darren
    • Topics: 70
    • Replies: 829
    • Posts: 899

    Hi Steven,

    Forex markets are 24 hours so not sure what you use for opens and close, but you could try DAYNUM() <> DAYNUM()[1] as a custom colour script to highlight when the days change. We also have the Time Intervals colour scheme which will have different colours for each day on an intraday chart:
    Capture

    Will that do what you need?

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

Pin It on Pinterest