당사 팬 페이지에 가입하십시오
- 조회수:
- 5574
- 평가:
- 게시됨:
- 2018.10.25 15:03
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Larry Williams' WILL VAL oscillator.
It has six input parameters:
- Instrument - instrument name, relative to which the calculation is made
- First EMA period - first exponential smoothing period
- Second EMA period - second exponential smoothing period
- Period - indicator calculation period
- Overbought - overbought level
- Oversold - oversold level
Calculation:
WV = 100.0 * (Value - Min) / (Max-Min)
where:
Value = MA1-MA2 MA1 - EMA(Price, First EMA period) MA2 - EMA(Price, Second EMA period) Max, Min - maximum and minimum 'Value' values in the Period range Price = Close(Current Instrument) / Close(Instrument)
Keep in mind that the indicator needs to upload history data of a selected instrument during the first launch or when changing 'Instrument'. If the re-drawing does not occur quickly or the indicator is displayed incorrectly, simply switch the chart timeframe to accelerate the process and obtain a correct display.
Fig. 1. Calculation relative to EURJPY
Fig. 2. Calculation relative to XAUDUSD
Fig. 3. Calculation relative to USDRUB
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22099

MA_Rounding_Candle_HTF indicator with the timeframe selection option available in input parameters

Working with Buy stop and Sell stop pending orders.