OPEN-SOURCE SCRIPT
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
ストップロス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 creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.