Choose a translated page where available; otherwise a clear fallback is shown.

100% AI-free · Formula-driven

Technical & Fundamental Stock Analysis

Calculate indicators from historical daily prices and ratios from figures you enter. All calculations run with predefined formulas; there is no AI-generated commentary or paid AI API.

Enter a NEPSE symbol and load its daily history. The analyzer will not show indicators until sufficient data is available.

Fundamental ratio calculator

Enter figures from the latest verified company report. Ratios are not fetched or guessed by PDFora.

Entered dividend history: Not entered

P/E

Enter positive EPS

P/B

Enter positive book value

ROE

EPS / BVPS required

Dividend yield

Enter dividend/share

Net margin

Requires net income & revenue

Portfolio & risk/reward calculators

Enter your own quantity and average cost; current price is prefilled only when historical data has been loaded.

Unrealized P/L

Rs. 0

Return

Enter average buy price

Position value

Rs. 0

Portfolio exposure

Enter total portfolio value

Risk / Reward: Enter valid entry, stop and target

PDFora · NEPSE Quant Lab

Strategy Backtester

Test rule-based NEPSE strategies on historical daily prices, include estimated transaction costs and compare results with a buy-and-hold benchmark. No future data is used to trigger a past trade.

Cost is a user-adjustable estimate applied to both entry and exit. Set it to include your broker commission, SEBON fee, DP charge and slippage assumptions. It is not a live fee quote.

What does the NEPSE Strategy Backtester do?

The backtester replays a rule-based trading strategy against available historical daily closing prices for a selected NEPSE-listed company. It shows the trades that the selected rules would have triggered, estimates the effect of transaction costs and compares the strategy with a simple buy-and-hold result over the same available price series. It is a research tool for exploring historical behaviour, not a prediction of future prices.

The tool requests one year of historical data and requires at least 80 valid daily observations. The available date range and data source are displayed with the results so you can check what period was actually tested.

Strategies available in the backtester

SMA 20/50 crossover

A buy signal occurs when the 20-observation simple moving average crosses above the 50-observation average. A sell signal occurs when the shorter average crosses below the longer average. Moving averages smooth recent closing prices, but they can react late when a market moves quickly or trades sideways.

RSI 14 recovery

The strategy looks for the 14-observation Relative Strength Index to recover from below 30 to 30 or higher. It exits when RSI reaches 70 or higher. RSI is a momentum measure; an oversold or overbought reading does not by itself mean that a price must reverse.

20-day breakout

A buy signal is generated when the previous completed daily close rises above the highest close in the preceding 20 observations and is higher than the close before it. The strategy exits when the signal close falls below its 20-observation moving average. A breakout can fail, especially when liquidity is low or prices gap.

How signals, trade prices and costs are handled

  1. Historical daily closing prices are sorted by date and invalid or non-positive closing values are ignored.
  2. The signal is evaluated using a completed earlier daily observation, rather than using a future price to trigger a past trade.
  3. When a signal is acted on, the simulated entry or exit uses the next available daily closing price in the loaded series.
  4. The estimated cost per side is applied to both entry and exit. Adjust it to represent your own assumed brokerage, SEBON fee, DP charge and slippage; the default is not a verified broker tariff.
  5. Results are calculated from the loaded price series and the selected strategy. Changing the symbol, strategy or cost assumption can materially change the output.

How to interpret the backtest metrics

Strategy return
The percentage change in the simulated strategy equity after the modelled entry and exit costs.
Buy-and-hold return
The percentage change from the first benchmark close used by the backtest to the last available close in the selected period.
Win rate
The share of closed trades with a positive simulated return. It does not show how large the winning or losing trades were.
Maximum drawdown
The largest peak-to-trough percentage decline in the simulated equity series.
Profit factor
Gross positive trade returns divided by the absolute value of gross negative trade returns. A high value from a small number of trades should be interpreted cautiously.
Market exposure
The share of observed sessions for which the simulated strategy held a position.

Important limitations before using results

This is a simplified educational backtest on available daily close data. It does not model intraday execution, circuit limits, partial fills, liquidity, corporate-action adjustments, every tax situation or survivorship bias. The cost input is an estimate, not a live fee quote. Missing, stale or incorrectly adjusted historical prices can change the result; verify the displayed data range and compare important observations with a trusted source.

Historical performance is not evidence that a strategy will work in a different market period. Do not use a backtest alone to decide whether to buy or sell a security. Consider risk, diversification, liquidity and your own financial circumstances.

Frequently asked questions

Does the backtester predict tomorrow's NEPSE price?

No. It evaluates historical rules on past daily closing prices and does not forecast future prices.

Why does a symbol sometimes fail to load?

The selected symbol must return at least 80 valid daily observations for the requested period. Missing or incomplete history can prevent a test.

Are transaction costs exact?

No. The cost per side is an editable estimate. Enter assumptions that reflect your expected charges and slippage, then verify actual costs with your broker.

Does a better historical return guarantee future profit?

No. Market conditions, liquidity, execution, data quality and company events can change. Past backtest results do not guarantee future performance.

PDFora toolbox

Explore all tools

PDF tools are here, with finance, text, developer and image utilities in our all-tools hub.

Explore finance, text, developer & image tools →