Hi!
Why it do not work?
Plot1( I_OpenEquity, "OpenEquity" ) ;
Plot2( I_ClosedEquity, "ClosedEquity" ) ;
Plot3( 0, "ZeroLine" ) ;
Indicator [SOLVED]
- ABC
- Posts: 718
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: Indicator
Hi Alexander,Hi!
Why it do not work?
Plot1( I_OpenEquity, "OpenEquity" ) ;
Plot2( I_ClosedEquity, "ClosedEquity" ) ;
Plot3( 0, "ZeroLine" ) ;
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.