[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Re: Re: BuySellArrows.pm Trigger Prices
- To: devel
AT
geniustrader.org
- Subject: [GT] Re: Re: BuySellArrows.pm Trigger Prices
- From: Chia-liang Kao <clkao
AT
clkao.org>
- Date: Fri, 13 Nov 2009 09:50:56 +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; bh=CpezFr/vIiPEgmdXT9iz4Galz3UcKyxu25v2m1xeFCQ=; b=cj0kGQhuLD68gptKjgrA5QagdUhJtFbKB+txGspmoxaaJYRDKx60yGct8nf/JyekVB k6zJgNYLT69MtpsTVIHF9v+WTC5nr7Hsy+KNa1NBYGJVbqf6IJzOSZFQayOCvaqBKRQV 1EU3MeGdhPXzp3IPdHuwcU3ctVu3gYZwUMbWQ=
- 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; b=qBk5d7b3/6gjDNJsOrlloRzK3WpH93kmVCbNEPP3ohf+pMbTbwAOUHLSditYnKbglZ Ci5xEQ3ON12G38SIo1UnI9eFFga2jzIAJgU3QJI0NsVhjRWDqESstzDuaz1LreBkNAQ5 eGT37+/8s92OtcfVsMOFQBnfoSU5KqJjOzAy4=
- In-reply-to: <4AFC5B50.40306
AT
acm.org>
- Message-id: <cdd66f110911121750o441fc42di6c799130ac86c0eb@mail.gmail.com> (sfid-20091113_030117_019094_F5094F81)
- Reply-to: devel
AT
geniustrader.org
- Sender: chialiang
AT
gmail.com
Hi Robert,
Thanks for looking!
2009/11/13 Robert A. Schmied <ras
AT
acm.org>:
>> 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
>>
>
> CLK and jon
>
> i evaluated the referenced changes clk made to BuySellArrows, but found the
> changes to the api made it unusable with respect to the original version. in
> addition i also dislike slipping in yet another otherwise unannounced perl
> prerequisite (is it even necessary? meaning is there a way we could avoid
> requiring these versions of min and max?). never the less i've been
> intending to
> query clk to better explain how to use it and request that it be given a
> different name.
First of all, I should have pointed at the branch and diff that is
ported to CPAN branch:
http://gist.github.com/233510
(you can also fork from:
http://github.com/clkao/finance-geniustrader/tree/CPAN/topic/graphics-improvements)
so right, it was work in progress and it didn't work well yet. It
might be better to simply converge the two modules and factor out the
same code (having the old prices_ds usage passed for a function taking
high_ds, low_ds). I think my original intention was for this
graphics::object module to fallback to the old behaviour if only
prices_ds is given. It depends on how we drive from graphics.pl... In
any case I'd like to see the two modes sharing code base.
And also List::Util has been in perl core since 5.7.3, so it's not
quite an external dependency.
> within this thread jon provided the name so with the hacks i've made since
> and
> just now are included in the newly christened graphic object
> BuySellPricesArrows.
> i've left the keys used to control the colors unchanged, but don't object if
> they are altered to be specifically for BuySellPricesArrows.
>
> if someone can finish it (e.g update pod, correct usage examples, and
> provide
> changes needed to drive it via graphic.pl and or backtest.pl) it could be
> another
> useful graphic object ...
>
>
> aloha
>
> ras
>