- ago
"Back Test Error: Could not compile the strategy" on some strategies that were working fine a few minutes ago. Some out of the box types. Some other strategies work fine.
Here's the error message using the Conneors RSI2...The "block" strats using RSI seem to be the only ones not working. RSI strats using c# work fine.



0
547
Solved
8 Replies

Reply

Bookmark

Sort
- ago
#1
You should attach images to the post by clicking "Image", not to third party services like some ibb.co where they will die away in a short while. I removed your link and uploaded the file correctly.
0
- ago
#2
1. Wonder if you restarted WL8 then and error went away?

2. If not, try to recreate strategy. Perhaps your saved copy is flawed. Of course I cannot repro the compile error with the blocks provided.
0
- ago
#3
Tried closing program and rebooting. Neither corrected the error.
Tried creating a variety of RSI strategies from "blocks" and the error message remains the same
As far as I can tell the problem only happens with RSI in any variation I could think of using blocks. RSI strategies using C# work fine.
Tried various other indicators including StochRsi and Rocket RSI with no problems.
0
Glitch8
 ( 9.89% )
- ago
#4
If you "Open as C# Coded Strategy" (from the Strategy window toolbar) does the converted Strategy that opens in a new window then run? This is puzzling!
0
Cone8
 ( 24.80% )
- ago
#5
Please post an image of the Strategy Settings. There could be a clue there.
0
- ago
#6
Ran the RSI Connors strategy as C#...
Error message said, " Failed to create strategy from code"
Compiled at 1/5/2023 05:29:16
26: 'RSI' is an ambiguous reference between 'WealthLab.Indicators.RSI' and 'WealthLab.MyIndicators.RSI'
84: 'RSI' is an ambiguous reference between 'WealthLab.Indicators.RSI' and 'WealthLab.MyIndicators.RSI'



Settings look ok to me and work correctly on other strategies.



0
Glitch8
 ( 9.89% )
- ago
#7
It looks like you might have created a Custom Indicator named RSI which is causing the conflict. Check your Custom Indicators folder at the bottom of the indicators tree and delete it, then restart WL8 and see if this helps.
1
Best Answer
- ago
#8
Bingo! Thanks everyone..
1

Reply

Bookmark

Sort