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

Consecutive Bars (with history) indicator for MT5 - MetaTrader 5용 지표

Ryan L Johnson
Ryan L Johnson
  • Futures & FX Strategist 에  Silk Road Trading LLC
  • 미국
  • 5502
저는 어린 시절에 힘든 학교를 마치고 시작했습니다... 돼지 농장, 트레일러 공원, 장작 등등. 하지만 저는 일찍 Apple IIe 컴퓨터를 손에 넣었습니다. 저는 나중에 온도계보다 더 많은 학위를 취득했고 1999년에 거래를 시작했습니다. 거래에 도움이 된 가장 귀중한 교육은 아마도 대수학, 기하학, 고급 수학 I 및 II, 통계학, 컴퓨터 수학이었을 것입니다. 그것은 젊은 세대를 위한 컴퓨터 과학이거나, 글쎄요... 그 다음 젊은 세대를 위한 프로그래밍입니다. 수익성 있는 자동 거래 EA 덕분에 저는 자유 시간을 갖게
조회수:
277
평가:
(2)
게시됨:
업데이트됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

I have repeatedly seen traders clamoring for an indicator that counts consecutive up and down candles (bars) in the Forum. Clearly, many traders use, or want to use, that indicator. Although I've seen various options for MT4, options for MT5 appear to be limited. The consecutive bar counting indicators that I found merely show the current count of consecutive bars that print in the current price direction. Therefore, I coded this Consecutive_Bars indicator for MT5.

The main benefit of this indicator is that you can set a level at the most frequently appearing "false swing" count─thereby filtering those false swings out of your trading. The blue line study shows up bars, and the red line study show down bars. Upon 1 bar printing in the opposite direction of the count, the line studies respectively return to the 0 level.

The only input setting is MaxBars which sets the maximum lookback/drawing period of the entire indicator.

The code (framed below) is heavily commented as a detailed explanation, especially for aspiring coders.


Multi-Timeframe Candle Map Multi-Timeframe Candle Map

An educational MT5 panel that maps the live price vertically inside four developing candles and summarizes location alignment, dispersion, candle direction and time remaining.

SR Zone Scanner SR Zone Scanner

Multi-timeframe Support & Resistance zone scanner with strength rating and instant alerts — M15, H1, H4, D1.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.