Traderji.com - Online community for Indian investors & traders!


Good Indicator for range bound, overbought and over sold condition

Discuss Good Indicator for range bound, overbought and over sold condition at the AmiBroker within the Traderji.com - Online community for Indian investors & traders!; This indicator is working nicely on Nifty 5 min chart 4 to -4 range bound ...


Go Back   Traderji.com - Online community for Indian investors & traders! > TOOLS & RESOURCES > Software > AmiBroker


Reply
 
Thread Tools
  #1  
Old 17th June 2011, 12:14 PM
Nehal_s143's Avatar
Member
 
Join Date: Apr 2009
Posts: 418
Thanks: 990
Thanked 347 Times in 192 Posts
Nehal_s143 is just really niceNehal_s143 is just really niceNehal_s143 is just really niceNehal_s143 is just really nice
Thumbs up Good Indicator for range bound, overbought and over sold condition

This indicator is working nicely on Nifty 5 min chart

4 to -4 range bound do not trade
above 8 be alert with your longs
below -8 bel alert with your shorts

Please see attached image for details




only problem is, its in mq4 format, seniors may please help to code it in afl, so that max user on this great forum get benefited


Advertisements


Last edited by Nehal_s143; 17th June 2011 at 12:26 PM.
Reply With Quote
The Following User Says Thank You to Nehal_s143 For This Useful Post:
timepass (17th June 2011)
Advertisements
  #2  
Old 17th June 2011, 01:23 PM
hitesh's Avatar
Member
 
Join Date: Dec 2006
Posts: 240
Thanks: 571
Thanked 222 Times in 106 Posts
hitesh has a spectacular aura abouthitesh has a spectacular aura abouthitesh has a spectacular aura about
Default Re: Good Indicator for range bound, overbought and over sold condition

Quote:
Originally Posted by Nehal_s143 View Post
This indicator is working nicely on Nifty 5 min chart

4 to -4 range bound do not trade
above 8 be alert with your longs
below -8 bel alert with your shorts

Please see attached image for details




only problem is, its in mq4 format, seniors may please help to code it in afl, so that max user on this great forum get benefited
Nehal,

Indicator available at wisestocktrader, reproduced below:-

Quote:
// COG timing indicator
// AFL translation by E.M.Pottasch, 2011
// from: http://chartstudio.whselfinvest.com/files/COGTiming.ctl

bi=BarIndex();
eb=LastValue(bi);
period=Param("Period",5,1,10,1);
bars=Param("Lookback Period",100,50,500,1);
sv=ParamToggle("Use Selected Value","Off|On",1);
level1=4;
level2=8;
ul1=ul2=ll1=ll2=Null;
oo=hh=ll=cc=Null;

if (sv)
{
eb=SelectedValue(bi);
bb=Max(0,eb-bars);
}
else
{
bb=Max(0,eb-bars);
}
for(i=bb+period-1;i<=eb;i++)
{
ul1[i]=level1;
ul2[i]=level2;
ll1[i]=-level1;
ll2[i]=-level2;
am=0;
ar=0;
for(j=i-period+1;j<=i;j++)
{
am=am+(High[j]+Low[j])/2;
ar=ar+(High[j]-Low[j])/5;
}
am=am/period;
ar=ar/period;
if(ar!=0)
{
oo[i]=(Open[i]-am)/ar;
hh[i]=(High[i]-am)/ar;
ll[i]=(Low[i]-am)/ar;
cc[i]=(Close[i]-am)/ar;
}
else
{
oo[i]=0;
hh[i]=0;
ll[i]=0;
cc[i]=0;
}
}
C=cc;O=oo;H=hh;L=ll;
Plot(C,"",colorWhite,styleCandle);
//PlotOHLC(O,H,L,C,"",colorWhite,styleCandle);
//Plot(cc,"Close",colorWhite,styleThick);
//Plot(oo,"\nOpen",colorLightGrey,styleLine);
//Plot(hh,"\nHigh",colorRed,styleLine);
//Plot(ll,"\nLow",colorRed,styleLine);
Plot(ul1,"\nUpper Level 1",colorViolet,styleLine);
Plot(ul2,"\nUpper Level 2",colorViolet,styleLine);
Plot(ll1,"\nLower Level 1",colorViolet,styleLine);
Plot(ll2,"\nLower Level 2",colorViolet,styleLine);
Hope this helps.
Reply With Quote
The Following User Says Thank You to hitesh For This Useful Post:
rakhi_menon (17th June 2011)
  #3  
Old 17th June 2011, 04:48 PM
Nehal_s143's Avatar
Member
 
Join Date: Apr 2009
Posts: 418
Thanks: 990
Thanked 347 Times in 192 Posts
Nehal_s143 is just really niceNehal_s143 is just really niceNehal_s143 is just really niceNehal_s143 is just really nice
Default Re: Good Indicator for range bound, overbought and over sold condition

Thanks hitesh sir for quick reply and afl
Quote:
Originally Posted by hitesh View Post
Nehal,

Indicator available at wisestocktrader, reproduced below:-



Hope this helps.
Reply With Quote
  #4  
Old 17th June 2011, 07:41 PM
Member
 
Join Date: Jun 2011
Posts: 35
Thanks: 1
Thanked 22 Times in 17 Posts
rakhi_menon will become famous soon enough
Default Re: Good Indicator for range bound, overbought and over sold condition

Thanks hitesh but this error coming after i paste in ami :"error 10
subscripts out of range"
Reply With Quote
  #5  
Old 18th June 2011, 03:18 PM
Member
 
Join Date: May 2010
Posts: 652
Thanks: 1,089
Thanked 525 Times in 368 Posts
ayush2020 is a glorious beacon of lightayush2020 is a glorious beacon of lightayush2020 is a glorious beacon of lightayush2020 is a glorious beacon of lightayush2020 is a glorious beacon of lightayush2020 is a glorious beacon of light
Default Re: Good Indicator for range bound, overbought and over sold condition

which software is this?? where we can find this indicator?? looking very nice in range bound market....

and what is the name of this indicator???
Reply With Quote
  #6  
Old 19th June 2011, 02:30 PM
XRAY27's Avatar
Member
 
Join Date: Apr 2007
Location: ఆంద్రప్రదేశ్
Posts: 1,993
Thanks: 4,334
Thanked 7,086 Times in 1,620 Posts
XRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond repute
XRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond reputeXRAY27 has a reputation beyond repute
Default Re: Good Indicator for range bound, overbought and over sold condition

Great indicator thank you very much hitesh...........
Reply With Quote
  #7  
Old 19th June 2011, 11:59 PM
Member
 
Join Date: Mar 2011
Posts: 313
Thanks: 128
Thanked 66 Times in 41 Posts
new-to-markets will become famous soon enough
Default Re: Good Indicator for range bound, overbought and over sold condition

Quote:
Originally Posted by XRAY27 View Post
Great indicator thank you very much hitesh...........
whats this error?

oo[i]=0;
hh[i]=0;
ll[i]=0;
cc[i]
----^

Error 10.
Subscript out of range.
You must not access array elements outside 0..(BarCount-1) range.
Reply With Quote
  #8  
Old 25th June 2011, 04:21 PM
rrrajguru's Avatar
Member
 
Join Date: Mar 2008
Posts: 168
Thanks: 325
Thanked 209 Times in 102 Posts
rrrajguru has a spectacular aura aboutrrrajguru has a spectacular aura aboutrrrajguru has a spectacular aura about
Default Re: Good Indicator for range bound, overbought and over sold condition

Quote:
Originally Posted by new-to-markets View Post
whats this error?

oo[i]=0;
hh[i]=0;
ll[i]=0;
cc[i]
----^

Error 10.
Subscript out of range.
You must not access array elements outside 0..(BarCount-1) range.
Mine also comming same error.

I am using Ami 5.2 .
Reply With Quote
  #9  
Old 25th June 2011, 05:43 PM
Member
 
Join Date: Jun 2008
Posts: 238
Thanks: 2
Thanked 28 Times in 24 Posts
worldastro is on a distinguished road
Default Re: Good Indicator for range bound, overbought and over sold condition

error !!!!!!!
Reply With Quote
  #10  
Old 25th June 2011, 05:52 PM
hitesh's Avatar
Member
 
Join Date: Dec 2006
Posts: 240
Thanks: 571
Thanked 222 Times in 106 Posts
hitesh has a spectacular aura abouthitesh has a spectacular aura abouthitesh has a spectacular aura about
Default Re: Good Indicator for range bound, overbought and over sold condition

Quote:
Originally Posted by worldastro View Post
error !!!!!!!
Will attach text file 2morrow.

Advertisements

Reply With Quote
Reply

Bookmarks

Tags
afl, indicator, overbought, oversold, rangebound


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +5.5. The time now is 02:50 AM.

Indemnity, Disclaimer & Disclosure Notice:
By visiting Traderji.com you automatically indicate that you agree to our Forum Rules, Indemnity, Disclaimer & Disclosure Notice and General Content Disclaimer Notice and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum/site.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. You are recommended to make appropriate enquiries and seek appropriate advise before sending money, incurring any expenses, acting on recommendations or entering into any commitment in relation to any advertisement published here. Traderji.com does not vouch for any claims made by the advertisers of products and services. Traderji.com will not be held liable for any consequences in the event such claims are not honoured by the advertisers. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of any information by anybody mentioned anywhere on this site.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy or legality of any information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. Although we constantly delete all irrelevant content and/or SPAM, if you should find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © www.Traderji.com 2001 - , All rights reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70