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

RE: [amibroker] Need help with "Short" function please



PureBytes Links

Trading Reference Links




The 
applystop puts a number other than 1 in the appropriate array (cover, sell) so 
just test for anything > 0 in those and then set the buy, short to 
1.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: gosub283 
  [mailto:gosub283@xxxxxxxxx] Sent: Friday, October 10, 2003 12:14 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Need 
  help with "Short" function pleaseHi All,I 
  have a case where I want to reversemy buy/sell signals to go 
  short.Normally I would useShort=Sell; and  
  Cover=Buy;In this case, my sell signal 
  is:ApplyStop(2,2,1,3)Sell = 0;How do I enter SHORT when 
  the ApplyStop()triggers ??Thanks to anyone who 
  contributes,Gosub283Send 
  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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.