Example #1
0
 public static decimal?PricePercentageChange(this IndexedCandle ic)
 => ic.Get <ClosePricePercentageChange>()[ic.Index].Tick;
Example #2
0
 public static bool IsInBbRange(this IndexedCandle ic, int periodCount, int sdCount)
 => ic.Get <BollingerBandsInRange>(periodCount, sdCount)[ic.Index] == Overboundary.InRange;
Example #3
0
 public static decimal?PriceChange(this IndexedCandle ic)
 => ic.Get <ClosePriceChange>()[ic.Index];
Example #4
0
 public static bool IsEmaOscBearish(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <ExponentialMovingAverageOscillatorTrend>(periodCount1, periodCount2)[ic.Index] == Trend.Bearish;
Example #5
0
 public static bool IsAboveSma(this IndexedCandle ic, int periodCount)
 => ic.Get <IsAboveSimpleMovingAverage>(periodCount)[ic.Index] ?? false;
Example #6
0
 public static bool IsSmaBearish(this IndexedCandle ic, int periodCount)
 => ic.Get <SimpleMovingAverageTrend>(periodCount)[ic.Index] == Trend.Bearish;
Example #7
0
 public static bool IsEmaBearishCross(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <ExponentialMovingAverageCrossover>(periodCount1, periodCount2)[ic.Index] == Crossover.BearishCrossover;
Example #8
0
 public static bool IsFullStoOverbought(this IndexedCandle ic, int periodCount, int smaPeriodCountK, int smaPeriodCountD)
 => ic.Get <StochasticsOvertrade.Full>(periodCount, smaPeriodCountK, smaPeriodCountD)[ic.Index] == Overtrade.SeverelyOverbought;
Example #9
0
 public static bool IsSlowStoOscBearish(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <StochasticsOscillatorTrend.Slow>(periodCount, smaPeriodCountD)[ic.Index] == Trend.Bearish;
Example #10
0
 public static bool IsSmaBullishCross(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <SimpleMovingAverageCrossover>(periodCount1, periodCount2)[ic.Index] == Crossover.BullishCrossover;
Example #11
0
 public static bool IsFullStoOscBullish(this IndexedCandle ic, int periodCount, int smaPeriodCountK, int smaPeriodCountD)
 => ic.Get <StochasticsOscillatorTrend.Full>(periodCount, smaPeriodCountK, smaPeriodCountD)[ic.Index] == Trend.Bullish;
Example #12
0
 public static bool IsFastStoOversold(this IndexedCandle ic, int periodCount, int smaPeriodCount)
 => ic.Get <StochasticsOvertrade.Fast>(periodCount, smaPeriodCount)[ic.Index].Tick == Overtrade.SeverelyOversold;
Example #13
0
 public static bool IsFastStoBearishCross(this IndexedCandle ic, int periodCount, int smaPeriodCount)
 => ic.Get <StochasticsCrossover.Fast>(periodCount, smaPeriodCount)[ic.Index].Tick == Crossover.BearishCrossover;
Example #14
0
 public static bool IsLowest(this IndexedCandle ic, int periodCount)
 => ic.Get <IsLowestPrice>(periodCount)[ic.Index] ?? false;
Example #15
0
 public static bool IsMacdBearishCross(this IndexedCandle ic, int emaPeriodCount1, int emaPeriodCount2, int demPeriodCount)
 => ic.Get <MovingAverageConvergenceDivergenceCrossover>(emaPeriodCount1, emaPeriodCount2, demPeriodCount)[ic.Index] == Crossover.BearishCrossover;
Example #16
0
 public static bool IsRsiOversold(this IndexedCandle ic, int periodCount)
 => ic.Get <RelativeStrengthIndexOvertrade>(periodCount)[ic.Index] == Overtrade.Oversold;
Example #17
0
 public static bool IsFullStoBullishCross(this IndexedCandle ic, int periodCount, int smaPeriodCountK, int smaPeriodCountD)
 => ic.Get <StochasticsCrossover.Full>(periodCount, smaPeriodCountK, smaPeriodCountD)[ic.Index] == Crossover.BullishCrossover;
Example #18
0
 public static bool IsSlowStoOversold(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <StochasticsOvertrade.Slow>(periodCount, smaPeriodCountD)[ic.Index] == Overtrade.SeverelyOversold;
Example #19
0
 public static bool IsSlowStoBearishCross(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <StochasticsCrossover.Slow>(periodCount, smaPeriodCountD)[ic.Index] == Crossover.BearishCrossover;
Example #20
0
 public static bool IsAboveEma(this IndexedCandle ic, int periodCount)
 => ic.Get <IsAboveExponentialMovingAverage>(periodCount)[ic.Index] ?? false;
Example #21
0
 public static bool IsCandlesBearish(this IndexedCandle ic)
 => ic.Get <ClosePriceChangeTrend>()[ic.Index] == Trend.Bearish;
Example #22
0
 public static bool IsSmaOscBullish(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <SimpleMovingAverageOscillatorTrend>(periodCount1, periodCount2)[ic.Index] == Trend.Bullish;
Example #23
0
 public static bool IsAccumDistBearish(this IndexedCandle ic)
 => ic.Get <AccumulationDistributionLineTrend>()[ic.Index] == Trend.Bearish;
Example #24
0
 public static bool IsEmaBearish(this IndexedCandle ic, int periodCount)
 => ic.Get <ExponentialMovingAverageTrend>(periodCount)[ic.Index] == Trend.Bearish;
Example #25
0
 public static bool IsObvBearish(this IndexedCandle ic)
 => ic.Get <OnBalanceVolumeTrend>()[ic.Index] == Trend.Bearish;
Example #26
0
 public static bool IsMacdOscBearish(this IndexedCandle ic, int emaPeriodCount1, int emaPeriodCount2, int demPeriodCount)
 => ic.Get <MovingAverageConvergenceDivergenceOscillatorTrend>(emaPeriodCount1, emaPeriodCount2, demPeriodCount)[ic.Index] == Trend.Bearish;
Example #27
0
 public static bool IsFastStoOscBearish(this IndexedCandle ic, int periodCount, int smaPeriodCount)
 => ic.Get <StochasticsOscillatorTrend.Fast>(periodCount, smaPeriodCount)[ic.Index].Tick == Trend.Bearish;