Blockunity

Blockunity Level Presets (BLP)

Blockunity 已更新   
A simple tool for setting performance targets.

Level Presets (BLP) is a simple tool for setting upside and downside levels relative to the current price of any asset. In this way, you can track which price the asset needs to move towards in order to achieve a defined performance.

How to Use
This indicator is very easy to use, you can set up to 5 upward and downward targets in the parameters.

Elements
The main elements of this tool are upward (default green) and downward (default red) levels.

Settings
Several parameters can be defined in the indicator configuration.

In addition to configuring which performance value to set the level at, you can choose not to display it if you don't need it. For example, here we display only two levels:


You can also choose not to display the labels:


Also concerning labels, you can choose not to display them in currency format, but in numerical format only (for example, if you're viewing a non-USD pair, such as ETHBTC):


Finally, you can modify design elements such as colors, level widths and text size:


How it Works
Here's how upside (_u) and downside (_d) levels are calculated:
source          =   close
level_1_u       =   source + (source * (level_1 / 100))
level_1_d       =   math.max(source - (source * (level_1 / 100)), 0)
版本注释:
  • Correction of downward label values.

Blockunity
blockunity.io/
unyx-data.com/
contact@blockunity.io
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?