Support Board
Date/Time: Thu, 06 Mar 2025 13:01:04 +0000
Post From: Study only Accurate/Visible after Full Calculation ?
[2022-01-30 08:19:39] |
SelimEker - Posts: 13 |
Thank you for the answer. I already went through this reading before, and after reading it again I sadly do not find the solution. Im so sorry for being annoying/needy... As you can see AutoLoop was already stated as =1 in the code above, I really want to keep away from the pain of doing manual looping... especially when AutoLoop should work just fine. I saw that in the first link the example provided with a different way of getting the Highs and Lows of the bar (with sc.BaseData[SC_HIGH][sc.Index]) which i tried but had no impact. UPDATE: On my quest of debugging I activated DrawZero to true, and when replaying the chart my study is drawing a constant line at zero... then when the replay stops the values become correct. Could it be the float temporary variable that are not updating ? Or is it linked to the global variables ? I tried replacing the global variables by persistent ones --> Same result. Date Time Of Last Edit: 2022-01-30 14:15:26
|