present
가입하고 첫 구매 시 $50 할인을 받으세요
Trading product for Doji Engulf 지표, image 1
Doji Engulf
지표
3 다운로드
버전 1.0, Jul 2025
Windows, Mac
3
무료 설치

설명

using cAlgo.API;

using cAlgo.API.Indicators;

using cAlgo.API.Internals;

using System;


namespace cAlgo.Indicators

{

[Indicator(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]

public class DojiStrategyIndicator : Indicator

{

[Parameter("Doji size", DefaultValue = 0.05, MinValue = 0.01, Step = 0.01)]

public double DojiSize { get; set; }


[Parameter("Long Candle Ratio", DefaultValue = 0.7, MaxValue = 1, Step = 0.1)]

public double LongCandleRatio { get; set; }


[Parameter("Use Volume Filter?", DefaultValue = false)]

public bool UseVolumeFilter { get; set; }


[Parameter("Volume Moving Average Period", DefaultValue = 24)]

public int VolumeMA { get; set; }


[Parameter("RSI Period", DefaultValue = 14)]

public int RSIPeriod { get; set; }


[Parameter("Wick-to-Body Ratio", DefaultValue = 2.5, MinValue = 1.0, Step = 0.1)]

public double WickToBodyRatio { get; set; }


private MovingAverage volumeMA;

private RelativeStrengthIndex rsi;


[Output("Doji Signal", Color = Colors.Orange, PlotType = PlotType.Points, Thickness = 2)]

public IndicatorDataSeries DojiSignal { get; set; }


protected override void Initialize()

{

if (UseVolumeFilter)

volumeMA = Indicators.MovingAverage(MarketSeries.TickVolume, VolumeMA, MovingAverageType.Simple);


rsi = Indicators.RelativeStrengthIndex(MarketSeries.Close, RSIPeriod);

}


public override void Calculate(int index)

{

double body = MarketSeries.Close[index] - MarketSeries.Open[index];

double range = MarketSeries.High[index] - MarketSeries.Low[index];

double abody = Math.Abs(body);

double ratio = abody / range;


bool isDoji = abody <= range * DojiSize;

bool goStar = isDoji && (!UseVolumeFilter || MarketSeries.TickVolume[index] > volumeMA.Result[index]);


if (goStar && IsHigherTimeFrame(out int timeFrameNumber, out string label))

{

DojiSignal[index] = MarketSeries.Close[index]; // 차트에 도지 표시

Chart.DrawIcon("Doji" + TimeFrame.ToString() + index, ChartIconType.Diamond, index, MarketSeries.Close[index], Color.Orange);


// 다음 3개의 캔들에 걸쳐 확장되는 실선으로 도지 캔들의 고가와 저가를 강조 표시

HighlightDojiHighLow(index, timeFrameNumber, label);

}


// SMT 다이버전스 감지는 이제 모든 타임프레임에 적용됩니다

DetectSMTDivergence(index);

}


private bool IsHigherTimeFrame(out int timeFrameNumber, out string label)

{

timeFrameNumber = 0;

label = string.Empty;


if (TimeFrame == TimeFrame.Minute15)

{

timeFrameNumber = 15;

label = "0.25";

return true;

}

else if (TimeFrame == TimeFrame.Minute30)

{

timeFrameNumber = 30;

label = "0.5";

return true;

}

else if (TimeFrame == TimeFrame.Minute45)

{

timeFrameNumber = 45;

label = "0.75";

return true;

}

else if (TimeFrame == TimeFrame.Hour)

{

timeFrameNumber = 1;

label = "1";

return true;

}

else if (TimeFrame == TimeFrame.Hour2)

{

timeFrameNumber = 2;

label = "48";

return true;

}

else if (TimeFrame == TimeFrame.Hour4)

{

timeFrameNumber = 4;

label = "4";

return true;

}

else if (TimeFrame == TimeFrame.Daily)

{

timeFrameNumber = 24;

label = "24";

return true;

}

else if (TimeFrame == TimeFrame.Weekly)

{

timeFrameNumber = 168;

label = "W";

return true;

}

else if (TimeFrame == TimeFrame.Monthly)

{

timeFrameNumber = 720;

label = "M";

return true;

}


return false;

}


private void HighlightDojiHighLow(int dojiIndex, int timeFrameNumber, string label)

{

double dojiHigh = MarketSeries.High[dojiIndex];

double dojiLow = MarketSeries.Low[dojiIndex];


// 다음 3개의 캔들에 걸쳐 확장되는 도지 캔들의 고가와 저가에 실선 수평선 그리기

Chart.DrawTrendLine("DojiHighLine" + TimeFrame.ToString() + dojiIndex, dojiIndex, dojiHigh, dojiIndex + 3, dojiHigh, Color.Blue, 2, LineStyle.Solid).IsInteractive = true;

Chart.DrawTrendLine("DojiLowLine" + TimeFrame.ToString() + dojiIndex, dojiIndex, dojiLow, dojiIndex + 3, dojiLow, Color.Red, 2, LineStyle.Solid).IsInteractive = true;


// 파란 선 옆에 타임프레임 번호 또는 라벨 텍스트 추가

Chart.DrawText("TimeFrameHigh" + TimeFrame.ToString() + dojiIndex, label, dojiIndex + 3, dojiHigh, Color.Green).IsInteractive = true;

}


private void DetectSMTDivergence(int index)

{

// 현재 고가 또는 저가가 RSI와 다이버전스를 형성하는지 확인

double currentHigh = MarketSeries.High[index];

double currentLow = MarketSeries.Low[index];


double prevHigh = MarketSeries.High[index - 1];

double prevLow = MarketSeries.Low[index - 1];


double currentRSI = rsi.Result[index];

double prevRSI = rsi.Result[index - 1];


bool isWickDivergence = IsWickDivergence(index, currentHigh, currentLow, prevHigh, prevLow);


if (isWickDivergence)

{

// 약세 다이버전스: 가격은 더 높은 고가를 만들고 RSI는 더 낮은 고가를 만듭니다

if (currentHigh > prevHigh && currentRSI < prevRSI)

{

// 이 타임프레임에 대한 고유 식별자로 차트에 다이버전스 표시

Chart.DrawIcon("BearishDivergence" + TimeFrame.ToString() + index, ChartIconType.DownArrow, index, currentHigh, Color.Red);

}


// 강세 다이버전스: 가격은 더 낮은 저가를 만들고 RSI는 더 높은 저가를 만듭니다

if (currentLow < prevLow && currentRSI > prevRSI)

{

// 이 타임프레임에 대한 고유 식별자로 차트에 다이버전스 표시

Chart.DrawIcon("BullishDivergence" + TimeFrame.ToString() + index, ChartIconType.UpArrow, index, currentLow, Color.Green);

}

}

}


private bool IsWickDivergence(int index, double currentHigh, double currentLow, double prevHigh, double prevLow)

{

double currentBody = Math.Abs(MarketSeries.Close[index] - MarketSeries.Open[index]);

double currentRange = currentHigh - currentLow;


double prevBody = Math.Abs(MarketSeries.Close[index - 1] - MarketSeries.Open[index - 1]);

double prevRange = prevHigh - prevLow;


// 현재 캔들이 작은 몸통과 긴 꼬리를 가지고 있는지 판단

bool currentHasLongWicks = (currentHigh - MarketSeries.Close[index]) > currentBody * WickToBodyRatio &&

(MarketSeries.Open[index] - currentLow) > currentBody * WickToBodyRatio;


// 이전 캔들이 작은 몸통과 긴 꼬리를 가지고 있는지 판단

bool prevHasLongWicks = (prevHigh - MarketSeries.Close[index - 1]) > prevBody * WickToBodyRatio &&

(MarketSeries.Open[index - 1] - prevLow) > prevBody * WickToBodyRatio;


return currentHasLongWicks || prevHasLongWicks;

}

}

}

요약

지표 프로필

고객 리뷰

0.0
리뷰: 0
고객 리뷰
이 상품에 대한 리뷰가 아직 없습니다. 이미 사용해 보셨나요? 다른 사람들에게 가장 먼저 소개해 주세요!

상담

자주 묻는 질문(FAQ)

트레이딩 봇, 지표, 플러그인 등 cTrader Store에서 제공되는 상품은 제3자 개발자에 의해 제공되며, 이는 단순히 정보 및 기술적 접근을 목적으로 제공된 것입니다. cTrader Store는 중개인이 아니며, 투자 조언, 개인별 추천 또는 향후 성과에 대한 어떠한 보장도 제공하지 않습니다.

이 작성자의 상품 더 보기

지표
The Session Golden Hours indicator is designed for serious traders looking to visualize high-probability

좋아하실 만한 다른 항목

지표
Forex
BTCUSD
+11
VMM Average Median - Advanced Median Indicator with Smart Trend Detection.
지표
ATR
MSS
+3
Stop drawing levels manually. SmartLevels Pro detects, scores & predicts — H4/H1/M15 · cTrader
지표
Double Top
Key Levels
+5
Indicator acts as a dynamic target identification engine based on SMC and ICT. Detects,ranks,and tracks liquidity pools.
지표
Prop
Forex
+12
Identify and trade breakouts with Consolidation Zones! Visualize price consolidation areas for trading opportunities.
지표
Forex
Signal
+1
Great signal indicator, works with bollinger bands and heikin ashi candles! one of our latest innovations!
지표
Key Levels
Support & Resistance
Draws a colored High/Low/Open/Close box for any custom time range you set — trade breakouts & retests.
"ZigZag" 로고
최고 평점
4.3
(6)
무료
지표
ATR
RSI
+7
ZigZag filters noise, spots trends, patterns, pivots, aiding analysis, trade management, and confirmations. 📉📈
지표
Signal
Breakout
+1
Bolliger Bands + Hamster-Coder™ Timeframe Decoupling
지표
ATR
Fibonacci
+1
Trading Clock Pro: An all-in-one market timing dashboard designed to help traders understand the market at one Spot.
지표
Prop
Forex
+11
🧭 See when your market tends to move—by Month, Day-of-Week, or Hour-of-Day🧭
지표
EMA
Volume
+2
Walk-forward tested London-open signal, rated CONFIRMED/WEAK/NEGATIVE with real historical win rate
지표
SMC
Forex
+5
Pure Price Action ICT Tools
지표
ATR
SMC
+2
HTF POWER 3 ICT Power of 3 · M1 Precision · H4 Intelligence Auto-detect Accumulation → Manipulation → Distribution
지표
MACD
Prop
+14
Customize the MACD! Choose colors, get real-time tick updates, and see crossover points for enhanced trading precision.
지표
Forex
BTCUSD
+5
Cross EMA Pro – Trend Reversal Indicator
지표
SMC
BTCUSD
+9
Detects CHoCH breakouts, draws interest zones & auto Fibo. Built for Smart Money & Price Action Engulfing confirmation
지표
AI
ATR
+27
The Professional “All-in-One” Trading Suite (buy and sell indicator)
지표
ATR
Volume
+5
Order blocks with measured hold-rate stats and confidence scoring — not just zones on a chart.

가격

3
무료 설치