거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Mod_ATR_Trailing_Stop - MetaTrader 5용 지표

조회수:
4808
평가:
(14)
게시됨:
2018.06.06 13:56
업데이트됨:
2018.06.15 11:34
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The indicator displays possible StopLoss levels on the price chart. Levels are shown separately for Long and Short positions.

It has two parameters:

  • Period - calculation period;
  • Coefficient - distance from the price.

Calculation:

  • If Close[i] < TS[i-1] and Close[i-1] < TS[i-1]

    TS[i] = Min(TS[i-1], Close[i] + loss)
  • Если Close[i] > TS[i-1]

    TS[i] = Close[i] - loss
  • If Close[i] < TS[i-1]

    TS[i] = Close[i] + loss

where

loss = Coeff*WMA(Diff, Period),
WMA - Wilder Exponential Moving Average,
Diff[i] = Max(HiLo, Href, Lref),
HiLo[i] = Min(High[i] - Low[i], MVA(High - Low, Period))
  • If Low[i]<=High[i-1]

    Href[i] = High[i] - Close[i-1]
  • If Low[i]>High[i-1]

    Href[i] = (High[i] + High[i-1] - Low[i] - Close[i-1])/2
  • If High[i]>=Low[i-1]

    Lref[i] = Close[i-1] - Low[i]
  • If High[i]<Low[i-1]

    Lref[i] = (Close[i-1] + High[i] - Low[i-1] - Low[i])/2

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

LSMA LSMA

Least Square Moving Average - a moving average calculated by the least squares method.

ITrendMA ITrendMA

Instantaneous Trendline by J. Ehlers.

Universal 1.64 Universal 1.64

Universal trailing of positions and pending orders.

PVI_Smoothed PVI_Smoothed

Smoothed Positive Volume Index