DIY8
- ago
Attached strategy of 5 regression lines and buy/sell. When I run Optimisation the Days parameter works but the Score parameter does not work.

Also could you please check the Buy and Sell script as I am not sure if it is 'peeking or not' Thanks Ian
0
294
Solved
4 Replies

Reply

Bookmark

Sort
DIY8
- ago
#1
7744-Parameters-1-pdf

Sorry needed *.pdf file
0
Cone8
 ( 6.17% )
- ago
#2
You declared double scoreThreshold in 2 places.

CODE:
//IS: double scoreThreshold = Parameters[1].AsDouble; //SHOULD BE: scoreThreshold = Parameters[1].AsDouble;
0
Best Answer
DIY8
- ago
#3
Thanks Cone - works perfectly. Any comment on the Buy/Sell script? Regards Ian
0
Cone8
 ( 6.17% )
- ago
#4
Just reviewing the code I don’t see anything that screams “peeking”.
0

Reply

Bookmark

Sort