Price to Native Currency (P2D)

This function is available on the Add Study window and in the Formula Toolbox.

Price to Native Currency converts price units to US dollars.

There are two forms:

      Price2Dollar(X) converts X to dollars using the current contract scale.

For example: Price2Dollar(High(@)-Low(@)) returns the range of the bar in dollars.

      Price2Dollar(y,x) converts X to dollars using a specific price scale (Y) different than the one on the chart.

For example: Price2Dollar(SP,High(@)-Low(@)), if applied to a NASDAQ (ND) chart, returns the price of the trading range of the NASDAQ futures bar using the SP price scale.

Example: PriceToDollar(@)

 

Parameter

Description

Price

Price used for calculation.