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

Support and Resistance indicator for MQL5 - MetaTrader 5용 지표

조회수:
15795
평가:
(3)
게시됨:
2023.07.27 12:03
업데이트됨:
2023.10.19 18:14
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The basic idea behind the indicator is to check for bouncebacks between support and resistance levels. There are two input parameters: period and overlook. A support level is the lowest low in the last period bars if this value is equal to the lowest low of the last period+overlook bars. A resistance level is the highest high in the last period bars if it is equal to the highest high of the last period+overlook bars. If there are both support and resistance levels and a bounceback happens (price is between these levels) the support and resistance levels will be displayed on the chart.

In the original Indicator the i integer runs from period+overlook until rates_total, so the for cycle is for(i = rates_total-3;i<rates_total;i++). But for some reason I had to change that to validate my code.

Screenshot of indicator

Check out the video I've made about the mql4 version (there are a few differences between mql4 and mql5 but the logic is the same) :


    Grid, MartinGale include File Grid, MartinGale include File

    Enables Programmers to create Martin Gale and Grid Trading strategies with ease.

    PNG PNG

    Forget about BMP files like a bad dream. Thanks to this library, you can now use the PNG format, which has a number of advantages, such as being more compact without losing image quality and maintaining transparency.

    RectangleTest RectangleTest

    The EA trades using the Rectangle, EMA and SMA indicators.

    Moving Average with alerts on price crossovers Moving Average with alerts on price crossovers

    I wanted to build a moving average which would create an alert when the price moves over the line by a user defined amount of points. It creates both bullish and bearish signals depending on the direction of market price moving through the MA. It is designed for slow length moving averages (default is 200-day MA). EDIT: I now added a second version of the indicator which uses Arrow buffers instead of ObjectCreate.