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.