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