Hi Trevor, the whole point of optimisation is to find what values work best. After you get those, they have to be inserted into the code. So in NoTrendStrategy-VARIABLES line 19 is changed from AA = period, to AA = 180
This is the value you use and you have to delete it from the optimisation box before you can run it. You didn’t say what instrument you’re working on, but for me it takes trades on US Tech 5m, for example.
For 200308-Averages-crossing-2-1, you need to add a couple of lines
ONCE MAType = MAType
ONCE MATypeV2 = MATypeV2
where you can insert the optimisation values, for example
ONCE MAType = 62
ONCE MATypeV2 = 14
or whatever it gives you.
Hope this helps.
1 user thanked author for this post.