PointValue is a scalar. You should rather use BuyPrice/SellPrice/CoverPrice/ShortPrice for that purpose.
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "dralexchambers" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, February 22, 2007 7:44 PM Subject: [amibroker] Is PointValue an array? > I've tried altering the PointValue for each Buy signal with the > following: > > vls = An array created to mimick spread betting (this contains a > Pointvalue per point of movement depending on the distance between > the onstop buy order and initial stop loss) > > Pointvalue = IIf(Buy, vls, 0); > > And this doesn't work. > > Is PointValue a static variable and not an array? Or am I barking up > the wrong tree? > > Cheers - Alex > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups - Join or create groups, clubs, forums & communities. Links > > > > >
