Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 09:45:00 +0000



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

[2019-03-10 00:23:11]
TedMar - Posts: 189
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.