OPEN-SOURCE SCRIPT

Currency Strength Chart

Atualizado
以下のサイトのチャートを再現したものです。
currency-strength.com/
Notas de Lançamento
最新のバーに通貨の名前が表示されるよう追加しました。
Notas de Lançamento
軽微な変更。
Notas de Lançamento
- `precision=0` を追加しました
- 水平線を20と-20の位置に追加しました
- 通貨名のラベルの表示を切り替えられるよう「Display Currency Labels」を追加しました
Notas de Lançamento
  • 取引所を選択できるように設定項目に追加しました
Notas de Lançamento
V4 で書き直しました。
Notas de Lançamento
  • 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
Notas de Lançamento
  • Added an option "Select Resolution"
  • Added alerts that is noticing when the STRONGEST/WEAKEST is updated.
Notas de Lançamento
  • 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
Notas de Lançamento
  • 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"
Notas de Lançamento
- 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)
Notas de Lançamento
  • Added an option Bar Colors of Histogram
  • Added a symbol OIL
  • And XAU and OIL set hidden by default
  • Added an alertcondition
Notas de Lançamento
  • Modified a number "pairs"
Notas de Lançamento
  • Added options that could be setting the each currency's colors.
Notas de Lançamento
  • Add a missing "OIL" from the select items of the comparing currencies.
Notas de Lançamento
  • Changed the alert message. Use `Any alert() function call`
Notas de Lançamento
  • Updated settings
Notas de Lançamento
  • Add an option "Smooth"
  • Add an option "Line Extends"
  • Modified a function "OIL"
Notas de Lançamento
  • Add XAG
Notas de Lançamento
Added an option "Panel".

Example:
snapshot
Notas de Lançamento
Added a panel color "Multi".
Notas de Lançamento
  • Migrated pine script v5.
  • Added a color theme "monokai".
Notas de Lançamento
Added an option "Currency pair strength".

Example:
✅ Currency pair strength
snapshot
Notas de Lançamento
Added options to adjust the position of the currency pair strength meter.

Example:
snapshot
Notas de Lançamento
  • 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
snapshotsnapshot
Notas de Lançamento
Improved performance.
Notas de Lançamento
  • 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
snapshot
Notas de Lançamento
I understand.
This settings is a mess. I've tidied it up a bit.
Notas de Lançamento
  • Line widths is editable on style tab in settings.
  • Added a new color theme "panda".
  • Removed CCI. (It doesn't work well)

Notas de Lançamento
  • Fixed CCI calculating.
Notas de Lançamento
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.
Notas de Lançamento
Inverted the Histogram color.
Notas de Lançamento
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" を選択してください。
Notas de Lançamento
  • Added "max_labels_count" and "max_lines_count".
  • Removed the panel color theme option. ("multi" only)
Notas de Lançamento
  • 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
snapshot

  • "Currency pair strength"をカラムチャートから表に変更しました
  • "Show charts"オプションを追加しました(ラインチャートを非表示にするときのため)
  • "XAU" "XAG" "OIL"を削除しました。代わりに、シンボルを一つ追加するオプションを追加しました。
  • そのほかに不要(過剰)と思われる設定を削除しました。

Notas de Lançamento
  • Modified that "Auto select" didn't work.
Notas de Lançamento
Removed the threshold in the Currency pair strength values.
(Colors didn't show up at lower resolutions.)
Notas de Lançamento
Added another option symbol.
Notas de Lançamento
  • Changed to allow selection of currency pair in currency pair strength panel
Notas de Lançamento
The "Currency pair strength" changed to descending order.
Notas de Lançamento
The "Currency pair strength" allows you to set OP1 and OP2.
Notas de Lançamento
"Currency pair strength" has been changed so that the label entered for the optional currency is applied.
currencycurrencystrengthForexforextradingstrengthTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal