Login Page - Create Account

Support Board


Date/Time: Thu, 02 Jul 2020 06:47:21 +0000



Post From: ACSIL: simple FOR loop , very long reload and recalculate time

[2019-03-10 00:23:11]
TedMar - Posts: 166 | Ending Date: 2021-07-04
its simple, i would like made Index of all (4Redbars series) , every serie + sc.Close Price from lastbar from serie,

After save them to array i.e , access to RedBar Series Index and lastBarprice , then compare RedBarSerie[sc.index -(x)][sc.Cloese] > RedBarSerie[sc.Index][sc.Close]

may question, how is best way to made index for this comparsion?

i see in my example
myArray[sc.Index] < myArray[sc.Index - 1]
is wrong, in fact the myArray not Store Index of RedBarSeries, -1 bar is not RedBarSeries index , why?


by the way. i requested you directMessages authorization.