[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (please reduce message size) was [amibroker] Re: Real-Time Trading System Examples



PureBytes Links

Trading Reference Links

Hi Jason.
 
Try other stocks/futures/whatever.  If there are no patterns found, nothing plots.  Scroll through a few stocks and you should see either a blue pattern (bullish), or a red pattern (bearish) plot eventually.  On 1500 bars of stock data I get maybe 1-2 on average.
 
Daniel


On Mon, 12 Apr 2004 08:23:49 -0700 (PDT), Jason Hart wrote:
> Am I missing something?  When I set this up in IB all I get is a
> bar chart of the current security.  I remember this from a TASC
> article about three years ago and the excel instructions;  this
> will be a pretty sweet code if I can get it working correctly.
>
> Jason 
>
>
> aff392 <aff392@xxxxxxxxxxx> wrote:
>
>
> Daniel,
>
>
> Very nice translation of the Gartley code.   I changed your for
> loop to only calculated the last 200 bars for my slower computer. 
> I have price back to 1982 so it was doing for loops of 5000+ bars!
>
>  for(Bar =50; Bar < BarCount; Bar++);
>  for(Bar = (BarCount-200); Bar < BarCount; Bar++);
>
>
> Does anyone know if we can attach calculated text to line arrays so
> X, A, B, C and Fib values can be added to IB via code.
>
> Thanks again for your translation.
>
>
> Arthur
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Daniel Ervi" <daniel@xxxx> wrote:
>
>> See http://www.amibroker.com/library/formula.php?id=347.
>>
>>
>> Daniel
>>
>>
>> ----- Original Message -----
>> From: "PW" <pwraceochmotor@xxxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Friday, April 09, 2004 3:37 PM
>> Subject: [amibroker] Re: Gartley Patten AFL
>>
>>
>>> Hi Daniel, i can not read the attachements. Can you please place
>>>
> the
>>> AFL code in the message or even better load it into AB AFL
>>>
> library
>>> at http://www.amibroker.com/library/
>>> I would like to try the code:-)
>>> Thanx /P
>>> --- In amibroker@xxxxxxxxxxxxxxx, "Daniel Ervi" <daniel@xxxx>
>>>
> wrote:
>>>> Hi All,
>>>>
>>>>
>>>> Had some time to play around today, so I translated some
>>>>
> Wealth-
>>> Lab code to AFL to scan for the Gartley pattern.  Maybe
>>> somebody will find it of use.
>>>
>>>>
>>>> Note that the code will find close matches to Gartley's, but
>>>>
> they
>>> are not 'strict' Gartley's, so you may need to filter the
>>>
> results.
>>> But it still beats calculating the ratios by hand.  The time
>>>
> ratios
>>> between swings is also not taken into account, and I set it up
>>>
> as an
>>> indicator only.  With a little more code you could turn this
>>>
> into a
>>> scan or trading system, but I leave that to the resident AFL
>>>
> gurus.
>
>>>>
>>>> For more information on these patterns, you can go to
>>>>
>>> http://www.harmonictrader.com or http://www.tradingtutor.com. 
>>> Or you can use google to find many a page detailing the
>>> pattern's specifics.
>>>
>>>>
>>>> Enjoy the long weekend!
>>>>
>>>>
>>>> Daniel
>>>
>>>
>>> Send BUG REPORTS to bugs@xxxx
>>> Send SUGGESTIONS to suggest@xxxx
>>> -----------------------------------------
>>> Post AmiQuote-related messages ONLY to:
>>> amiquote@xxxxxxxxxxxxxxx (Web page:
>>> http://groups.yahoo.com/group/amiquote/messages/) --------------
>>> ------------------------------ Check group FAQ at:
>>>
>> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>>
>>> Yahoo! Groups Links
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/) -------
> -------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/) -------
> -------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups Links
>
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/