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

Trailing_Stop_Level - MetaTrader 5용 지표

조회수:
5148
평가:
(9)
게시됨:
2018.06.06 14:02
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The indicator displays possible StopLoss levels on the price chart. Levels are shown separately for Long and Short positions. The indicator is similar to Mod_ATR_Trailing_Stop, but has a different calculation basis - in percentage.

It has one input parameter:

  • Percent - the percentage value of the distance between the Stop line and the Close price.

Calculation:

  • If Close[i] > TSL[i-1] and Close[i-1] > TSL[i-1]

    TSL[i] = Max(TSL[i-1], Close[i]-loss)
  • If Close[i] < TSL[i-1] and Close[i-1] < TSL[i-1]

    TSL[i] = Min(TSL[i-1], Close[i]+loss)
  • If Close[i] > TSL[i-1]

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

    TSL[i] = Close[i] + loss

where

loss = Close[i]*Percent/100.

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

Simple_Support_Resistance Simple_Support_Resistance

An indicator of current support/resistance levels.

RMO RMO

The tend indicator: Rahul Mohindar Oscillator

TriMA TriMA

Triangular Moving Average.

Dominant_Color Dominant_Color

An indicator of the dominant direction of closing of bars.