GoodGains

% Chg Lines

This indicator is designed to visually represent percentage changes from the previous day's close.

1. Percentage Change Lines: The core function of the script is to apply lines to the chart that represent specific percentage changes from the previous day's closing price. It can display up to five different percentage levels, ranging from 0.50% to 2.50% by default but the user can set any value that they wish. This feature allows users to quickly gauge how the current price is performing relative to the previous day's close.

2. Customizable Inputs: Users have the flexibility to customize the script through various inputs. This includes the option to display lines only for the current trading day (`todayonly`), and to select which specific percentage change levels to plot (`show_pct1` to `show_pct5`).

3. Dynamic Calculation: The script dynamically calculates the previous day's closing price by making a request security call and uses it as a baseline to determine the percentage change levels.
% Change = (y2-y1)/y1*100

4. Positive and Negative Changes: It plots both positive and negative percentage changes, allowing users to see areas of potential resistance and support based on historical closing data.

This script is can be used by all traders for any market. The trader might have to adjust the %Chg input amount, but most financial instruments do see "reactions" at certain % intervals.
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?