Code basis for ProRealTime

Ready-made ProRealTime code — with the numbers behind it

A library of thousands of trading ideas for indices and gold, tested against simply owning the index. Get the code, open it in ProBuilder and build on it. A basis for your own studies and coding.

Or go straight to Premium →

  • The code is compared with real ProBacktest runs
  • Strategies that do not hold up are shown openly too
  • No card required to start
  • Tested on CFD and spread-betting prices — not on futures

Four strategies with real figures

Strategy
Compared with ProBacktestFree8.7 years
RSI70 breakout · stop 2 % · ratchet trailing 0.364 % · long
240 %Return
9 %Largest drawdown
29 %Time in market
1.75Profit factor
Compared with ProBacktestDetails in the library8.6 years
Primitive rsi## · long · target+trail ~ trailing #.# ATR
57 %Return
9 %Largest drawdown
28 %Time in market
1.26Profit factor
Compared with ProBacktestDetails in the library8.7 years
Donchian ## · trail #.# ATR · long ~ filter EMA###
53 %Return
12 %Largest drawdown
36 %Time in market
1.27Profit factor
Compared with ProBacktestDetails in the library10.7 years
Momentum · new ##-bar high · above MA###
212 %Return
13 %Largest drawdown
26 %Time in market
1.36Profit factor

The selection was made afterwards from a large library and is therefore optimistic. Look at the key figures, not just the curve. The curves cover the whole history (ProfitFeed before IG, adjusted data) after financing.

12 625strategies tested
454 602test results
8markets
17years of history at most
Strategy of the week · Week 41

NASDAQ 100 · 1h: 85 % vs 257 %

See the curve and key figures for this week's strategy from the library. The rules and the code are open.

See the strategy of the week →

Find the right strategy

Describe what you are looking for and our AI suggests one or more strategies from our Best list, with a sentence on why.

How it works

1

Explore

Browse the whole library and sort by risk, Calmar and how smooth the curve is. Everything is open after free registration.

2

Get the code

Each file is a plain text file for ProBuilder with a header: market, timeframe, spread setting, start date and the figures we expect in ProBacktest.

3

Run and compare

Paste the code into ProRealTime, run ProBacktest and compare with the figures in the header. After that it is your code to study and build on.

How to run the code in ProRealTime →

Built for ProRealTime

The code is written for ProRealTime's programming language (ProBuilder/ProBacktest) and works in any ProRealTime account that can run custom strategies. The service is independent of ProRealTime. Our PRT verified label means the strategy's trades have been compared with a real ProBacktest run on the same market and timeframe.

Go to ProRealTime ↗

ProRealTime is a trademark of ProRealTime SAS. This service is not affiliated with, endorsed by or sponsored by ProRealTime.

What a code file looks like

// >>> SPREAD IN PRT: 2.2 points (US Tech 100 Cash)
// === RSI70 Breakout with Ratchet Trailing Stop ===
// Market:    US Tech 100 Cash CFD · 1 HOUR · size 1
// Type:      Long only
// Tested on: CFD / spread-betting prices — NOT futures
// Stop:      fixed % · ratchet trailing
// PRT PARITY: GREEN — 96 % of 110 PRT trades matched
// Start the backtest ≥ 2 weeks into the series
// Expected: trades, win rate, profit factor, max drawdown …

DEFPARAM ▒▒▒▒▒▒▒▒▒▒▒ = ▒▒▒▒▒
▒▒▒▒▒ = ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒
▒▒ ▒▒▒▒▒ ▒▒▒▒
▒▒▒ ▒ ▒▒▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒
▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒
▒▒▒▒▒

The code itself is shown after free registration — the header above is a real example.

For CFD and spread betting — not tested on futures

The code is written for and tested on price data from CFD and spread-betting accounts (IG). It has not been tested on futures contracts. Futures have different prices, contract sizes, fees, rollover and trading hours, so code and results cannot be carried over directly. Always check the code in ProRealTime's own editor.

We show what does not hold up too

Many strategies give less profit than simply owning the index, and some lose money. They stay in the library, with drawdown, time without a new high and financing cost. Weak strategies are dismissed openly instead of hidden. That is why the numbers can be trusted as a basis.

Free to explore. Premium when you want the code.

 FreePremium
The whole library and all key figures✓✓
Grades and comparison with simply owning the index✓✓
One complete strategy with PRT code as a sample✓✓
Explanation and exact rules for every strategy–✓
PRT code and export for every strategy–✓
The portfolio tool–✓
Notifications about promising new strategies–✓
Premium

Everything unlocked

3 999 kr (≈ €364)/ year incl. VAT

about 333 kr (≈ €30) per month

Launch offer: 2 999 kr (≈ €273) for the first year
24 of 25 spots left. Then 3 999 kr (≈ €364) per year.
  • PRT code and export for every strategy
  • Exact rules and parameters
  • The portfolio tool with optimization and analysis
  • Notifications when promising new strategies are found
Buy PremiumOr start for free

Secure payment via Stripe · the subscription can be cancelled · instant delivery

Strategy Library or the ProfitAlgos webshop?

Two different products from ProfitAlgos. The library is for you if you want to understand and build on your own. The webshop is for you if you want ready-made algorithms to run.

You are here

Strategy Library

  • A library of strategies you can study, compare and build on.
  • You get exact rules and ProRealTime code (with a paid account) that you review, change and test yourself in ProBacktest.
  • The figures are historical tests on IG prices, marked PRT verified where they have been compared with a real run.
  • Free to browse. A one-year paid account gives you the code, the export and the portfolio tool.
Ready-made algorithms

ProfitAlgos webshop

  • Ready-made algorithms for ProRealTime and IG that ProfitAlgos trades live.
  • You choose algorithms and size in the webshop and see the margin requirement for your own portfolio before you buy.
  • Results are reported openly from the live account, month by month, at profitalgos.com/results.
  • Subscription for 6 or 12 months. The discount grows the more algorithms you choose.

See the webshop → See the live results →

Neither is investment advice. Past results do not predict future results, and trading leveraged products can lead to rapid losses.

Frequently asked questions

What is the ProfitAlgos webshop and how does it differ from the Strategy Library?

The webshop at profitalgos.com sells ready-made, live-traded algorithms for ProRealTime and IG that you run as they are. The Strategy Library is a library where you study strategies and get the code to build on yourself. The webshop's results are live results reported openly at profitalgos.com/results. The library's figures are historical tests on IG prices.

Do I need the Strategy Library if I already buy algorithms in the webshop?

No, they work independently of each other. The library is for you if you want to understand how strategies are built, compare ideas or write your own. The webshop is for you if you want ready-made algorithms without building anything.

Can I see the strategies without paying?

Yes. After free registration you see the whole library and all key figures. For most strategies the explanation and exact parameters are partly hidden until you have a paid account.

What do I get with a paid account?

PRT code and export for all strategies, exact rules, the portfolio tool and notifications about promising new strategies. The subscription lasts one year and can be cancelled at any time.

Which ProRealTime version do I need?

A ProRealTime account that can run custom strategies in ProBuilder and ProBacktest. The service is independent of ProRealTime, so always check the code in ProRealTime's own editor before using it.

Does the code work on futures?

The code is written for and tested on CFD and spread-betting prices (IG), not on futures. Futures have different prices, contract sizes, fees, rollover and trading hours. You can adapt the code for futures yourself, but the results in the library do not apply to them.

How do I know the code does what it should?

Every file has a header with the spread setting, start date and expected figures. The PRT verified label means the trades were compared with a real ProBacktest run. Where that has not been done, the file says so.

Is this investment advice?

No. Everything is a basis for your own studies and coding, not a recommendation to buy or sell. Past results do not predict future results. Trading leveraged products can lead to rapid losses.

How often is the library updated?

Continuously. New strategies and new price data are added automatically, and paying members get an email when something new meets our strict rules.

Can I get a refund?

Because delivery starts immediately you waive the right of withdrawal at purchase (digital content). This is stated at checkout and in the terms.

See what it looks like — free.

Create an account in a minute and open the whole library. If you want the code right away, it is just as quick.

Prefer ready-made algorithms to building your own?

At ProfitAlgos you can choose from our live-traded algorithms for ProRealTime and IG and put together your own portfolio in the webshop.

Go to the ProfitAlgos webshop →

Read the difference between the library and the webshop →

Create free account