[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Re: BuySellArrows.pm Trigger Prices
- To: devel
AT
geniustrader.org
- Subject: [GT] Re: BuySellArrows.pm Trigger Prices
- From: Chia-liang Kao <clkao
AT
clkao.org>
- Date: Thu, 12 Nov 2009 13:27:59 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=0Xgjp9Q0Ak7eAJA2RB7ZUGieM+URvYYyPOg/knJbkLM=; b=m9Z51j9pdPrcdS500y13agVxMSWOz/eUY5G9FQOxfCVJkymEK6i4ArQCpL3Cc9P3TT QPezsXBpO/XQKo0dnq6ORGdf5W06Dvt2TaM+V6eN2kRHZuiPo23cULWFKWLIf9ID2j/o Yb1QhkUhlwzXUxWIPejGKSdbxE3QkH2qwPU+U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=c7g/TSXBs1OVukjkdJDdMAg6Do6gBQEltDQS8I7bZNSt/Wfw03LOCv3JAc50c9O6+P r+3NRLSRjbTylwvZw3US87iaMlP7SVWCJThOHv3DWMoGWOP5Rvh9oBzeunLF05xYRXkj YTpwJgF+cuQjpKjY7H6Od2wC+/xF3KuSQygzE=
- In-reply-to: <BLU129-W15A43C0386917344434703BBA90
AT
phx.gbl>
- Message-id: <cdd66f110911112127m1ea9c1caje28118dbcd320328@mail.gmail.com> (sfid-20091112_063813_415968_ED0DA8EC)
- Reply-to: devel
AT
geniustrader.org
- Sender: chialiang
AT
gmail.com
Jon.
2009/11/12 Jon Edwards <fornews
AT
hotmail.com>:
> Using graphic.pl and specifying the below add line for BuySellArrows.pm I
> get the arrows as expected.
> What I'd also like to see is the price at which that was triggered; in this
> case it would be when those EMAs cross. Looking at the code I'm having
> trouble trying to understand a couple of things.
If you have a S:Generic-based trigger, the signal is always determined
at the end of the bar, and drawing the arrow near the CLOSE of the bar
should be close enough. What you describe might be more interesting
if you have a ChannelBreakout based trigger, where the triggering
price might not be the end of the bar, and to show this on the chart
you'll need to modify BuySellArrow to accept another price data source
and render the arrows accordingly, which is slightly complicated.
(this answers (2))
> 1) The basic flow from BuySellArrows.pm to invoking e.g. CrossOverUp.pm.
> Does BuySellArrows.pm invoke Generic.pm which in turn invokes CrossOverUp.pm
> ? I'm just not seeing this flow yet.
IIRC all the graph objects are expecting some kind of DataSource, in
this cause it's the system's signal, which is a generic crossoverup
signal.
> 2) There seems to be 2 main structures passed around :Â self and calc.
> CrossOverUp.pm seems to use calc for determining the trigger/arrow price but
> how to get that known in BuySellArrows.pm
>
> --add=BuySellArrows(Systems::Generic {S::Generic::CrossOverUp {I:EMA 3}
> {I:EMA 7}} {S::Generic::CrossOverDown {I:EMA 3} {I:EMA 7}} )
>
> Thank you,
> Jon
>
> ________________________________
> Windows 7: Unclutter your desktop. Learn more.