Skip to content
Menu

New rule on HQD.TO

Buy when RSI (14) crosses above 30. Sell when RSI (14) crosses above 70.

Buy when

Open a position when

Sell when

Close it when

Assumptions 10,000 to start Β· 0.2% cost per trade Β· fills at the next open

Included in Plus and up

This backtest ran over the last year

Test a rule over five years or the whole price history, through more than one market cycle.

This rule
βˆ’0.6%
10,000 became 9,940
Buy and hold HQD.TO
βˆ’7.2%
10,000 became 9,278
Worst fall
βˆ’6.3%
βˆ’663 Β· not recovered by the end
Trades
1
0 won Β· 1 lost Β· 1 still open Β· 0% win rate
Profit factor
0.00
gains Γ· losses
In the market
48%
of 40 days
  • Only 1 trade. A handful of trades says little about a rule: a few lucky or unlucky ones decide the result. Thirty or more is a common minimum; a longer period gives more.
  • A short period. Less than a year of prices covers one kind of market. A rule that worked here may not work in another.

Account value

10,000 following this rule, beside the same cash bought and held, Nov 20, 2024 to Jan 17, 2025

9k9.5k10k10.5kβˆ’10.0%βˆ’5.0%0%Fall from the peakNov 24Dec 24Dec 24Dec 24Jan 25Jan 25

Transactions chart

Buy and cover markers below the bar, sell and short markers above

9.5010.010.510.0k10.5kAccount valueNov 24Dec 24Dec 24Dec 24Jan 25Jan 25

Trades

1 round trip, oldest first. Each is an entry and its exit, after costs.

Backtest trades
SideEntryExitSharesHeldProfitReturnWorst / best
LongDec 19, 2024 Β· 10.09 RSI (14) crosses above 30Jan 17, 2025 Β· 10.05 Still open989.118 daysβˆ’59.52βˆ’0.60%βˆ’3.6% / +8.4%

Return and risk

This rule beside buying and holding over the same dates

MeasureThis ruleBuy and hold
Total returnβˆ’0.6%βˆ’7.2%
Return per yearβ€”β€”
Volatility per year26.2%36.2%
Worst fall from a peakβˆ’6.3%βˆ’12.5%
Longest time below a peak12 days58 days
Sharpe ratio-0.01-1.09
Sortino ratio-0.02-1.59
Return per year Γ· worst fallβ€”β€”

Trade statistics

Round trips for the long side, the short side and both together

Backtest results by side
StatisticLongShortTotal
Trades101
Won000
Lost101
Win rate0%β€”0%
Net profitβˆ’59.52β€”βˆ’59.52
Profit factor0.00β€”0.00
Average tradeβˆ’59.52β€”βˆ’59.52
Average trade returnβˆ’0.60%β€”βˆ’0.60%
Average winβ€”β€”β€”
Average loss59.52β€”59.52
Average win Γ· average lossβ€”β€”β€”
Largest winβ€”β€”β€”
Largest loss59.52β€”59.52
Most losses in a row101
Average days held18.0β€”18.0

Monthly returns

This rule, month by month. The last column is buying and holding for the same year.

YearJanFebMarAprMayJunJulAugSepOctNovDecYearHold
2025-3.8βˆ’3.8%βˆ’3.8%
20240.03.4+3.4%βˆ’3.5%

What this result assumes

  • Account. Starts with 10,000 in cash, 100% of the account on each entry, one position at a time. Fractional shares are allowed.
  • Fills. A signal is read at a bar’s close and fills at the next bar’s open.
  • Costs. 0.20% of the amount traded on every buy and every sell, for commission and slippage. This run paid 19.96 in all.
  • Exits. The exit condition closes the position. A position still open at the end is valued at the last close.
  • Signals. 1 in this period. Studies are calculated on the bars before the period as well, so they are warmed up when it starts.
  • Prices. 40 daily bars, adjusted for splits. Dividends are not included, for this rule or for buying and holding.
  • Buy and hold. The same cash put into HQD.TO at the first bar’s open, one cost, never sold.

These results are hypothetical. They come from applying a rule to past prices under the assumptions above, with the benefit of hindsight, and are not a record of real trading. Real orders can fill at other prices or not at all. Past results do not predict future results, and nothing here is investment advice. The Stock Master app calculates backtests differently, so its numbers will not match these.