ProRealTime documentation

Return value of the Relative Strength Index indicator, also known as RSI, over the last N periods of the selected price.

Syntax:

Calculation :

RSI (on n period) = 100 * average of n days up / (average of n days up + average of n days down)

(more…)

Return value of the SAR parabolic indicator.

Syntax:

Calculation :

SAR points are calculated from both prices and time.

The parameters are the initial acceleration factor (typically 0.02), the addition factor (typ. 0.02) and the acceleration factor limit (typ. 0.2).

(more…)

Return value of the smoothed SAR parabolic indicator.

Syntax:

 

Example:

 

Display results of the ProScreener (ProScreener command only).
Syntax:

where :
  • “conditions” can be be a single one or multiple ones and unified by any operators (AND, OR, ..)
  • “sorting criteria” can be any values previously calculated within a variable (optional in SCREENER instruction)

(more…)

Return the number of seconds of the current hour of the candlestick (same as “hour” and “minute” but for the seconds)

(more…)

Instruction to close a long position.

Syntax:

 

Example :

 

Instruction to open a short position.

Syntax:

 

Example :

 

SenkouSpanA

ProRealTime v11

Returns the SenkouSpanA value (component of the “ichimoku kinko hyo” indicator), part of the cloud.

Syntax:

SenkouSpanA is an average of the Tenkan and Kijun line projected 26 periods forward, in the form of extension. It is therefore traced beyond the current price.

(more…)

SenkouSpanB

ProRealTime v11

Returns the SenkouSpanB value (component of the “ichimoku kinko hyo” indicator), part of the cloud.

Syntax:

SenkouSpanB is an average of the highest and the lowest of the last 52 periods, projected 26 periods forward, in the form of extension. It is therefore drawn beyond the current price.

(more…)

Determines the type of order: either target or stop.

You should look at the “SET TARGET” and “SET STOP” function in the documentation:

“SET”‘ is an instruction used to set TARGET and STOP LOSS:

http://www.prorealcode.com/documentation/target/

http://www.prorealcode.com/documentation/stop/

 


Top