TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
TradingView Strategy Report

TradingView Strategy Tester Shows No Trades? Trace the Signal, Quantity and Margin

A shape on the chart can show that part of your setup fired. Check whether the strategy reached the entry command, what quantity it requested, and whether the simulated account could carry it.

Quick Answer

Open Strategy Report and select the right strategy and test period. Check for a Pine runtime error, then confirm the complete conditions reached the entry command. If they did, open the strategy’s Settings → Properties and compare the actual order quantity, capital and long or short margin. Futures use the contract’s point value to calculate position value.

Start 7-Day TrialWork through the MES margin exampleCheck a quantity override
Comparison

One fictional MES entry, three sets of assumptions

The fill price is 6,000.00, the account is flat with $5,000 in USD equity, and fees and slippage are omitted for the comparison. One MES has $30,000 in notional value.

Test setup
Required margin
What the comparison shows
1 MES at 100% margin
$30,000
$5,000 falls short.
1 MES at 10% margin
$3,000
$5,000 meets the simplified margin check.
2 MES at 10% margin
$6,000
$5,000 falls short again.

Find where the trade stopped

If Strategy Report is missing, add a Pine strategy to the chart. An indicator can draw buy and sell markers while generating no simulated orders. If a red exclamation mark appears next to the strategy name, open it and read the runtime error first.

If the report opens but shows no trades, pick one bar you expected to trade. Check that it is in the test period and that all entry gates passed, including the session, date range and position state. If you can edit the script, add a Pine Logs message at the entry command that records the bar time and requested quantity. A marker for one condition can appear while another gate keeps the entry command from running.

If the entry command ran with a valid quantity, check the order type. A market order typically fills on the next available tick under default simulation settings. A limit or stop order can remain unfilled within the test window. In Deep Backtesting, read the Trades list for that run because chart markers show regular-mode results.

Calculate the simulated margin for one MES

Find the contract’s point value in the exchange specifications or check syminfo.pointvalue in Pine for the selected symbol. For MES, multiply 6,000.00 by the $5 point value to get $30,000 per contract. Multiply by the order quantity and then by the applicable Margin for long positions or Margin for short positions percentage. At 10%, one MES requires $3,000 and two require $6,000 under these assumptions.

Use the requirement for the trade’s direction and the simulated equity available at that point. If trades stop partway through a run, examine the earlier results for a loss of equity. The initial capital field describes the start of the test.

The margin percentage above is an example for TradingView’s broker emulator. Check your broker’s actual requirements separately. For diagnosis, change one setting in a copy of the strategy or layout while keeping the signal, symbol and period fixed. Restore the assumptions you intend to evaluate and record them with the results.

Check whether Pine overrides your Order Size setting

Under the strategy’s Settings → Properties, check Order Size and its unit. With a fixed quantity in Contracts, use a whole MES contract for a controlled test. Cash or percentage sizing can request less than the symbol’s minimum tradable quantity. Check the quantity the strategy actually requested.

A non-na qty supplied to strategy.entry() or strategy.order() overrides the default Order Size. If Properties shows one contract but the entry call requests two, use two for the margin check. At 10% margin in the example, the duplicated test still needs $6,000 until the explicit quantity is changed.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView on strategies that generate no ordersCheck point value, required capital, runtime errors and entry conditions.TradingView Strategy PropertiesSet order size and the long and short margin percentages.Pine strategy sizing and order timingVerify how explicit quantities override strategy defaults.CME MES contract specificationsConfirm the $5 multiplier used to calculate notional value.
Related Guides

Keep Building the Rule System

Set up Strategy Report for futures

Check order timing, slippage and commissions when fills appear.

Compare Deep and regular backtesting

Trace the first trade that differs between the two modes.

Check futures point and tick values

Convert price distance into dollar exposure for the chosen contract.

FAQ

Common Questions

Why does a TradingView indicator show buy signals but no Strategy Report trades?

The report needs orders from a Pine strategy. Check for a strategy on the chart and confirm it reaches its entry command for the bar where you expect a trade.

Why does my futures strategy still show no trades after I change Order Size?

Check the script for a non-na qty argument overriding the default and compare the requested contracts against the test account’s equity and margin.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.