Announcement

Collapse
No announcement yet.

CCI study won't update lines when running

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

  • CCI study won't update lines when running

    This dual CCI study will not update itself when running, it only updaes when I reload or turn on the chart for the first time.
    Any suggestions?

    Thanks,

    Dave

  • #2
    Re: CCI study won't update lines when running

    Dave
    That is happening because the script is intentionally set up to not execute on the most recent bar as it uses the Strategy Object which should be used for back testing only and not for real time
    That said you could implement a few changes to the script which would allow you to run it on real time data
    Alex


    Originally posted by ddawson7
    This dual CCI study will not update itself when running, it only updaes when I reload or turn on the chart for the first time.
    Any suggestions?

    Thanks,

    Dave

    Comment

    Working...
    X