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

[amibroker] Back up of Custom Indicators



PureBytes Links

Trading Reference Links

Sorry mates,I cannot build a TS with simple rules.I'd like to buy when the
difference between Low and Ref(C,-1),that is z, is < 1 $.
In the settings Buyprice is setted Low.
Ok an example: my yesterday stock is 20 $ at close,the Low of today is
18.99.
z = L - Ref(C,-1);that is 18.99 $ - 20 $ = -1.01 $.
So in my backtest I'm always buying at Low,while I'd like to buy at exactly
price of z,that is 18.99,but it results Buyprice at 18.50 $,the Low of the
day.
I tried Buyprice = z; but it doesn't work.

Any suggestion?



------------------------ 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/mOAaAA/3exGAA/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 
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/