ShoujiSuzuki

FX Risk Position Calculator

FX Risk Position Calculator

ストップロスPipsに対して投資資金の何%までを許容し何枚数まででトレードをするかを計算し表示するインジケータです。

デフォルトで100万円の投資資金に対してストップロス30pips、リスク2%で、千通貨で取引するときの枚数が表示されます。

自動で計算できる通貨ペアは、
AUDCAD、AUDCHF、AUDJPY、AUDNZD、AUDUSD、CADJPY、CHFJPY、EURAUD、EURCAD、EURCHF、EURGBP、EURJPY、EURUSD、GBPAUD、GBPCAD、GBPCHF、GBPJPY、GBPNZD、GBPUSD、HKDJPY、MXNJPY、NOKJPY、NZDJPY、NZDUSD、PLNJPY、SEKJPY、SGDJPY、TRYJPY、USDCAD、USDCHF、USDJPY、USDTRY、USDZAR、ZARJPY、CHNJPY
が対応し、動作確認を行っています。表示までに若干時間がかかります。
それ以外の通貨ペアは、[決済通貨]で「yyy/xxx」のx部の通貨を選択することで算出できます。

[四捨五入桁位置]で算出後の枚数に対して四捨五入して指定された桁数にします。
《設定例》
(計算結果23.78枚に対して)
「0」を設定:23.00
「1」を設定:23.80
「-1」を設定:20.00
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?