OPEN-SOURCE SCRIPT
업데이트됨

Blockunity Level Presets (BLP)

3 721
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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.