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

Horizontal Grid Lines on Chart - MetaTrader 4용 지표

Ron
조회수:
41626
평가:
(11)
게시됨:
2009.09.10 06:39
업데이트됨:
2014.04.21 14:54
Grid10.mq4 (8.11 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

15 Sep 2010 - Version 2

GRID10 is an indicator which will draw a grid on a chart using grid lines separated at a convenient power of ten. I have updated this indicator with the following features:

1 - The optional ability to include intermediate grid lines every 10%, 20%, 25% or 50% of the major grid lines.

2 - The resolution of the grid is now tied to the range of the chart (rather than the range of the data on the chart). This means that if the chart is resized, the grid will automatically resize with it at the next tick. (You can resize the chart by right-clicking in the margin to the right of the chart, and dragging the mouse up or down accordingly.)


3 - Correction to odd results caused by use of MathMod API function. (See the code for details of this fix if you're interested.)

Instructions

Choose the symbol you're interested in and display it in a chart window.
Select Ctrl-G to erase the default grid. Or, right-click on the chart, select properties, choose common, and then uncheck show grid.
Download and compile the Grid10.mq4 code and load Grid10 Custom Indicator to your chart.
It will automatically scale according to the range of the chart you have placed it upon.
Optionally, choose whether you require intermediate grid lines and, if so, their frequency.

Intermediate Line
Percentage(%)
Number of Sub-divisions
between gridlines
0 -
10 10
20 5
25 4
50 2


Optionally, choose your colour scheme and line style properties for the grid and intermediate lines.
At your will, resize the chart (right click in chart margin and drag mouse).


That's it!

Hope you like it, MOOSE.

10 Sep 2009 - Version 1

I have found the horizontal grid lines displayed on MT4 charts to be somewhat arbitrary and a touch confusing.

So I developed this indicator, GRID10, which will automatically display horizontal grid lines on a chart positioned and separated at a convenient power of ten according to the range of the symbol plotted on the chart.

Consider the chart of an index, say S&P 500, ranging in value from less than 800 to greater than 1000. Imagine how convenient it would be to have horizontal grid lines placed on the chart at 800, 900 and 1000 to aid interpretation of data.

S&P 500 Chart with Grid10

Consider a currencey pair, say AUDCAD, where the range of the chart is considerably less than 0.1. In this case, grid lines will be drawn at intervals of 0.01.

AUDCAD Chart with Grid10

The grid lines will automatically re-adjust in the event of the chart being resized to change either the number of bars displayed or the absolute range of the symbol being plotted.

This is my first post on this forum and I hope you find the indicator to be of use.

Regards, MOOSE.

GetPaneHeights GetPaneHeights

This function calculates the heights in pixel of all panes in a window.

HistoryTraning (NEW VERSION) HistoryTraning (NEW VERSION)

The adviser allows you to try manual trading on the historical date (NEW VERSION / BUGS CORRECTED / NEW FUNCTIONS ADDED)

iVeryCoolSpectrometr iVeryCoolSpectrometr

Цветной анализатор спектра

Working inside the channel Working inside the channel

The indicator with market entry signals and stop lines