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

Re: [amibroker] Help file help (WAS) FILTER questions.



PureBytes Links

Trading Reference Links


Thanks! I meant Highs...sorry.
Yuki Taga <yukitaga@xxxxxxxxxxxxx> wrote:
Hi joe,Monday, September 15, 2003, 11:59:46 AM, you wrote:jr> Subtract the stocks high close of the today -the high close ofjr> yesterday to get the difference to plot.jr> Price Difference = ( today high close - yesterday high close)jr> Plot= The price differencejr> How do you write this in script???There is no such thing I know of as a "high close". There is a high,and there is a close, but they are different, and there is no "highclose".Assuming you mean today's H minus yesterday's H, it would be:PD = H - ref(H,-1);If you mean (today's H minus todays C) minus (yesterday's H minusyesterday's C), it would be:PD = (H - C) - (ref(H,-1)-ref(C,-1)); // I am not sure the extraparentheses are needed, but it makes it very clear what we are doingand can't hurtIf
 you mean something else, you have to clarify.Yuki------------------------ Yahoo! Groups Sponsor ---------------------~-->Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or LexmarkPrinter at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 http://docs.yahoo.com/info/terms/ 
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software






Yahoo! Groups Sponsor


  ADVERTISEMENT 









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.