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

RE: [EquisMetaStock Group] bollinger bands tightening



PureBytes Links

Trading Reference Links

Title: Message
Hi,
 
Sorry, Its my mistake in posting the code here. Actually either of one code will be true as breakout will happen either crossing prices up or down. These are two conditions with OR operator. The actual code is:
 
 
IF(Cross( BBandTop(C,20,S,2), BBandTop(C,10,S,2)) AND C > BBandTop(C,20,S,2),1,0) OR
IF(Cross(BBandBot( close, 10, S, 2 ), BBandBot( close, 10, S, 2 )) AND C< BBandBot( close, 20, S, 2 ),1,0) ---errata : Its BBandBot(Close,20,2) not 10 as mentioned in previous mail.
 
Here, it will first check when BBandTop(C,20,2) penetrates below BBandTop(C,10,2) or BBandBot(C,20,2) and the breakout happens with price breakout and cross of BBandTop and Close higher than BBandTop.
 
Similarly, if breakout happens downwards, then BBandBot(C,20,2) will penetrate below BBandBot(C,10,2) with close below BBandBot(C,20,2)

 
 
 
 
Thanks and Regards,
Amit Trivedi
Technical Analyst, Active Trader, President & CEO
Athena Investments, Inc.
1055 Sector 15 Part - II, Gurgaon - 122001(India).
T: +91.124.4033.595 M: +919818707842
 
 
-----Original Message-----
From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of Dusant
Sent: Sunday, December 04, 2005 10:28 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] bollinger bands tightening

Raman,
 
You seem to be missing the ";" at the end of the first line.
 
----- Original Message -----
Sent: Saturday, December 03, 2005 7:09 PM
Subject: Re: [EquisMetaStock Group] bollinger bands tightening

Dear Amit,

Sorry a neophyte question.

When I try tools - indicator builder - new and give this formula

Cross( BBandTop(C,20,S,2), BBandTop(C,10,S,2)) AND C > BBandTop(C,20,S,2)
Cross(BBandBot( close, 10, S, 2 ), BBandBot( close, 10, S, 2 )) AND C< BBandBot( close, 10, S, 2 )

an error occurs and indicator builder expects something at the begining of the second line (Cross).   Could you please explain in detail  keeping in mind that i am rather new.

Thanks in advance

regards
Dr. Raman Kumar
9719027733


Enjoy this Diwali with Y! India Click here


SPONSORED LINKS
Business finance course Business finance online course Business finance class
Small business finance Business finance schools Business finance small software


YAHOO! GROUPS LINKS