[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[system-traders] Buy Sell Arrows
Gday,
Ive just started using GT so be kind ;)
Following Oliver's tutorial [0] im stuck trying to produce Buy Sell
Arrows with graphic.pl. My syntax is as follows
$ ./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.
Looking at Systems/Generic:36 i see
if ( $self->{'args'}->get_arg_values($calc, $i, 1) == 1)
{
return 1;
}
What is get_arg_values() suppose to return? Ultimately, how can i
resolve this issue?
--
Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au
[0] - http://www.olfsworld.de/projects/gt/doc/