[amibroker] Re: scan for trading ranges?
I would define a trading range like when price has bounced between a support and a resistance line X number of times over a X period of time. How would you define it? Is there any code available for anything like this? --- In amibroker@yahoogroups.com, Herman [EMAIL PROTECTED] wrote: It would depend on your definition of a trading range...almost anything precisely defined can be coded. herman -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: December 28, 2006 6:09 AM To: amibroker@yahoogroups.com Subject: [amibroker] scan for trading ranges? Is it possible to scan a large number of stocks to get a list of those who are currently in a trading range? Or is this very hard to accomplish? Are there any code available of such? Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
Re: [amibroker] Re: scan for trading ranges?
Hello, Instead of using Support / Resistances points which are different to each scrip, I would say that you better check out Boilinger Bands and Keltner Bands and see how you can code using them for determinnation of Trading Ranges. Cheers Prashanth - Original Message - From: carlacash26 To: amibroker@yahoogroups.com Sent: Thursday, December 28, 2006 5:36 PM Subject: [amibroker] Re: scan for trading ranges? I would define a trading range like when price has bounced between a support and a resistance line X number of times over a X period of time. How would you define it? Is there any code available for anything like this? --- In amibroker@yahoogroups.com, Herman [EMAIL PROTECTED] wrote: It would depend on your definition of a trading range...almost anything precisely defined can be coded. herman -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: December 28, 2006 6:09 AM To: amibroker@yahoogroups.com Subject: [amibroker] scan for trading ranges? Is it possible to scan a large number of stocks to get a list of those who are currently in a trading range? Or is this very hard to accomplish? Are there any code available of such? Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
RE: [amibroker] Re: scan for trading ranges?
I never use them in the traditional sense... so i am not familiar with them but given two levels it would be very easy to list the stock witin the range. I suspect you may find that the definition f support and resistance is subject to debatebelow some code by Graham (from afl Library). If you can determine which lines you want to use it will be easy to write your exploration. herman //Support and resistance levels using RSI. //graham Kavanagh May 2003 //Load into Indicator Builder //Sensitivity of the levels can be changed with the variables //Can test different numbers live with the Param function ctrl-R with open pane RSIperiod = Param(RSI p,3,14,30,1); Percent = Param(ZIG %,8,9,15,1); EMAperiod = Param(EMA p,4,5,10,1); HHVperiod = Param(HHV p,3,5,10,1); NumLine = Param(Num Lines,3,1,20,1); Base = DEMA(RSI(RSIperiod),EMAperiod); GraphXSpace=0.5; Plot(C,,colorBlack,styleCandle); for( i = 1; i = numline; i++ ) { ResBase = LastValue(Peak(Base,Percent,i)); SupBase = LastValue(Trough(Base,Percent,i)); Plot(ValueWhen( ResBase==Base, HHV(H,HHVperiod) ), Resist Level, colorRed, styleLine); Plot(ValueWhen( supbase==Base, LLV(L,HHVperiod) ), Support Level, colorGreen, styleLine); } Title = Name() + ; + Date() + : Support Resistance Levels using RSI: + EncodeColor(colorGreen)+ Support Levels are Green; +EncodeColor(colorRed)+ Resistance Levels are Red: +EncodeColor(colorBlack)+ Num lines =+WriteVal(numline,1) ; -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: December 28, 2006 7:07 AM To: amibroker@yahoogroups.com Subject: [amibroker] Re: scan for trading ranges? I would define a trading range like when price has bounced between a support and a resistance line X number of times over a X period of time. How would you define it? Is there any code available for anything like this? --- In amibroker@yahoogroups.com, Herman [EMAIL PROTECTED] wrote: It would depend on your definition of a trading range...almost anything precisely defined can be coded. herman -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: December 28, 2006 6:09 AM To: amibroker@yahoogroups.com Subject: [amibroker] scan for trading ranges? Is it possible to scan a large number of stocks to get a list of those who are currently in a trading range? Or is this very hard to accomplish? Are there any code available of such? Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links
[amibroker] Re: scan for trading ranges?
Or could it be so that a relative high point and a relative low point, where prices have been reversing (with some % tolerance) for a X number of bars, these high and low points are stored and defined as the resistance levels. I'm kind of looking into breakouts from ranges. --- In amibroke [EMAIL PROTECTED], Prashanth [EMAIL PROTECTED] wrote: Hello, Instead of using Support / Resistances points which are different to each scrip, I would say that you better check out Boilinger Bands and Keltner Bands and see how you can code using them for determinnation of Trading Ranges. Cheers Prashanth - Original Message - From: carlacash26 To: amibroker@yahoogroups.com Sent: Thursday, December 28, 2006 5:36 PM Subject: [amibroker] Re: scan for trading ranges? I would define a trading range like when price has bounced between a support and a resistance line X number of times over a X period of time. How would you define it? Is there any code available for anything like this? --- In amibroker@yahoogroups.com, Herman psytek@ wrote: It would depend on your definition of a trading range...almost anything precisely defined can be coded. herman -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of carlacash26 Sent: December 28, 2006 6:09 AM To: amibroker@yahoogroups.com Subject: [amibroker] scan for trading ranges? Is it possible to scan a large number of stocks to get a list of those who are currently in a trading range? Or is this very hard to accomplish? Are there any code available of such? Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links