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

[amibroker] Creating an Array of only Tuesday's data.



PureBytes Links

Trading Reference Links




Thanks 
Ara, that worked and indeed the detection is live, I used this 
code:

LC = LastValue<FONT 
size=2>(C);Trigger = <FONT color=#0000ff 
size=2>Param(<FONT color=#ff00ff 
size=2>"Trigger",LC,<FONT color=#ff00ff 
size=2>0.95*LC,<FONT color=#ff00ff 
size=2>1.05*LC,<FONT color=#ff00ff 
size=2>0.001);<FONT color=#0000ff 
size=2>WriteIf(Trigger>C,<FONT 
color=#ff00ff size=2>"CrossedTrigger",<FONT 
color=#ff00ff size=2>"DidNotCross");<FONT 
color=#0000ff size=2>Plot(Trigger,<FONT color=#ff00ff 
size=2>"Trigger",<FONT color=#ff00ff 
size=2>1,1<FONT 
size=2>);Plot<FONT 
size=2>(C,"Close"<FONT 
size=2>,1,<FONT 
color=#ff00ff size=2>124);<SPAN 
class=078351521-19032004>take 
care,
<FONT face=Arial color=#0000ff 
size=2>herman.

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Ara Kaloustian 
  [mailto:ara1@xxxxxxxxxx]Sent: Friday, March 19, 2004 4:12 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  Response to streaming RT DataImportance: High
  Herman I beleive triggers are on real time ... 
  not end of bar ... you can easily test ...
   
  write someting to the Interpretation window 
  (Close price) and set the chart to 5 minutes (or longer). You should see the 
  printout change with every tick while still in same bar
   
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    Herman van den 
    Bergen 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">AmiBroker YahooGroups 
    Sent: Friday, March 19, 2004 12:33 
    PM
    Subject: [amibroker] Response to 
    streaming RT Data
    
    When i look at 
    the RT Minute chart in AB I can see the last bar "develop" as streaming data 
    comes in, when one minute has elapsed a new bar forms.
    <SPAN 
    class=046522720-19032004> 
    I would like to 
    know whether, if I set a trigger level in afl, breach of this trigger level 
    can/is detected "before" the bar is completed, i.e. before the minute is 
    up.
    <SPAN 
    class=046522720-19032004> 
    Would anybody 
    know how this works?
    <SPAN 
    class=046522720-19032004> 
    I know we can 
    create a Tick DB, but that doesn't answer the question.
    <SPAN 
    class=046522720-19032004> 
    <SPAN 
    class=046522720-19032004>TIA,
    <SPAN 
    class=046522720-19032004>Herman.
    <SPAN 
    class=046522720-19032004> 
    <SPAN 
    class=046522720-19032004> Send BUG 
    REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
    SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    


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 Sponsor


  ADVERTISEMENT 












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.