SQ X PROBLEM WITH CREATE NEW INDICATOR
2 replies
Filippo Cantore
5 years ago #235763
I tried to create a new indicator following your guide. I copied the ForceIndex indicator code and pasted it into the code editor.
in the compilation it returns me the error on this code
return Indicators.ForceIndex(Chart, Period, MAMethod, AppliedPrice).Value.get(relativeShift + Shift);
error:
“can not find symbol symbol: method ForceIndex (com.strategyquant.tradinglib.ChartData, int, int, int) location: variable Indicators of type SQ.Internal.Indicators”
What is to be done?
Thanks
tomas262
5 years ago #235769
Hello, please re-attach zipped version of the file
Filippo Cantore
5 years ago #235773
Ok, now there is. I’m tried to build one other indicator but error is always that
“can not find symbol symbol: method Square (com.strategyquant.tradinglib.ChartData, int, int, int) location: variable Indicators of type SQ.Internal.Indicators”
Viewing 2 replies - 1 through 2 (of 2 total)