stfl / backtestd-expert

8 stars 4 forks source link

continuation trades are not working #5

Open stfl opened 3 years ago

stfl commented 3 years ago

Problem

The logic to detect continuation trades does not work.

Solution

Implement a separate state machine for continuation trades that only considers the continuation indicator. For example the two MACD lines shall not cross above 0 to give a continuation signal. Does it have to cross twice below 0?

depends on #6