Page 1 of 1

Indicator

Posted: Jan 04 2007
by Alexander
Hi!
Why it do not work? :(
Plot1( I_OpenEquity, "OpenEquity" ) ;
Plot2( I_ClosedEquity, "ClosedEquity" ) ;
Plot3( 0, "ZeroLine" ) ;

Re: Indicator

Posted: Jan 04 2007
by ABC
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.

  [SOLVED]

Posted: Jan 04 2007
by Alexander
ABC, thanks.