/** * Constructor. * @param first the first indicator * @param second the second indicator */ public CrossedDownIndicatorRule(IIndicator <decimal> first, IIndicator <decimal> second) { _cross = new CrossIndicator(first, second); }
/// <summary> /// Constructor. </summary> /// <param name="first"> the first indicator </param> /// <param name="second"> the second indicator </param> public CrossedDownIndicatorRule(IIndicator <Decimal> first, IIndicator <Decimal> second) { _cross = new CrossIndicator(first, second); logger = LogWrapper.Factory?.CreateLogger <CrossedDownIndicatorRule>(); }
/** * Constructor. * @param first the first indicator * @param second the second indicator */ public CrossedUpIndicatorRule(IIndicator <decimal> first, IIndicator <decimal> second) { _cross = new CrossIndicator(second, first); }