Compile error

Questions about MultiCharts and user contributed studies.
plaforte
Posts: 75
Joined: 16 Aug 2012
Has thanked: 17 times
Been thanked: 2 times

Compile error

Postby plaforte » 02 May 2018

Hello, I am trying to move my indicators from one pc to another but it does not work on the new pc, I just copy/paste the listing of the indicator to a new indicator in powerlanguage and I get this error. (how can I post code in my message, showing as a box ?)
Thank you

------ Compiled with error(s): ------
Compile error
line 0, column 0

Value1 = Momentum(RSI(Close,14),9) + Average(RSI(Close,3),3) ;

Plot1( Value1, "Compo" ) ;
Setplotwidth ( 1, 3 ) ;

Plot2 ( 100, "100", Black ) ;

Plot3 ( 0, "0", Black ) ;

Plot4 (50, "50", Black ) ;

Plot5 (80, "80", LightGray);

Plot6 (60, "60", Red);

Plot7 (40, "40", Red);

Plot8 (20, "20", LightGray);

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Compile error

Postby TJ » 02 May 2018

See post #1 & #2
viewtopic.php?t=11713

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Compile error

Postby TJ » 02 May 2018

Please see this article

Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0)
https://www.multicharts.com/trading-sof ... lumnEnd_0)

plaforte
Posts: 75
Joined: 16 Aug 2012
Has thanked: 17 times
Been thanked: 2 times

Re: Compile error

Postby plaforte » 02 May 2018

Thank you TJ. You had informed me before about posting code I could not remember how to tag it I made a better note this time.

The topic you refer me to, I clicked your link it says ''there is currently no text in this page''.

Code: Select all

Value1 = Momentum(RSI(Close,14),9) + Average(RSI(Close,3),3) ;

Plot1( Value1, "Compo" ) ;
Setplotwidth ( 1, 3 ) ;

Plot2 ( 100, "100", Black ) ;

Plot3 ( 0, "0", Black ) ;

Plot4 (50, "50", Black ) ;

Plot5 (80, "80", LightGray);

Plot6 (60, "60", Red);

Plot7 (40, "40", Red);

Plot8 (20, "20", LightGray);

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Compile error

Postby TJ » 02 May 2018

Thank you TJ. You had informed me before about posting code I could not remember how to tag it I made a better note this time.

The topic you refer me to, I clicked your link it says ''there is currently no text in this page''.

It is a browser parsing problem. Please try it again.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Compile error

Postby sptrader » 02 May 2018

To move studies from 1 PC to another, I always use File, export, then file, import on the 2nd PC.
Much faster and easier than cut and paste that way.
Good trading.


Return to “MultiCharts”