MultiCharts V16 Compiles SQ_* functions Errors
1 replies
David Lin
2 months ago #293009
Hi,
I imported the file C:\StrategyQuantX143\custom_indicators\Tradestation\SQ_MC.pla into MultiCharts Study Editor. (Version 4.0, Product Version: 16.0.29255.400) and MultiCharts version is 16.0 (Build 29255).
The import is fine, but when I tried to compile all, the Study Editor shows a lot of errors, and none of the SQ_ functions/signals are compiled.
For example, compile the script:
inputs:Period( numericsimple);Value1 = Minlist(Period, CurrentBar);if CurrentBar = 1 thenSQ_ATR = TrueRangeelseSQ_ATR = (((SQ_ATR[1] * (Value1 – 1) + TrueRange )) * 1000) / (Value1 * 1000);{ Force series function, since otherwise this function can verify as simple, but needs to be called at every bar to return correct results }If false then Value10 = SQ_ATR[1];The Study Editor shows:2026/3/11 PM 02:22:51
—— Build started: ——
Study: “SQ_ATR” (Function)
Please wait…
2026/3/11 PM 02:22:51
—— Compiled with error(s): ——
Compile error
line 0, column 0
Because the script are not compiled, hence I can’t use the SQ_* functions in the Study editor, because it will show I am using an unverified function.
Is there a solution to it?
Best regards,
David
0
David Lin
2 months ago #293106
Hi, I have solved the problem by setting up proper permissions to the Study folder.
0
Viewing 1 replies (of 1 total)