예제 #1
0
 public static bool IsFullStoOscBullish(this IndexedCandle ic, int periodCount, int smaPeriodCountK, int smaPeriodCountD)
 => ic.Get <StochasticsOscillator.Full>(periodCount, smaPeriodCountK, smaPeriodCountD).Diff(ic.Index).Tick.IsPositive();
예제 #2
0
 public static bool IsAboveBbUp(this IndexedCandle ic, int periodCount, int sdCount)
 => ic.Get <BollingerBands>(periodCount, sdCount)[ic.Index].Tick.IsTrue((low, mid, up) => ic.Close > up);
예제 #3
0
 public static decimal?ClosePricePercentageChange(this IndexedCandle ic)
 => ic.Get <ClosePricePercentageChange>(1)[ic.Index].Tick;
예제 #4
0
 public static bool IsEmaOscBearish(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <ExponentialMovingAverageOscillator>(periodCount1, periodCount2).Diff(ic.Index).Tick.IsNegative();
예제 #5
0
 public static bool IsAboveSma(this IndexedCandle ic, int periodCount)
 => ic.Get <SimpleMovingAverage>(periodCount)[ic.Index].Tick.IsTrue(t => ic.Close > t);
예제 #6
0
 public static bool IsSmaBullish(this IndexedCandle ic, int periodCount)
 => ic.Get <SimpleMovingAverage>(periodCount).Diff(ic.Index).Tick.IsPositive();
예제 #7
0
 public static bool IsBreakingHistoricalHighestHigh(this IndexedCandle ic)
 => ic.Get <HistoricalHighestHigh>().Diff(ic.Index).Tick.IsPositive();
예제 #8
0
 public static bool IsFullStoOverbought(this IndexedCandle ic, int periodCount, int smaPeriodCountK, int smaPeriodCountD)
 => ic.Get <Stochastics.Full>(periodCount, smaPeriodCountK, smaPeriodCountD)[ic.Index].Tick.IsTrue((k, d, j) => k >= 80);
예제 #9
0
 public static bool IsBearish(this IndexedCandle ic)
 => ic.Get <ClosePriceChange>(1)[ic.Index].Tick.IsNegative();
예제 #10
0
 public static bool IsSlowStoBearishCross(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <StochasticsOscillator.Slow>(periodCount, smaPeriodCountD).ComputeNeighbour(ic.Index)
 .IsTrue((prev, current, _) => prev.Tick.IsPositive() && current.Tick.IsNegative());
예제 #11
0
 public static bool IsMacdBearishCross(this IndexedCandle ic, int emaPeriodCount1, int emaPeriodCount2, int demPeriodCount)
 => ic.Get <MovingAverageConvergenceDivergenceHistogram>(emaPeriodCount1, emaPeriodCount2, demPeriodCount).ComputeNeighbour(ic.Index)
 .IsTrue((prev, current, _) => prev.Tick.IsPositive() && current.Tick.IsNegative());
예제 #12
0
 public static bool IsEmaBearishCross(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <ExponentialMovingAverageOscillator>(periodCount1, periodCount2).ComputeNeighbour(ic.Index)
 .IsTrue((prev, current, _) => prev.Tick.IsPositive() && current.Tick.IsNegative());
예제 #13
0
 public static bool IsSlowStoOscBearish(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <StochasticsOscillator.Slow>(periodCount, smaPeriodCountD).Diff(ic.Index).Tick.IsNegative();
예제 #14
0
 public static bool IsBelowBbLow(this IndexedCandle ic, int periodCount, int sdCount)
 => ic.Get <BollingerBands>(periodCount, sdCount)[ic.Index].Tick.IsTrue((low, mid, up) => ic.Close < low);
예제 #15
0
 public static bool IsBreakingHistoricalLowestClose(this IndexedCandle ic)
 => ic.Get <HistoricalLowestClose>().Diff(ic.Index).Tick.IsNegative();
예제 #16
0
 public static bool IsRsiOversold(this IndexedCandle ic, int periodCount)
 => ic.Get <RelativeStrengthIndex>(periodCount)[ic.Index].Tick.IsTrue(t => t <= 30);
예제 #17
0
 public static bool IsBreakingHighestClose(this IndexedCandle ic, int periodCount)
 => ic.Get <HighestClose>(periodCount).Diff(ic.Index).Tick.IsPositive();
예제 #18
0
 public static bool IsSlowStoOversold(this IndexedCandle ic, int periodCount, int smaPeriodCountD)
 => ic.Get <Stochastics.Slow>(periodCount, smaPeriodCountD)[ic.Index].Tick.IsTrue((k, d, j) => k <= 20);
예제 #19
0
 public static bool IsBreakingLowestClose(this IndexedCandle ic, int periodCount)
 => ic.Get <LowestClose>(periodCount).Diff(ic.Index).Tick.IsNegative();
예제 #20
0
 public static bool IsBelowEma(this IndexedCandle ic, int periodCount)
 => ic.Get <ExponentialMovingAverage>(periodCount)[ic.Index].Tick.IsTrue(t => ic.Close < t);
예제 #21
0
 public static bool IsAccumDistBearish(this IndexedCandle ic)
 => ic.Get <AccumulationDistributionLine>().Diff(ic.Index).Tick.IsNegative();
예제 #22
0
 public static bool IsSmaOscBullish(this IndexedCandle ic, int periodCount1, int periodCount2)
 => ic.Get <SimpleMovingAverageOscillator>(periodCount1, periodCount2).Diff(ic.Index).Tick.IsPositive();
예제 #23
0
 public static bool IsObvBearish(this IndexedCandle ic)
 => ic.Get <OnBalanceVolume>().Diff(ic.Index).Tick.IsNegative();
예제 #24
0
 public static bool IsEmaBearish(this IndexedCandle ic, int periodCount)
 => ic.Get <ExponentialMovingAverage>(periodCount).Diff(ic.Index).Tick.IsNegative();
예제 #25
0
 public static bool IsInBbRange(this IndexedCandle ic, int periodCount, int sdCount)
 => ic.Get <BollingerBands>(periodCount, sdCount)[ic.Index].Tick.IsTrue((low, mid, up) => ic.Close >= low && ic.Close <= up);
예제 #26
0
 public static bool IsMacdOscBullish(this IndexedCandle ic, int emaPeriodCount1, int emaPeriodCount2, int demPeriodCount)
 => ic.Get <MovingAverageConvergenceDivergenceHistogram>(emaPeriodCount1, emaPeriodCount2, demPeriodCount).Diff(ic.Index).Tick.IsPositive();
예제 #27
0
 public static bool IsBullish(this IndexedCandle ic)
 => ic.Get <ClosePriceChange>()[ic.Index].Tick.IsPositive();