This function is available on the Add Study window and in the Formula Toolbox.
Native Currency to Price converts US Dollars to price units. There are two forms:
• Dollar2Price(X) converts X to price units using the currents contract for the price scale.
For example: Low(@) –Dollar2Price(2000) returns a price line equivalent to $2000 under the low of the bar or 2000 ticks.
• Dollar2Price(y,x) converts X to price units, using y for the price scale.
For example: Low(@)-Dollar2Price(SP,2000) returns a price line $2000 under the low using SP price scale. This would translate into 800 ticks under the low.
Example: DollarToPrice(@)
This function has no parameters.