[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [system-traders] graphic.pl question
Hi,
when an indicator returns more than one result, you can use the following syntax:
--add=Curve(Indicators::MACD/1, [255, 0, 0])
--add=Curve(Indicators::MACD/2, [0, 255, 0])
The same applies to other indicators, like Bollinger Bands, Keltner Channel or ADX, which return more than one value per period.
-----Original Message-----
From: Kevin Kim [mailto:kykimnyc
AT
mac.com]
Sent: Tuesday, May 04, 2004 5:46 PM
To: system-traders
AT
geniustrader.org
Subject: [system-traders] graphic.pl question
So my graphic.pl conf file looks like this:
#
# conf.graphic - configuration file for graphic.pl
#
# price chart
--title=conf1
--type=barchart
# space
--add=New-Zone(25)
# MACD chart
--add=New-Zone(100)
--add=Set-Scale(-5,5)
--add=set-title(MACD,tiny)
--add=Curve(Indicators::MACD)
--add=Histogram(Indicators::MACD)
I want the MACD portion to graph the Fast Line and the Signal Line (look at http://clearstation.etrade.com/ for an example).
Obviously I need to change my conf file, but I am unsure how.
Do I need to extend GT? Can anyone offer any advice?
-kevin