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

[amibroker] H&S question



PureBytes Links

Trading Reference Links

There is a question at
http://www.amibroker.com/library/detail.php?id=166
by John Ingle
Really a question:
Don't know the first thing about coding, though if I wanted to get an 
earlier indication of when the pattern finished: say 1 day after 
would I change: The last shoulder should be less than back=50 days 
ago and the distance between shoulders should be less than inter=100 
days.
The =50 to =1 to accomplish what I am asking? Also are there any 
advantages or disadvantages to doing this? I am trying to buy 
opportunities a little sooner.
Thanks 
John,
the H&S pattern recognition has, among the others, a 
condition "endt1>LastValue(x)-back" in Filter1.
It means, the last shoulder peak should occur within the last back=50 
bars.
It was placed there to study only recent H&S patterns and will 
recognize them not only for 50 but for a n y # from 1 to 50.
If you want to change it, increase it to catch older H&S, do not 
decrease it because you will loose some formations.
On the other side, the whole study is based on Peak() function. A 
peak is recognised as a peak some bars later, or, to be more 
specific, as soon as H values loose more than per=5%. It takes often 
more than 1 bar. If you ask back=1, you will probably loose all H&S 
formations.
Dimitris Tsokakis
PS. It would be better to ask questions here, I do not visit AFL 
library everyday...


------------------------ 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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/