Reply

SQ X PROBLEM WITH CREATE NEW INDICATOR

2 replies

Filippo Cantore

Customer, bbp_participant, community, 3 replies.

Visit profile

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

 

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #235769

Hello, please re-attach zipped version of the file

0

Filippo Cantore

Customer, bbp_participant, community, 3 replies.

Visit profile

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”

Attachments:
You must be logged in to view attached files.

0

Viewing 2 replies - 1 through 2 (of 2 total)