Switch Function

Optuma Forums Optuma Scripting Switch Function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68865
    Deepak
    • Topics: 85
    • Replies: 71
    • Posts: 156

    Hii Sir,

    I am using switch function to see when the highest close happen after 20 day low close. But when i use training mode to see the script it requires painting of next bar to validate if its true. Can u please tell what i am missing. As you can see there is no show bar in below image highlighted in red. But as soon as next bar is printed Show Bar appears after printing of next bar.Show Bar appears after printing of next bar No Show Bar

    #68885
    Matthew
    • Topics: 5
    • Replies: 631
    • Posts: 636

    Hi,

    I think this is to do with how SWITCH() works with offsets in training mode.  We’ll take a look and If will see if we can make an adjustment in the 2.1 update.

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

Pin It on Pinterest