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
point and point value (5.0 beta 2)
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Re: point and point value (5.0 beta 2)
Hi ts2mc,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
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.