ProRealTime documentation

KeltnerBandUp

ProRealTime v11

Returns the Keltner Band upper line value.

Syntax:

Where:

  • period= calculation period of the Keltner Band

(more…)

KijunSen

ProRealTime v11

Returns the KijunSen value (component of the “ichimoku kinko hyo” indicator).

Syntax:

Kijun Sen represents the average point of the last 26 periods. This is the average of the highest and lowest of the last 26 periods (last 26 candlesticks).

(more…)

LastSet

ProRealTime v11

Returns the last index of the array defined by the code. If no index was previously defined, the function returns -1.

Syntax:

where $var is the name of the variable array.

Instruction introducing a limit order in x units. Pending orders must be re-placed at each new bar.

Syntax:

 

Example :

 

Return the LinearRegression value of selected price over the last N periods.

Syntax:

This indicator represents the buyers and sellers who trade away from the equilibrium price.

The equilibrium could be compared to this lenearRegression line.

In order to limit extreme prices relative to thisequilibrium price it is worth plotting the raff channel which will represent the straight Linear Regression line and two supposed extreme lines to represent maximum variations.

Suggestion:

You could use this script in ProBuilder to display the Linear Regression Oscillator. You should make a copy pasting in ProBuilder REM Linear Regression

a=LinearRegression[10](close)

REM close

b=close

REM linear Regression Oscillator

c=b-a

return c

Example:

 

Return the Linear Regression Slope value of selected price over the last N periods.

Syntax:

This indicator represents the direction of the trend.

If the indicator rises above the 0 level, then we are in an uptrend and when the indicator falls below the 0 level, then we are in a downtrend.

The higher the indicator is the more the trend is important

With this indicator, we suggest that you use the R squared to confirm the trend.

Example:

 

Mathematical function “Neperian logarithm” of ‘a’ value.

Syntax:

 

Indicates whether you have open long positions or not.

Syntax:

 

Example :

 

Allows to know if a Long position has been opened on the candlestick N (N optional by default at 0). (more…)

Set a stop loss x units from the average position price.

Syntax:

 

Example :

 


Top