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

RE: [trading] Re: [amibroker] ValueWhen(Ref()) question



PureBytes Links

Trading Reference Links

LastValue(valuewhen(Buy,Close));

herman
  -----Original Message-----
  From: Beachie [mailto:beachie41@xxxxxxxxxxx]
  Sent: Tuesday, September 14, 2004 8:28 AM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: Re: [trading] Re: [amibroker] ValueWhen(Ref()) question


  Thanks Anthony....not what I was wanting to hear though :(
  Do you (or anyone for that matter) have any ideas how I can retrieve the
value of the
  Close of the last Buy that was traded on?


  ----- Original Message -----
  From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
  To: <amibroker@xxxxxxxxxxxxxxx>
  Sent: Tuesday, September 14, 2004 10:19 PM
  Subject: [trading] Re: [amibroker] ValueWhen(Ref()) question


  >I read it as this.....
  >
  > Give me the value of the close when the Buy was the day before....
  > ----- Original Message -----
  > From: "Beachie" <beachie41@xxxxxxxxxxx>
  > To: <amibroker@xxxxxxxxxxxxxxx>
  > Sent: Tuesday, September 14, 2004 6:44 AM
  > Subject: [amibroker] ValueWhen(Ref()) question
  >
  >
  >> Just some clarification please for the following:
  >> ValueWhen(Ref(Buy,-1),C)
  >> Does this return the Close value of the last time a Buy was actually
  >> executed, or does it
  >> return just the last Buy signal, regardless whether there was still a
  >> trade open before
  >> that? In other words I wish to only reference the last Buy signal that
  >> actually caused me
  >> to enter a trade, despite subsequent Buy signal positives.
  >> cheers
  >>
  >>
  >>
  >>
  >> Check AmiBroker web page at:
  >> http://www.amibroker.com/
  >>
  >> Check group FAQ at:
  >> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  >> Yahoo! Groups Links
  >>
  >>
  >>
  >>
  >>
  >
  >
  >
  >
  > Check AmiBroker web page at:
  > http://www.amibroker.com/
  >
  > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  > Yahoo! Groups Links
  >
  >
  >
  >
  >
  >
  >



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

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

    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/