period to determine buy or sell positions. MACD (MACD < SignalMACD;
MACD < 0; MACD < Previous1 Close < Previous2 Close), a buy position
is
opened and existing sell position is stopped. If MACD (MACD >
SignalMACD; MACD > 0; MACD > Previous1 Close > Previous2 Close), a
sell positon is opened and existing buy position is stopped. For each
opened position (buy or sell), the equity is tested for each candle,
if the equity is below t…