Class EmaCrossStrategy

java.lang.Object
com.quantfinlib.backtest.strategies.EmaCrossStrategy
All Implemented Interfaces:
TradingStrategy

public final class EmaCrossStrategy extends Object implements TradingStrategy
EMA crossover: buy when the fast EMA crosses above the slow EMA, sell on the reverse cross.