Forums › ProRealTime English forum › ProOrder support › Machine Learning in ProOrder ProRealTime › Reply To: Machine Learning in ProOrder ProRealTime
04/21/2020 at 12:28 PM
#127245
I’ve been going back through Juanj’s original code carefully: https://www.prorealcode.com/topic/machine-learning-in-proorder/page/3/#post-121130
Is line 166 and 169 (now lines 2 and 5) correct?
Original coding
1 2 3 4 5 6 |
For i2 = 1 to Reps2 Do If positionperf(i) > 0 Then WinCountA2 = WinCountA2 + 1 //Increment Current WinCount EndIf StratAvgA2 = StratAvgA2 + (((PositionPerf(i)*countofposition[i]*100000)*-1)*-1) Next |
Perhaps a little mistake, because surely it should read “(i2)” not (i), right? :
1 2 3 4 5 |
For i2 = 1 to Reps2 Do If positionperf(i2) > 0 Then WinCountA2 = WinCountA2 + 1 //Increment Current WinCount EndIf StratAvgA2 = StratAvgA2 + (((PositionPerf(i2)*countofposition[i]*100000)*-1)*-1) |