- ago
If I drag an UCI indicator to a chart and go "Push dropped Indicators to new C# Strategy" it generates code which does not compile:

CODE:
indicator = new UCI(bars.Close,25,12);


compiling results in this message:

CODE:
21: 'UCI' does not contain a constructor that takes 3 arguments


The same happens if Evolver picks an UCI indicator...


0
148
Solved
6 Replies

Reply

Bookmark

Sort
- ago
#1
Very similar story with:
* RSS
* BearPowerVG
* RelativeDailyMACD
* SVEHLZZperc
* CandleCode


0
- ago
#2
Thanks, I'll get this fixed for B30.
0
- ago
#3
* RSS ✔️
* BearPowerVG ✔️- BullPowerVG is broken too
* RelativeDailyMACD ✔️
* SVEHLZZperc ✔️
* CandleCode 🚫- nope, this one's OK
0
- ago
#4
Done.
0
Best Answer
- ago
#5
If I drag CandleCode I get this C# code:

CODE:
ind1 = new CandleCode(bars);


which produces this compiler message:

CODE:
15: There is no argument given that corresponds to the required formal parameter 'period' of 'CandleCode.CandleCode(BarHistory, int)'



0
- ago
#6
OK, I confused it with some other Relative* indicator. Indeed CandleCode was broken badly and it's fixed for B30.
0

Reply

Bookmark

Sort