allanster

Gridimus Maximus

allanster Wizard Обновлено   
Gridimus ‎Maximus draws N grid lines stepping by price or percent in chosen direction from set price, or draws N grid lines stepping by ‎pivots.

The queue function method used is adapted from an example provided on the PineCoders website, much gratitude to LucF for this gem!

To prevent grid lines out of range from causing chart to rescale right click on chart's price column and enable Scale Price Chart Only.

Pictured example above is using Type Of Increment: Steps By ‎Pivot, Number Of Steps: 5.

Pictured example below is using Type Of Increment: Steps By Price, Number Of Steps: 6, Starts From Price: $10k, Steps By Percent Or Price: $10k.


Pictured example below is using Type Of Increment: Steps By Percent, Number Of Steps: 7, Starts From Price: $10k, Steps By Percent Or Price: 33%.



NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Информация о релизе:
Revision 1

Enabled adjustable transparency for grid lines.
Информация о релизе:
Revision 2

Added ability to specify number of bars to the left and right of ‎pivot. Reducing number of bars to the right of ‎pivot increases responsiveness.

Made the following cosmetic changes to default line style: Dotted Yellow.

Информация о релизе:
Revision 3

Cosmetic change, added padding for better alignment.
Информация о релизе:
Revision 4

Added option ‎Pivot Higher Timeframe.
Информация о релизе:
Revision 5

Added adjustable line width and changed default color to Gray for better viewing compatibility with both Dark & Light themes.
Информация о релизе:
Revision 6

Added option Grid Lines Extend, setting this option to Right allows the age of each ‎Pivot to be seen as shown in pictured example below.

Информация о релизе:
Revision 7

Improved alignment when using Grid Lines Extend: Right with higher timeframe ‎pivots. Added option to show price labels as shown in pictured example below.

Информация о релизе:
Revision 8

Updated for Pine Script™ v5.

Added option Direction To Step Towards: "Both" which allows for stepping in both directions when using Steps by Percent or Steps by Price.

lux ex tenebris • deuro mea umbra absens • Telegram: t.me/allanster
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?