Tutorials: Programming

Check out the tutorials below to find tutorials on Programming.

Coding a Phase-Based Trailing Stop for Breakout Trading

Breakouts can be brutally profitable, but they’re also where traders get chopped up: price pokes above a level, triggers us…
Feb 03 2026

Risk Management Automation Solutions in ProRealTime: Streamlining Trading Operations

In the fast-paced world of trading, effective risk management is the cornerstone of long-term success. ProRealTime, a powerful trading platform,…
Oct 16 2025

Volatility-Based Indicators: Coding ATR and Bollinger Bands in ProRealTime

In the dynamic world of trading, understanding market volatility is crucial for making informed decisions. Volatility-based indicators like the Average…
Jul 28 2025

Advanced Backtesting Strategies in ProRealTime (part 2)

Backtesting is a cornerstone of successful trading strategy development, allowing traders to simulate how a strategy would have performed using…
Jul 18 2025

Advanced Backtesting Strategies in ProRealTime (part 1)

Welcome to our in-depth guide on elevating your trading game with advanced backtesting in ProRealTime. Whether you’re just starting to…
Jul 17 2025

Mastering ProRealTime: A Step-by-Step Guide to Coding Your Own Custom Indicators

Are you ready to take your trading to the next level? If you’re using ProRealTime, one of the most powerful…
Jul 17 2025

Averaging down techniques in automated trading

Without martingale or averaging down, automated trading wouldn’t have been so popular over the internet in the last years. Promised…
Mar 07 2025

Complete trailing stop code function

  A lot of people on forums asked for an alternative to the embedded trailing stop instruction of Probacktest. So…
Mar 07 2025

Stocks breakouts – find them easily with ProScreener

  Fetching the stocks that may breakout their recent highs is a difficult task when you do not know where…
Mar 07 2025

Statistical trading with normal distribution

  Every instrument has its own price distribution, in this article I deal with the fact that a normal distribution…
Mar 07 2025

Intraday trading strategy using volatility on 2 different timeframes

  Since we want to be on the correct side of price, we often rely on different kind of indicators…
Mar 07 2025

Automated breakout trading strategy on French CAC40

  In this article i would like to present you the automated trading strategy that is describe in the French…
Mar 07 2025

How to improve a strategy with simulated trades – part 1

This new article deals with a code snippet that can improve a strategy by stopping the real trading when the…
Sep 13 2018

Partial closure of positions when price is retracing – A complete function

Now that multi-timeframe support is available for ProOrder, there are many new possibilities for us, including position management in a…
Aug 08 2018

First approach to multi timeframe trading with ProRealTime

Hello everyone, in this article I will present a new feature long awaited by many traders, “multi timeframe” support for…
Jul 03 2018

How to speed up calculation of indicators?

As a trader-programmer you prefer to spend as much time as you can on the premise of your problem; less…
Apr 28 2017

Display profit and loss on price chart with a custom indicator

I made an indicator to display on your chart any strategy performance for a better reading of how indicators can…
Mar 20 2017

Buy and Hold comparison for automated trading strategies

Do my new automated strategy worth to be traded? Is it better than an old “buy and hold” strategy? Let’s…
Jan 16 2017

Overnight fees calculation for ProOrder strategies

In order to calculate the overnight broker fees while testing an automated strategy, I made this little code snippet, that…
Jan 04 2017

Dynamic RGB color matrix for technical indicator

Sometimes we need color changing accordingly to the indicator value, that’s why I created this dynamic color scale matrix that…
Nov 23 2016

Max profit and loss each day in a trading strategy

Resetting each day the daily target profit and maximum allowed loss.
Oct 10 2016

Breakeven code for your automated trading strategy

Since it is also a common request on forums, you’ll find below some examples of breakeven function to be included…
Sep 21 2016

Build a simple indicators dashboard with prorealtime v10.3

Recently on forum, someone ask me how to build a dashboard with multiple indicators informations. While it is not possible…
Aug 23 2016

Signal filtering and smoothing functions

This article deals with some functions that be can used to filter signals of any kind. Each individual code snippet…
Aug 01 2016

Trailing stop with the Max Favorable Excursion (MFE)

I already posted an article about a complete trailing stop function in the blog a short time ago. This time…
Jun 07 2016

Money Management ProRealTime Code

  I’m sharing this small code part, in order to add it to any automated trading strategy in ProOrder.
May 18 2016

Create stoploss with indicator informations in ProOrder

  I have a lot of questions on forums about how can we set a stoploss with values from an…
Apr 18 2016

Debugging in ProBacktest with GRAPH instruction

  While developing with ProBacktest, or any other programming languages, it is always necessary to have a clue of what…
Jan 06 2016

Different kinds of Trailing Stop in ProOrder

  Managing stop loss and risk with opened positions in an automated strategy is primordial. While we secure profit, we…
Jan 02 2016

How to create your own new technical indicator with normalized values

  In this article i’m gonna deliver you an how-to simple normalized oscillator creation method that can be adjusted by…
Nov 21 2015

Practical use of martingale code in automated trading

  When it comes to  automated trading, we often read that no automated strategy can be as good as a…
Oct 31 2015

Avoid equity curve fitting with ProBacktest trading strategy optimisation

  Optimisation of a strategy is a major part of automated trading development. Despite its simplicity with the ease of…
Oct 22 2015
Logo Logo
Loading...