OPEN-SOURCE SCRIPT
已更新

Blockunity Level Presets (BLP)

4 000
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:
Pine Script®
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。