Forums › ProRealTime English forum › ProOrder support › Machine Learning in ProOrder ProRealTime › Reply To: Machine Learning in ProOrder ProRealTime
05/03/2020 at 4:31 PM
#129611
I can install it in demo mode tomorrow morning
Cheers, that’s kind of you but I think I have sussed it. I had used the below:
1 2 3 |
If (onmarket[1] = 1 and onmarket = 0) or (longonmarket[1] = 1 and longonmarket and countoflongshares < countoflongshares[1]) or (longonmarket[1] = 1 and longonmarket and countoflongshares > countoflongshares[1]) or (shortonmarket[1] = 1 and shortonmarket and countofshortshares < countofshortshares[1]) or (shortonmarket[1] = 1 and shortonmarket and countofshortshares > countofshortshares[1]) or (longonmarket[1] and shortonmarket) or (shortonmarket[1] and longonmarket) Then |
to get the x and y values stepping. That’s how I saved it. But with the save issues I have it loaded an earlier version today which had the following incorrect code (for this type of system) instead:
1 2 3 |
If onmarket[1] = 1 and onmarket = 0 Then optimise2 = optimise2 + 1 Endif |
Question is how can you tell in advance which code to use and whether the system will change direction with no bars on market (use longer version) or use the original shorter version?