Horizontal Grid Lines on Chart

0
(0)
Имя:
Horizontal Grid Lines on Chart
Автор: ЛОСЬ (2009.09.10 08:39)
Рейтинг: 7
Скачано: 4641
Скачать:
Horizontal Grid Lines on Chart 1
Grid10.mq4 (8.1 Кб) Вид
15 сен 2010 - Версия 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% или 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.)

Horizontal Grid Lines on Chart 2

инструкции

Choose the symbol you're interested in and display it in a chart window.
Select Ctrl-G to erase the default grid. Или, 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.
Необязательно, choose whether you require intermediate grid lines and, if so, their frequency.

Intermediate Line
Процент(%)
Number of Sub-divisions
between gridlines
0 -
10 10
20 5
25 4
50 2

Необязательно, 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).
Horizontal Grid Lines on Chart 3

Вот и все!

Hope you like it, ЛОСЬ.

10 сен 2009 - Версия 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&п 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 и 1000 to aid interpretation of data.

Horizontal Grid Lines on Chart 4 С&п 500 Chart with Grid10

Consider a currencey pair, say AUDCAD, where the range of the chart is considerably less than 0.1. В этом случае, grid lines will be drawn at intervals of 0.01.

Horizontal Grid Lines on Chart 5 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.

С уважением, ЛОСЬ.

Насколько полезным был этот пост?

Нажмите на звездочку, чтобы оценить!

Средний рейтинг 0 / 5. Подсчет голосов: 0

Голосов пока нет! Будьте первым, кто оценит этот пост.

Сожалеем, что этот пост не оказался для вас полезным!

Давайте улучшим этот пост!

Расскажите нам, как мы можем улучшить этот пост?



Автор: Команда Форекс Вики
Мы команда опытных трейдеров Forex. [2000-2023] которые посвящены жизни на наших собственных условиях. Наша основная цель - достижение финансовой независимости и свободы, и мы занимались самообразованием и приобрели обширный опыт на рынке Forex, чтобы достичь самодостаточного образа жизни..