boitoki

Currency Strength Chart

boitoki Updated   
以下のサイトのチャートを再現したものです。
currency-strength.com/
Release Notes:
最新のバーに通貨の名前が表示されるよう追加しました。
Release Notes:
軽微な変更。
Release Notes:
- `precision=0` を追加しました
- 水平線を20と-20の位置に追加しました
- 通貨名のラベルの表示を切り替えられるよう「Display Currency Labels」を追加しました
Release Notes:
  • 取引所を選択できるように設定項目に追加しました
Release Notes:
V4 で書き直しました。
Release Notes:
  • Add an option "Difference Histogram"
  • Add an option "Switch Lines on/off"
  • Add an option "Switches each currencies on/off"
  • Add an option "Switch Chart Inverted"
  • Changed Label Style
Release Notes:
  • Added an option "Select Resolution"
  • Added alerts that is noticing when the STRONGEST/WEAKEST is updated.
Release Notes:
  • Added a choice of ResoType "Use Lookback Number" and an option "Lookback Number". If it selected that chart doesn't reset.
  • Added Histogram's MA in chart and the options
Release Notes:
  • Modified a function "get_val_d"
  • Added a option "Session Breaks"
  • Added a option "Histogram Colors" It could be choose "auto" or "Red & Green"
  • Added a option "Histogram Line Width"
Release Notes:
- Added XAU line
- Added Brokers "FX_IDC" and "SAXO"
- Removed an option "Chart Inverted" (There is a similar function in the chart settings)
- Removed an option "Show Sessionbreak line" (There is a similar function in the chart settings)
Release Notes:
  • Added an option Bar Colors of Histogram
  • Added a symbol OIL
  • And XAU and OIL set hidden by default
  • Added an alertcondition
Release Notes:
  • Modified a number "pairs"
Release Notes:
  • Added options that could be setting the each currency's colors.
Release Notes:
  • Add a missing "OIL" from the select items of the comparing currencies.
Release Notes:
  • Changed the alert message. Use `Any alert() function call`
Release Notes:
  • Updated settings
Release Notes:
  • Add an option "Smooth"
  • Add an option "Line Extends"
  • Modified a function "OIL"
Release Notes:
  • Add XAG
Release Notes:
Added an option "Panel".

Example:
Release Notes:
Added a panel color "Multi".
Release Notes:
  • Migrated pine script v5.
  • Added a color theme "monokai".
Release Notes:
Added an option "Currency pair strength".

Example:
✅ Currency pair strength
Release Notes:
Added options to adjust the position of the currency pair strength meter.

Example:
Release Notes:
  • Removed the "2 currencies difference histogram".
  • Removed the plotting barcolor.
  • Added an option "Auto selected current currencies".
  • Added an option "Resolution".

Example:
✅ Auto selected current currencies
Release Notes:
Improved performance.
Release Notes:
  • Added options "Source", "Calculate by"
  • Added options "Histogram" on the "auto selected"
  • Added the `if barstate.islast` for performance improvement
Hopefully, performance will not deteriorate 🙏

Example:
Mode: Lookback periods
Lookback periods: 30
Smoothing: SMA/3
Calculated by: Stochastics/7
Auto selected: Yes/Histogram/Ordered
Release Notes:
I understand.
This settings is a mess. I've tidied it up a bit.
Release Notes:
  • Line widths is editable on style tab in settings.
  • Added a new color theme "panda".
  • Removed CCI. (It doesn't work well)
Release Notes:
  • Fixed CCI calculating.
Release Notes:
Sorry, organized the settings again.
  • Removed an option "Histogram inverted". to auto selected.
  • Removed an option "Line extend".
  • Changed that set the line's width for each.
Release Notes:
Inverted the Histogram color.
Release Notes:
I’m working on improving my performance.
Added an option "Calculated on".
If you select "after the bar closed", the calculation will be done only when the bar is fixed.
If you prefer to always calculate as before, select "every ticks".

パフォーマンスの向上に努めています。
Calculated onというオプションを追加しました。
"after the bar closed"を選択すると、バーが確定したときにだけ計算します。
これまで通り、常に計算することを望む場合は、"every ticks" を選択してください。
Release Notes:
  • Added "max_labels_count" and "max_lines_count".
  • Removed the panel color theme option. ("multi" only)
Release Notes:
  • Changed the "Currency pair strength" chart to a table.
  • Added an option "Show charts" (To hide the line chart)
  • Removed a tickers "XAU" "XAG" and "OIL". But added one more symbol to choose from
  • Removed settings that may not be needed.

Example: No line chart, tables only

  • "Currency pair strength"をカラムチャートから表に変更しました
  • "Show charts"オプションを追加しました(ラインチャートを非表示にするときのため)
  • "XAU" "XAG" "OIL"を削除しました。代わりに、シンボルを一つ追加するオプションを追加しました。
  • そのほかに不要(過剰)と思われる設定を削除しました。
Release Notes:
  • Modified that "Auto select" didn't work.
Release Notes:
Removed the threshold in the Currency pair strength values.
(Colors didn't show up at lower resolutions.)
Release Notes:
Added another option symbol.
Release Notes:
  • Changed to allow selection of currency pair in currency pair strength panel
Release Notes:
The "Currency pair strength" changed to descending order.
Release Notes:
The "Currency pair strength" allows you to set OP1 and OP2.
Release Notes:
"Currency pair strength" has been changed so that the label entered for the optional currency is applied.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?