PROTECTED SOURCE SCRIPT

Lot Calculator (Risk % + Pips)

72
概要 / Overview
日本語: Pips・損失許容率・資産額を入力するだけでロット数を計算し、上下ラインをチャートに表示するインジケータです。
English: A lot-size calculator that takes pips, risk %, and account balance, then plots upper/lower lines on the chart with lot size labels.

特徴 / Features

  • 資産入力を「数値 × 単位(×1 / ×10k / ×1M / ×100M)」で短く入力
  • 資産通貨を JPY / USD / EUR / GBP から選択
  • 価格・pips・ロットをまとめたラベル表示、色や線幅をカスタマイズ可能
  • オプションで右下テーブル表示をオン/オフ
  • Short numeric + unit input for balance (×1 / ×10k / ×1M / ×100M)
  • Select account currency: JPY / USD / EUR / GBP
  • Labels show price, pips, and lot size; colors and line width are configurable
  • Optional bottom-right table display


注意 / Notes

  • request.security による先行データ参照を行うため、リプレイやバックテストではリペイントに見える場合があります。
  • ラインはドラッグ移動できません。pips や入力値で調整してください。
  • 為替・XAU向けに最適化。その他シンボルでは計算がずれる可能性があります。
  • Uses request.security lookahead; in replay/backtests it may appear to repaint.
  • Lines cannot be dragged; adjust via pips/inputs.
  • Optimized for FX and XAU; other symbols may differ.

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.