ProRealTime documentation

The MedianPrice constants give the value of the last average of the high and the low.

Syntax:

 

Example:

Smoothing the price information with less noises with the MedianPrice value :

 

Mathematical function “Minimum”. Return the minimal value between two variables a and b.

Syntax:

 

Example:

 

Represents the minute of each bar loaded in the chart.

Syntax:

 

Example:

Retrieve the timeframe of the current chart

Are we on last half-hour?

 

Mathematical function “remainder of the division” of A divided by B

Syntax:

 

Return value of the Momentum technical indicator of the Nth bar : (close – close of the N-th last bar).

Syntax:

Calculation:

It is obtained by substracting the x days before Close from today’s Close. X is the parameter associated with Momentum. (more…)

Return value of the Money Flow indicator, over the last N periods for selected price. Values are bounded between -1 and 1.

Syntax:

 

Example:

 

Return value of the Money Flow Index indicator, over the last N periods.

Syntax:

Calculation :

Money Flow = [typical price * volume] = [(H+L+C)/3 * volume]

If the median price > yesterday’s median price then Money Flow is a positive flow.

If the median price < yesterday’s median price then Money Flow is a negative flow.

Then calculate the money ratio :

MR = (MF+ / MF-)

MFI = 100 – [100 / (1+ MR)]

(more…)

Represents the month of each bar loaded in the chart.

Syntax:

 

Example:

 

Ending instruction of FOR loop.

Syntax:

 

Example:

 

Designates an order to be executed on the open of the next bar.

Syntax:

 

Example :

 


Top