- ago
When I open a strategy that was evolved in "Strategy Evolver" and then add weight indicator to it, I get a backtest error, "Could Not Compile Code"

I have to then convert it to code and get this message

QUOTE:
Compiled at 4/8/2023 10:00:34
37: 'RSI' is an ambiguous reference between 'WealthLab.Indicators.RSI' and 'WealthLab.MyIndicators.RSI'
126: 'RSI' is an ambiguous reference between 'WealthLab.Indicators.RSI' and 'WealthLab.MyIndicators.RSI'


Then I have to delete "using WealthLab.MyIndicators;" in the code in order for it to run a weighted backtest.

I can keep doing this, but its quicker for me to optimize an evolved strategy and make tweeks to it using the blocks vs code. Can this be changed in a future update?

Thanks!
0
377
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
No need to keep doing this, look for solution in Post #7:

Could not compile the strategy
0
Best Answer
Glitch8
 ( 11.81% )
- ago
#2
I don’t think there’s anything to change at our end. It looks like you created your own custom indicator named RSI and that’s causing a conflict. You’ll need to delete that custom indicator.
0
- ago
#3
That solved it, I don't ever remember creating a custom indicator but there one was a year ago in that folder. Thanks!
0

Reply

Bookmark

Sort