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

The indicator detects and visualizes one of the fundamental patterns of Price Action. On high timeframes (from 1 day to a month) the pin bar is a strong signal to enter the market in a direction opposite to the long shadow. The indicator is calculated only on complete bars.

The input parameters are:

input int      MinBarSize=200;         //Minimal bar range in points
input int      PriceOffset=50;         //Shift of the open price and stop loss from the bar boundaries in points
input double   BarRatio=2.2;           //Minimal ratio of the bar range to the body
input double   TailRatio=1.3;          //Minimal ratio of a larger tail to the remaining part of the bar
input bool     UseBodyDirection=false; //Flag for checking the direction of the bar body. Bearish pin bar - bearish body, bullish bar - bullish body
input bool     UseCloseThirds=true;    //Flag for checking the bar part in which it closed. For bearish bars - in the lower third of the bar,
                                     //for bullish bars - upper one 
input int      ExtremumOfBars=10;     //Checking the condition of location of the pin bar at the extreme relative to the specified number of previous bars

Tips:

  • The indicator contains two buffers. One of them stores values of the recommended price for opening a stop order (green points), the second one contains recommended values for stop loss (red points). The indicator is built into an Expert Advisor traditionally using the iCustom() function.
  • In the figure some pin bars with suitable proportions are not indicated because of the value of the ExtremumOfBars parameter. By changing the parameters of recognition you can achieve the desired results.

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

ATRStops_v1_HTF ATRStops_v1_HTF

A trend indicator implemented in the form of NRTR. Timeframe is specified in the input parameters of the indicator.

Volatility2 Volatility2

A simple indicator that calculates only the volatility of a financial asset

Gann_Hi-lo_Activator_SSL Gann_Hi-lo_Activator_SSL

A simple indicator, a good one for MQL5 beginners

Demo_IndicatorSetInteger Demo_IndicatorSetInteger

An example of the IndicatorSetInteger() function. A simple indicator that shows how to create a label, e.g. "Overbought level" for each horizontal level.