Category: Developer Code Library

Prorealtime Automated Trading Strategies And Training

Prorealtime Money Management Bar Hunter Version

The code incorporates: Position sizing Flat stakes switch Quit rule Min and max position sizing Reinvestment rules In order to calibrate the system run with flat size and £1 per point and take the draw down value from the report and update the DDM figure Generally existing codes will have command lines to buy “n”…
Read more

Stalker ATR Based Trailing Stop

The Stalker ATR Based Trailing Stop was developed as a step of developing the Bar Hunter RB Mod System The stop loss has an in built step up for long positions and down for short positions once passing a trigger level If the calculate stop loss is outside of a upper or lower ATR band…
Read more

Stalker ATR Based Trailing Stop

This video discusses how the Stalker ATR Based Trailing Stop works along with discussing the Prorealtime graph function The Stalker ATR Based Trailing Stop was developed as a step of developing the Bar Hunter RB Mod System The stop loss has an in built step up for long positions and down for short positions once…
Read more

Prorealtime Harmonic Indicators – ABCD Pattern

What Is An ABCD Pattern? The ABCD Pattern uses Fibonacci values to determine potential reversal zones in which there is a high chance of a change of market direction. Once identified such patterns can create high reward to risk opportunities when trading forex and indices across multiple time frames. An ABCD pattern comprises of two…
Read more

% Based Trailing Stop V2

Overview The trailing stop combines a starting point and step value based on a percentage of the price with a new price being calculated at the close of each bar. It is a version of the swing trading trailing stop but has been changed so that the trailing stop will move up if the position…
Read more

Confirming A Signal

Overview Often with Prorealtime Trading Systems a number of indicators are combined to create an entry signal with a couple of filters added to only take them at certain times or above technical levels but sometimes and indicator can require confirmation. Such examples include the Harmonic Trading Patterns whose signal create a reversal zone and…
Read more

How To Account For Open Positions When Position Sizing

Overview This code allows for accumulate orders = true to be used in conjunction with limits on how many contacts will be traded Variables ONCE maxPositionSizePerTrade = 6 // maximum size per trade ONCE maxPositionSizeLong = 9 // maximum size for a long position ONCE maxPositionSizeShort = 9 // maximum size for a short position…
Read more

Find Time Based Highs and Lows

Daily Highs And Lows // calculate daily high/low (include sunday values if available) dailyHigh = DHigh(1) dailyLow = DLow(1) previousDailyHigh = DHigh(2) Weekly Highs And Lows // calculate weekly high If DayOfWeek < DayOfWeek[1] and lastweekbarindex = 0 then lastWeekBarIndex = BarIndex else if DayOfWeek < DayOfWeek[1] then weeklyHigh = Highest[BarIndex – lastWeekBarIndex](dailyHigh) weeklyLow =…
Read more

Seasonal Position Sizing

Overview This code allows for the position size to be updated via a multiplier to account for seasonal trends, with a split value between the beginning and end of the month Seasonal position sizing is not something that I have used before as it has not seemed necessary but I do know of people who…
Read more

Close After X Candles

Overview This code was first used for swing trading systems to either close out break out trades in profit before they reversed or to close out unprofitable breakout failures ahead of taking the full loss of the stop loss The code allows for a number of bars of profitable and unprofitable trades before a close…
Read more