거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
MA_Slope - MetaTrader 5용 지표
- 조회수:
- 8715
- 평가:
- 게시됨:
- 2019.01.02 14:30
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
MA slope presents the slope of a Moving Average line. The indicator displays a colored Moving Average, the color of which depends on the point value of the MA slope between two key points of the Moving Average.
It has five input parameters:
- Period - calculation period
- Method - calculation method
- Applied price - price used for calculations
- Slope - the threshold slope value in points, after which the MA color changes
- Slope length - shift in bars of the first key point from the current bar, used to determine the slope value (difference between these points)
Calculation:
MA = MovingAverage(Applied price, Period, Method)
Diff = MA - PrevMA
PrevMA - MovingAverage(Applied price, Period, Method) Slope length bars ago
- If Diff is greater than Slope
The MA color is green - If Diff is less than -Slope
The MA color is red - Otherwise
MA is gray
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/23124