[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Re: RE: Re: BuySellArrows.pm Trigger Prices
- To: devel
AT
geniustrader.org
- Subject: [GT] Re: RE: Re: BuySellArrows.pm Trigger Prices
- From: Chia-liang Kao <clkao
AT
clkao.org>
- Date: Thu, 12 Nov 2009 22:20:58 +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=MFWYdaEzqlLR/6CcJwutgmUqzvFByimgI4J4H0+QIhQ=; b=ZHNpP2UBiDT8YyRbtbwWaXo/ng7CxfXO533nb9CF/hKP5S09xppuuovZCHUp/W6I0E q0mSGjjuyJta4JJpA2ryvxhVQlO4Kl42kJUpFt42uEKAD9IqOiXKLRVQYjg2P/sfbBSB kPVP/LfP6+Qd91oRkH6KFERGJ9dn6G7BftaSU=
- 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=a19bpVPGlSAFRs8ShtI0ywqeL2KDJ6kRPnsN+4+WaHt3c28UWkDr7pN8TfQJz9rfM1 Vf2khFcKKKsIFYDVZVqPLLBfDhh90kzoYNsyJ3LBfjgHQc9Is2ivMKbMWUv4Tr5XOHQY 9J+X1gujBo4Sxnl1pEuVecW7cUs+p5AQmELCs=
- In-reply-to: <BLU129-W857D836325861A4681E2FBBA90
AT
phx.gbl>
- Message-id: <cdd66f110911120620u6e4f5052v56446066cf103b54@mail.gmail.com> (sfid-20091112_153113_079209_B88D67ED)
- Reply-to: devel
AT
geniustrader.org
- Sender: chialiang
AT
gmail.com
2009/11/12 Jon Edwards <fornews
AT
hotmail.com>:
>> 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)
>
> That's exactly what I have in mind to do (e.g. BuySellPricesArrows.pm )
> Where I'm struggling is how to pass this other price data source. Digging
> through
> the code, namely CrossOverUp.pm where the decision is made, it seems I
> would
> want 'calc' but a couple of attempts at doing that have not been successful.
> Any suggestions or examples I can look at for help ?
Actually, I forgot i did some refactoring on an unfinished branch...
see the topic/graphics-improvements branch on my github repo, in
particular the commit:
http://github.com/clkao/finance-geniustrader/commit/2aab2187c5a8f1468478d92411b0b928093fa603
Instead of using the bar high/low directly from prices, it makes the
buysellarrow object taking datasource for high/low (which actually
means sell/buy arrow positioning) for rendering the arrows.
Cheers,
CLK