|
Quote: |
|
 |
|
|
Hi Walter, The code will not verify in 2000i. I think some of the functions are not quite the same, for example it doesn't seem to recognise what the line
"SDev = StandardDev(Price, Length, 1);" is.
either the term Satandarddev or the ( variables in the brackets)
Will investigate further but if you have any suggestions I would be grateful.
Thanks |
|
|
|
|
ok dovee, you have to create a function with the exact name : Standarddev
then paste this:
{ Standard Deviation of Population or Sample }
inputs:
Price( numericseries ),
Length( numericsimple ),
DataType( numericsimple ) ; { pass in 1 if you are working with the entire
population, and 2 if you are working with a sample and want the
SD for the
population }
Value1 = VariancePS( Price, Length, DataType ) ;
if Value1 > 0 then
StandardDev = SquareRoot( Value1 )
else
StandardDev = 0 ;
{ ** Copyright (c) 1991-2003 TradeStation Technologies, Inc. All rights reserved. **
** TradeStation reserves the right to modify or overwrite this analysis technique
with each release. ** }
then verify function.... after that go open and an verify again _bbsqueeze indicator... try it if again error tel me maybe need more functions. cheers Walter