point and point value (5.0 beta 2)

Questions about MultiCharts and user contributed studies.
ts2mc
Posts: 122
Joined: 12 Jan 2009
Been thanked: 1 time

point and point value (5.0 beta 2)

Postby ts2mc » 13 Jan 2009

hello,
have a problem with point. pointvalue is ok.
this statements gets an error:

Print(Symbol," pv=",NumToStr(PointValue,5)," p=",NumToStr(Point,5));

------ Compiled with error(s): ------
syntax error, unexpected 'point', expecting ')'
errLine 1, errColumn 59, errLineEnd 1, errColumnEnd 59

what do i wrong please ?

it seem's the point is unknown in PL. this is no problem as i can
use 1/PriceScale for Point.
however, it seems that pointvalue (i thought the value of a minimum price movement) and point (the minimum price movement itself) always return
the same.
anyone know, why ?

thank you for reply

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 13 Jan 2009

i don't think POINT is supported in MC.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Re: point and point value (5.0 beta 2)

Postby Marina Pashkova » 14 Jan 2009

hello,
have a problem with point. pointvalue is ok.
this statements gets an error:

Print(Symbol," pv=",NumToStr(PointValue,5)," p=",NumToStr(Point,5));

------ Compiled with error(s): ------
syntax error, unexpected 'point', expecting ')'
errLine 1, errColumn 59, errLineEnd 1, errColumnEnd 59

what do i wrong please ?

it seem's the point is unknown in PL. this is no problem as i can
use 1/PriceScale for Point.
however, it seems that pointvalue (i thought the value of a minimum price movement) and point (the minimum price movement itself) always return
the same.
anyone know, why ?

thank you for reply
Hi ts2mc,

The syntax in your code should be changed as follows (you need to indicate the number of points):

-----------------------------------

Print(Symbol," pv=",NumToStr(PointValue,5)," p=",NumToStr(1 Point,5));

-----------------------------------

Point value and point do not always return identical values. PointValue = BigPointValue/PriceScale and Point = 1/PriceScale
Whether those values are the same depends on BigPointValue.



Regards.


Return to “MultiCharts”