거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 게시자:
- Aleh Sasonka
- 조회수:
- 69025
- 평가:
- 게시됨:
- 2016.02.08 11:33
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The indicator to trade Divergence.
One of 30 oscillators can be selected for the detection of the divergences.
Indicator values:
- Extremes as points (red — Highs, yellow — Lows);
- Divergence using the segments connecting the extremes;
- The support/resistance lines as rays passing through the extremes;
- Channels as rays.
Selection of the required oscillator is performed in the line by entering the oscillator number — the Osc parameter. By default, the RSI indicator is set (number 29).
Oscillator selection:
- Accelerator
- Accumulation/Distribution
- Average Directional Movement Index
- Average True Range
- Awesome oscillator
- Bears Power
- Bulls Power
- Commodity Channel Index
- DeMarker
- Force Index
- Momentum
- Money Flow Index
- Moving Averages Convergence/Divergence
- Moving Average of Oscillator
- On Balance Volume
- Relative Vigor Index
- Standard Deviation
- Stochastic Oscillator
- Volume
- Close
- Open
- High
- Low
- (H+L)/2
- (H+L+C)/3
- (H+L+C+C)/4
- (O+C+H+L)/4
- (O+C)/2
- Relative Strength Index
- Larry Williams' Percent Range
- ... Relative Strength Index
The list of adjustable parameters:
- Osc=29 — the number of the oscillator;
- TH=true — bearish divergence;
- TL=true — bullish divergence;
- trend=true — support/resistance lines;
- convergen=true — hidden divergence;
- Complect=1 — the distinguishing index of the indicator on the chart;
- BackSteph=0 — number of steps back h;
- BackStepl=0 — number of steps back l;
- BackStep=0 — number of steps back;
- qSteps=1 — number of displayed steps, no more than three;
- LevDPl=5 — DeMark level points (2 = the central bar will be above (below) the two bars on the left);
- LevDPr=1 — DeMark level points (2 = the central bar will be above (below) the two bars on the right);
- period=8 — period for iADX, iATR, iBearsPower, iBullsPower, iCCI, iDeMarker, iForce, iMomentum, iMFI, iRVI, iStdDev, iRSI, iRSI, iWPR;
- ma_method=0 — averaging method for iStochastic, iStdDev, iForce;
- ma_shift=0 — MA shift for iStdDev;
- applied_price=4 — applied price for iRSI, iRSI, iStdDev, iOBV, iOsMA, iMACD, iMomentum, iForce, iCCIiBullsPower, iBearsPower, iADX;
- mode=0 — line index for iStochastic, iRVI, iMACD, iADX;
- fast_ema_period=12 — fast MA period for iOsMA, iMACD;
- slow_ema_period=26 — slow MA period for iOsMA, iMACD;
- signal_period=9 — signal line period for iOsMA, iMACD;
- Kperiod=13 — K line period for iStochastic;
- Dperiod=5 — D line period for iStochastic;
- slowing=3 — slowing for iStochastic;
- price_field=0 — applied price for iStochastic;
- showBars=1000 — if = 0, the indicator is displayed for the entire chart;
- Trend_Down=true — resistance lines;
- Trend_Up=true — support lines;
- TrendLine=true — support/resistance lines;
- HandyColour=true;
- Highline=Red — HL channel color;
- Lowline=DeepSkyBlue — LL channel color;;
- ChannelLine=false — channels parallel to trend lines;
- Trend=0 — 1 = only for UpTrendLines, -1 = only for DownTrendLines, 0 = for all TrendLines;
- Channel=false — channels;
- Regression=true — Linear Regression Channel, false — Standard Deviation Channel;
- RayH=true — ray for the High channel;
- RayL=true — ray for the Low channel;
- ChannelH=Red — color of the High channel;
- ChannelL=DeepSkyBlue — color of the Low channel;
- STD_widthH=1.0 — deviation size for the CHANNEL High object;
- STD_widthL=1.0 — deviation size for the CHANNEL Low object;
- comment=false — display comments;
- code=159 — character code of the Wingdings font to display the extremums;
- BuyStop=false — BuyStop levels;
- SellLimit=false — SellLimit levels;
- SellStop=false — SellStop levels;
- BuyLimit=false — BuyLimit levels.
Examples:
Recommendations:
- The color of the oscillator and the extremum points can be configured in the Colors tab.
- Change the Complect parameter when attaching more than one indicator to the chart.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/13172
![Binario](https://c.mql5.com/i/code/expert.png)
The Expert Advisor is based on the exponential moving averages of the same period.
![Pinbar Detector](https://c.mql5.com/i/code/indicator.png)
The Pinbar Detector indicator tries to identify the pin bars.