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

RE: [amibroker] market position



PureBytes Links

Trading Reference Links




A number of ways can be 
used, here is a couple that might work
 
AmILong =  
flip(buy,sell)
If <SPAN 
class=458441703-29122003>AmILong==1, then you are 
long
 
Another would be using 
BarsSince
 
AmILong = barssince(buy) 
< barssince(Short); would give you 1 for long, 0 for 
short
Cheers,Graham<A 
href="">http://groups.msn.com/asxsharetrading<A 
href="">http://groups.msn.com/fmsaustralia 


  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Sidney Kaiser 
  [mailto:s9kaiser@xxxxxxxxxxx] Sent: Monday, 29 December 2003 11:01 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  market position"I want to know or test somehow if I 
  am long"That should read I want know, or test somehow, to see if I am 
  long.In Tradestation there is a function  
  MarketPosition()I could write: if MarketPosition() = 1  then take 
  some actionIs there some technique in AB that would provide the same 
  position information?TIASid 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 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


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.