OPEN-SOURCE SCRIPT

Cryptoverse

Обновлено
This Indicator dynamically generates and charts Pivot Points, Support and Resistance Lines, Trend Channels and even Rsi Divergences in every market and every time period.

While it helps you identify your entry points, stop loss and take positions, it certainly does not include trading signals and trading strategy.

Bonus: the indicator contains ema21, ema50, ema100 and ema200 to support the lines created. If you wish, you can change the EMA values in the settings.

Recommendation: RSI is included in the indicator codes in order to detect divergences dataally, but it is not displayed on the chart. I recommend adding an additional RSI indicator to keep track of past and current potential divergences.

USER MANUAL:
----------------------------------------------
General Settings:

Pivot Period: This field determines how many candles before and after a candle should be controlled in order to be able to determine the top and bottom points on the chart.

Support and Resistance Lines and Trend Channels formed on the chart are created by calculating the Pivot points formed according to the period determined here. (Default value: 6)

Pivot Source: Determines the pivot points to be created according to the value of the relevant candle.

(Default and Recommended: closing)

----------------------------------------------

Support And Resistance Settings:

Custom Bars Back: This area allows you to specify how many pivot points from the current candle to the previous candle to create support resistance lines on the Chart. The default value is the last 500 candles.

*Note: The more old candles are checked, the more support and resistance lines will appear. This may prevent you from making sound determinations on the chart.*

Current Bar Decrease: This field works integrated with Custom Bars Back. By subtracting the current candle by the specified number, it provides the formation of lines without including those candles.

Default value: It is set to 0 to include current data.

Example: If Custom Bars Back: 500 and Current Bar Decrease: 10, Support and Resistance lines are created by considering 500 candles before the last 10 candles without including the last 10 candles on the chart.

Show S/R Lines: This field allows you to show or hide the Support and Resistance lines at any time.

Auto Simplification: This field is marked by default. It allows the Simplification Steps value to be determined automatically within the code according to the time period and current volatility of the relevant parity. (It is recommended to use the default version.)

Simplification Steps: This field allows you to get more understandable lines by simplifying the Support and Resistance lines based on Pivot points. If a simplification is not done, the lines to be formed with only the pivot points will be too many and this creates a dirty and useless appearance on the chart.

Each 1 digit you enter as a step combines the lines that are close to each other at a value of 0.01% and creates a common line.

Example: If you enter the number 10 as Steps, it will form a single common line from lines close together, starting at 0.01% respectively. It will continue to increase by 0.02%, 0.03%, 0.04% in its next steps. For the number 10, it will complete its loop by combining lines within the last remaining lines that are as close as 0.1% to each other and creating new lines from their midpoints.

The deafult value is 14. (Max. simplifies lines with closeness up to 1.4%.)

Important Note: If Auto Simplification is on, the entered value has no meaning. The Indicator performs simplification operations automatically. If you want to manage these steps manually, you can turn off Auto Simplification and enter your own value.

S/R Lines Color: Allows you to specify the color of the lines.

Label Location: Allows you to determine how many candles ahead the information label formed for each line will be positioned.

Line Label Descriptions:

Line: It is the price value that the line coincides with.*

Distance: Shows the percentage distance of the line from the current price.

▲ : Shows the percentage distance from the line above it.

▼ : Shows the percentage distance from the line below it.

Strength: Indicates the total number of steps the process has taken during the simplification process. The height of the number indicates the strength of resistance and support in the close price range.

C. Width: stands for Channel Width. It shows the percentage value between the highest price and the lowest price on the past candle as many candles specified by Custom Bars Back.

S. Steps: stands for Simplification Steps. Indicates the number of simplification steps applied. A value of 150 in the image indicates that a 1.5% simplification range has been applied.

----------------------------------------------

Trend Channels Settings:

Show All Trend Lines: Allows you to show and hide trend channels.

Hide Old Trend Lines: If you enable it, it will hide channels created in the past except for Current Trend channels.

Helper Line Format: Allows the auxiliary line that converts a trendline to a channel to be drawn based on percentage or price.

Note: There may be cases where the auxiliary lines do not provide full parallelism when using large time intervals by preferring a percentage.

Up Trend Color: Indicates the color of the Up Trend channel.

Down Trend Color: Specifies the color of the Downtrend channel.

Show Up Trend Overflow, Show Down Trend Overflow:

When the price closes above or below the trend channels, it provides awareness with the help of a text on the chart. Colors can be adjusted according to preference.

----------------------------------------------

RSI Divergences Settings:

This indicator gives you information about 4 different divergences. You can customize the divergence views with the show and hide options.

Bullish Regular, Bullish Hidden, Bearish Regular and Bearish Hidden.

Green divergences from the bottom of the graph represent bullish, and red divergences above the graph represent bearish.

Important note: Seeing a mismatch label definitely indicates that there is a mismatch between prices and rsi, but a mismatch does not always indicate a change in price.

Potential Divergence:

The indicator not only shows you past divergences, but also informs you of potential divergences based on the current status of the chart.

A potential divergence may not turn into a true one if the price flow continues to increase or decrease in the same direction. But all divergences seen in the past must have been shown as potential divergences beforehand.

Rsi Length, Rsi Source: Allows you to change settings for RSI values typically embedded within the indicator.

Note: Pivot Source and RSI Source using the same type of candle data ensures that divergences are displayed correctly.

----------------------------------------------

EMA Settings:

The indicator allows you to use 4 different EMA data in addition to Support and Resistance lines, Trend Channels and RSI divergences. By default, 21, 50, 100 and 200 are used. You can change the EMA values and colors in the Settings section, or you can use the show hide options in the Style section.


Информация о релизе
Support Resistance

Some editing and configurations were made in the creation of the lines.

Trend Channels

Added as lines at midpoints to trend channels.

Made some configurations and improvements in the making of tags that enable channel overflows.

EMA Lines

Added info tags for ema lines.

Ema lines are arranged in formats according to each theme and can be changed from the properties panel.
Bands and ChannelscryptoverseEMASPivot points and levelsrsidivergencesSupport and Resistancesupportandresistancestrendchannels

Скрипт с открытым кодом

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

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


Мои профили:

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