Join waitlist
Strategies / Pattern / Seasonal Calendar Hold Long Short

Seasonal Calendar Hold Long Short

Holds a long position during August to February, then closes it during March to July. The short side is coded but its entry and exit conditions are fixed at zero, so no short trades open.

PatternLong & shortSwingGoldDaily
2.97Profit factor
36,436Net profit EUR
62.26%Win rate
53Trades
-16,036Max drawdown
687Avg trade

Best run of 3. Gold, Daily, spread 0.6, from run pf:2026-10-11-GOLD-D.tsv:23.

Entry rules, long

  1. The calendar month is August to February.

Entry rules, short

  1. The short entry condition is fixed at zero, so no short position opens.

Exit rules

  1. The short exit condition is fixed at zero, so it never closes a short position.

Test conditions

PeriodUp to 2026-10-11
InstrumentGold, Daily
Spread0.6 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest runDaily2.97 5362.2636,436 EUR-16,036
USD/JPYDaily3.38 955.563,655 USD-1,699
SilverDaily2.20 4654.3532,137 USD-19,910

Charts

Results by run

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Seasonal Calendar Hold Long Short
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false
ONCE capital = 10000

22 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.
Read this firstKnown weaknesses2 points
  • The best run has only 53 trades, which is a small sample to judge it on.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Seasonal Calendar Hold Long Short in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 3 market and timeframe combinations. The best run was Gold, Daily, with a profit factor of 2.97 over 53 trades.

How large was the drawdown?

The best run had a maximum drawdown of 16,036 EUR at the tested position size, against a net result of 36,436 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Seasonal Calendar Hold

Also a pattern strategy.

2.97 PF · 53 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs