Support Board
Date/Time: Sat, 28 Dec 2024 10:16:08 +0000
Post From: Referencing to Persistent Variable by name NOT working *URGENT*
[2016-02-23 23:44:57] |
User972044 - Posts: 154 |
Refer to my previous post. I already verified this. When autoloop = 1, I couldn't see the initial value of zero for persistent variable nor the resetting of their value in the sc.Index == 0 block because my chart contained too many bars. For charts with large number of bars, it is more efficient to have autoloop set to 0. It's just funny this autoloop setting never affected me this much for the indicators that I wrote. All my custom indicator studies ran fine when autoloop = 1. Only in my auto trading programs that autoloop setting makes a difference.
|