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

Re: [amibroker] Plotshapes for specific date/time; use of adodb.recordset obj



PureBytes Links

Trading Reference Links

Actualy, It would probably be easier to import the signals as a Ticker 
(Composite) and then check for matching dates.

ie
Buy = IsTrue(Foreign("~buy","BuySignals"));
Sell = IsTrue(Foreign("~sell","SellSignals"));
PlotShapes( shapeUpArrow * Buy, colorGreen );
PlotShapes( shapeDownArrow * Sell, colorRed );

I think that should work.....


At 10:59 PM 13/08/2003 +1000, you wrote:
>What about creating an array with just the dates of the trades,
>Then have a looped filter checking the current bar date to the dates in the
>array.
>When they match , ShowArrow.
>
>Michael.
>
>
>At 02:20 AM 13/08/2003 +0000, you wrote:
> >Hi,
> >
> >Basically, I've got an access database of trade signals, and I'd
> >like to chart the signals (buy arrows) on AB charts. I've struggled
> >with two issues. The first is using the recordset object. I can
> >create it, open it and call methods without any errors. I can't seem
> >to access any properties, however, as in EOF and RecordCount. I get
> >syntax errors when I do, and adding parantheses gives "method
> >failed" errors. I can use EnableScript("jscript") and process the
> >recordset there, but I'd prefer not to. Anyone have experience with
> >this?
> >
> >The second thing I have to solve is plotting the buy arrow shapes on
> >specific dates. The solution that has occurred to me is, simply,
> >create an array with the same number of elements as there are bars,
> >and set the elements that correspond to the desired dates to true.
> >I'm just wondering if there's a quicker way I'm not thinking of.
> >
> >Gordon
> >
>
>
>
>
>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
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



------------------------ 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/l.m7sD/LIdGAA/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 

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