SDivergence
- 指标
- Mobin Zarekar
- 版本: 1.0
SDivergence Indicator calculates and shows regular divergences and hidden divergences for MACD and Stochastic(for now). The benefit of this indicator is multiple input variables. Using these inputs you can modify to get more adaptive RD and HD's to your strategy.
Guide :
1- First put your desired oscillator (MACD or Stochastic or Both) on the chart.
2- Run SDivergence indicator and set corresponding sub-window index of previously put oscillator in SDivergence input window.
-Note: the chart sub-window index is 0. and first indicator's (in separate window) sub-window index is 1 and so on.
Indicator Inputs:
ind_type (MACD/STOCH) -> chooses the indicator type between MACD and Stochastic
---------------DIVERGENCE SETTINGS--------------------
DivCandleType (Body/Shadow) -> type of candle to consider to calculate RD and HDs
DRN -> Right Number of Extremum Candles / should be (>1)
DLN -> Left Number of Extremum Candles / should be (>1)
DEC -> Divergence Extremum Depth. Each extremum compare with DEC number of extremums after it. / should be (>0)
osc_DRN -> Indicator Right Number of Extremum Candles / should be (<=DRN)
osc_DLN -> Indicator Left Number of Extremum Candles / should be (<=DLN)
oscExtPeriod -> Indicator Extermum Period to Check / should be (>=0)
backCheck -> BackCheck Period With Each new Candle / should be (>0)
--------------------MACD SETTINGS-------------------------
macd_subwindow = 1; // MACD Subwindow -> RD and HD lines for macd will draw to this window
InpFastEMA = 12; // Fast EMA period
InpSlowEMA = 26; // Slow EMA period
InpSignalSMA = 9; // Signal SMA period
applied_price = PRICE_CLOSE; // Applied Price MACD
--------------------STOCH SETTINGS-------------------------
stoch_subwindow = 2; // Stochastic Subwindow -> RD and HD lines for Stochastic will draw to this window
InpKPeriod = 5; // K period
InpDPeriod = 3; // D period
BAD BAD BAD!!!!!!! The worst indicator I have ever used. It doesn't work and they don't give you your money back! strongly not recommended