거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
3541
평가:
(5)
게시됨:
2018.07.13 15:34
MM.mq5 (12.54 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Oscillator MM (Market Mode) allows assessing the market state: In trend state or in cyclic state.

It has three configurable parameters:

  • Period - calculation period;
  • Delta - coefficient to calculate market waves;
  • Fraction - half-width of the channel.

Calculations:

Mode = SMA(BP, Period2)
Peak = Fraction * SMA(FPeak, 50)
Valley = Fraction * SMA(FValley, 50)

where:

BP = 0.25 * (1-Alpha) * (High + Low - High[2] - Low[2]) + Beta * (1+Alpha) * PrevBP - Alpha * BP[2]

If PrevBP > BP and PrevBP > BP[2]:

FPeak = PrevBP

otherwise:

FPeak = PrevFPeak

If PrevBP < BP and PrevBP < BP[2]:

FValley = PrevBP

otherwise:

FValley = PrevFValley
Period2 = 2*Period + 5
Alpha = Gamma - Sqrt(Gamma*Gamma - 1),
Gamma = 1/cos(4*Pi*Delta/Period),
Beta = cos(2*Pi/Period)

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/21240

FIR FIR

Indicator FIR is a symmetrically weighted filter (Finite Impulse Response Filter).

EURX EURX

Indicator EURX displays index EUR.

MV_OBV MV_OBV

Unlike standard On Balance Volume calculated on Close prices only, and indicator MultiVote OBV is calculated on HLC prices, which resulted in its higher sensitivity.

Rj_SlidingRange_HTF Rj_SlidingRange_HTF

Indicator Rj_SlidingRange with the possibility to change the indicator timeframe in its input parameters.