Indicator  [SOLVED]

Questions about MultiCharts and user contributed studies.
Alexander

Indicator

Postby Alexander » 04 Jan 2007

Hi!
Why it do not work? :(
Plot1( I_OpenEquity, "OpenEquity" ) ;
Plot2( I_ClosedEquity, "ClosedEquity" ) ;
Plot3( 0, "ZeroLine" ) ;

User avatar
ABC
Posts: 524
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 295 times
Contact:

Re: Indicator  [SOLVED]

Postby ABC » 04 Jan 2007

Hi!
Why it do not work? :(
Plot1( I_OpenEquity, "OpenEquity" ) ;
Plot2( I_ClosedEquity, "ClosedEquity" ) ;
Plot3( 0, "ZeroLine" ) ;


Hi Alexander,

you'll recognize that the reserved words "I_OpenEquity" and "I_ClosedEquity" are shown in red color in the compiler (2.0.717.1171 Beta). This means that they are not fully implemented in the current MC version and therefore don't work.

A possible workaround would be to use "OpenPositionProfit" and "NetProfit" inside your strategy and make those values available for your indicator for example using EL Collections.

Alexander

Postby Alexander » 04 Jan 2007

ABC, thanks.


Return to “MultiCharts”