Guides, manuals and platform references.
Published November 19, 2026 · View Markdown
Changing a strategy report from dollars to euros can change the profit number without changing the price move you traded. It can also change the simulated trade size if the strategy sizes orders in cash or as a share of equity. Those are two different effects, and a useful comparison separates them.
Before using TradingView automation with AlgoWay, write down the unit behind each number: chart price, strategy account currency, order quantity and execution-account currency. Use the tick-to-price and cash conversion guide for the first calculation, then check the currency conversion described here. A monetary backtest result is not, by itself, a lot-size instruction.
The account-currency selector sits beside initial capital in TradingView's current general strategy settings. Monetary results are shown in that currency. The official general-settings guide also distinguishes fixed quantity, cash amount and percentage-of-equity order sizing. A quantity explicitly supplied by the script overrides the default order-size setting for that order.
In Pine, syminfo.currency identifies the chart symbol's quoted currency and strategy.account_currency identifies the strategy's account currency. With currency.NONE, the default is the chart currency. When conversion is needed, TradingView's Pine currency documentation specifies a previous daily conversion value, with a derived cross rate when a direct pair is unavailable. Do not substitute a live intraday FX quote and expect the same report calculation.
Take a hypothetical instrument quoted in USD. Assume a fixed position of two units, each earning $10 for a one-point move, bought at 100 and sold at 103. Ignore fees for this illustration.
Neither euro figure describes a better entry or exit. The assumed price path and quantity are identical; the measuring unit changed. These are hypothetical conversion snapshots, not historical rates or results from a strategy test.
The direction of the rate matters. If the rate is expressed as USD per EUR, divide the USD amount by that rate to obtain EUR. Label the numerator and denominator on your worksheet. An unlabeled exchange rate is a perfectly good number waiting to cause trouble.
A cash-based order uses an amount in the strategy account currency, whereas fixed-quantity sizing specifies units such as shares or contracts. Percentage sizing depends on equity. TradingView documents these distinctions in strategy properties. Therefore, changing the currency while leaving a cash input numerically unchanged need not preserve exposure.
For a second arithmetic example, assume a $50 share price and a conversion rate of 1.25 USD per EUR. A cash budget of 1,000 USD buys 20 shares. A cash budget of 1,000 EUR converts to 1,250 USD and buys 25 shares. Both settings display “1,000,” but they describe different budgets. This illustration ignores fees and assumes the share quantities are permitted.
If your aim is to isolate reporting conversion, first compare trades with matching entry price, exit price and quantity. If quantities differ, account for the sizing difference before attributing the entire profit change to FX. Also check whether an equity-dependent condition changed the trade list. A fixed quantity alone does not prove the whole strategy is insensitive to account values.
Pine provides strategy.convert_to_account() for chart-currency amounts and strategy.convert_to_symbol() for the reverse direction. The currency documentation also describes request.currency_rate(syminfo.currency, strategy.account_currency) for inspecting the rate. Keep each calculation's input unit explicit: an amount already expressed in account currency should not be converted from chart currency a second time.
For example, if the $60 result above has already become €54, treating 54 as dollars and multiplying by 0.90 again produces €48.60. That number looks tidy and is wrong. Keep the original symbol-currency amount alongside the converted amount so the calculation can be traced.
Cash commissions deserve the same attention. Pine's declaration reference defines cash-per-order and cash-per-unit fees in account-currency units. A fee setting of 2 is not necessarily the same economic cost after changing the account currency. For fee frequency and quantity effects, see per-order versus per-contract commission.
For one matched trade, retain the symbol and quote currency, account currency, entry and exit prices, quantity, symbol-currency profit, conversion rate and converted profit. Record fees separately. Then compare initial capital and the sizing mode across the two runs. This is a proposed audit method; no backtest was performed for this article.
When comparing the simulation with an execution account, add that account's currency and its actual trade record. Investigate quantity, fill price and currency translation as separate differences. Otherwise a currency mismatch can masquerade as slippage, or a changed cash budget can masquerade as a more profitable strategy.