[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [system-traders] Buy Sell Arrows
On Thu, Jul 14, 2005 at 08:35:44PM +1000, Rene Cunningham wrote:
> $ ./graphic.pl --add="Curve(Indicators::EMA 5,[255,0,0])" \
> --add="Curve(Indicators::EMA 20,[0,0,255])" \
> --add=BuySellArrows"(Systems::Generic Signals::Generic::CrossOverUp
> {I:EMA 5} {I:EMA 20} Signals::Generic::CrossOverUp {I:EMA 5} {I:EMA
> 20} )" TLS.AX > TLS.png
>
> The errors the command produces are as follows
>
> Argument "Signals::Generic::CrossOverUp" isn't numeric in numeric eq
> (==) at ../GT/Systems/Generic.pm line 36.
> Argument "Signals::Generic::CrossOverUp" isn't numeric in numeric eq
> (==) at ../GT/Systems/Generic.pm line 36.
Ignore this. Ive solved the problem by adding a few more {}'s.
My BuySellArrow line now looks like
--add=BuySellArrows(Systems::Generic {Signals::Generic::CrossOverUp
{I:EMA 5} {I:SMA 20}} {Signals::Generic::CrossOverUp {I:SMA 5} {I:SMA
20}} )
Cheers ;)
--
Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au