ProRealTime documentation

The PRINT function is used to display the variable value for each candle in a table. Like the GRAPH and GRAPHONPRICE instructions it is intended to help debugging.

(more…)

Set a target profit of x units of the current instrument.

Price unit is equal to POINTSIZE

(more…)

Returns the PRT Bands lowest band.

Syntax:

Example: 
Plot a down arrow above the candlestick when the Close crosses under the lowest band

Returns the PRT Bands mid term band

Syntax:

Example: 
screener that list all shares that mid term band is suddenly ascending while it was resting at the same price during the last 5 bars.

 

Returns the PRT Bands short term band

Syntax:

Example: 
screener that list all shares that short term band just made an ascending hook.

 

Returns the PRT Bands highest band.

Syntax:

Example #1:

Detect the trend change (from bearish to bullish trend), channel change from red to green

 

Example #2: 
Plot a up arrow below the candlestick when the Close crosses over the upper band

Return value of the Price Volume Trend indicator also knows as PVT, for a selected price.

Syntax:

Calculation :

%var = (close – yesterday’s close) / (yesterday’s close)

PVT = %var * today’s volume + yesterday’s PVT

(more…)

Instruction used to stop a trading system. All opened, stop and limit orders are close when the instruction is used.

Stopped strategy with the QUIT instruction cannot be re-launched automatically by code. Only a manual intervention can do it.

Syntax:

 

Example1 :

Stop the automated trading program at 22:00 if we are short on market.

 

Example2 :

Stop the strategy if the actual profit is losing 200 of the money account.

 

Return the R-Squared indicator value over the last N periods (error rate of the linear regression on price).

Syntax:

 

Example:

 

Returns a random integer number located between 2 fixed limits. (more…)


Top