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

Re: [amibroker] Re: Comments on Van Tharp courses please



PureBytes Links

Trading Reference Links


Thanks TJ,
 
Guess my urge to re-invent the wheel got the better of my common sense.
 
Regards
Tomasz Janeczko <amibroker@xxxxxx> wrote:




Your complex condition is equivalent to:
HHV( H, 60 );
 
If you think it over you will find why.
Best regards,Tomasz Janeczkoamibroker.com

----- Original Message ----- 
From: Rakesh Sahgal 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, March 11, 2004 2:25 PM
Subject: [amibroker] Help with IIF

Group
 
I want to write a condition that says:
 
1. choose the highest high in the last 20 periods.
2. if the 20 period high is less than 30 period hi then use the 30 period hi.
 
I want to look for a high as far back as the last 100 odd bars.
 
The condition I wrote is as follows:
 
IIf(HHV(H,20)<HHV(H,30),HHV(H,30),IIf(HHV(H,30<FONT face="Courier New"
 color=#000000>)<HHV(H,40),HHV(H,40),IIf(HHV(H,40)<HHV(H,50),HHV<FONT
 face="Courier
 New" color=#000000>(H,50),IIf(HHV(H,50)<HHV(H,60),HHV(H,60),HHV(H,<FONT face="Courier New"
 color=#ff00ff>20)))));
 
This is obviously not yielding the desired results hence the request for help. Will some kind soul tell me where I am tripping? Or is this approach to solving the problem not the correct one.
 
Thanks in advance for any help.
 
Rakesh
 


Do you Yahoo!?Yahoo! Search - Find what you’re looking for faster. 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 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: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.


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.