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

Re: [AmiBroker-at] Re: [amibroker] Bollinger and ADX scan


  • Date: Tue, 15 Dec 2009 08:49:17 +0100
  • From: reinsley <reinsley@xxxxxxxx>
  • Subject: Re: [AmiBroker-at] Re: [amibroker] Bollinger and ADX scan

PureBytes Links

Trading Reference Links


Deepak,

It's not a good practice to crosspost. Archives are broken if the 
answers jump from one list to another list.

This list is for auto-trading only.

Best regards



Le 15/12/2009 06:15, Deepak Patade a écrit :
> Thanks Rajiv
> There is one change in this though
> +DMI and -DMI
> my nderstanding is based on squeeze
> when the BB sqeeze is tight there is likely to be a breakout
> Now break out in what direction up or down
> for this i checked the adx +DMI and -DMI
> so , the break is likely to be in the direction where the +DMI and -DMI
> are moving
> hence,
> if difference of +DMI and -DMI= positive value greater then 10 then it
> is a buy long
> similarly
> if difference of +DMI and -DMI= negative value greater then 10( i mean
> -11,-12,...-17) then it is a sell short.
> let us squeeze the parametrs and make
> bbdiff<=1
> and
> midiff>=10
> Deepak Patade,
> Nasik.
>
>
> ------------------------------------------------------------------------
> *From:* Rajiv Arya <rajivarya87@xxxxxxxxxxx>
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Sent:* Tue, December 15, 2009 1:07:33 AM
> *Subject:* RE: [amibroker] Bollinger and ADX scan
>
> BBdiff=bbandTop- bbandBot;
> midiff=pdi(range) -mdi(range) ;
>
> filter=(bbdiff<=5) and (midiff>=5);
>
> R
>
> ------------------------------------------------------------------------
> To: Technical-Investor@ yahoogroups. com
> CC: amibroker@xxxxxxxxx ps.com <http://ps.com/>; amibroker.at@
> yahoogroups. com
> From: deepakpatade@ yahoo.com <http://yahoo.com/>
> Date: Mon, 14 Dec 2009 07:42:47 -0800
> Subject: [amibroker] Bollinger and ADX scan
>
> 	
> Hello,
> Please help me writing a scan
> there are two simple conditions
> cond1=BBtop( minus)BBbot= less than 5
> cond2=+DI(minus) -DI=greater than 5
> Scan should return stocks that meet both the criteria
> Attaching bollinger BBtop , BBbot, +DI and -DI for easy reference
> _SECTION_BEGIN( "bollinger" );
> SetChartOptions( 0,chartShowArrows| chartShowDates );
> Filename = StrLeft(_DEFAULT_ NAME(),StrLen( _DEFAULT_NAME( ))-2) ;
> _N(Title = filename + StrFormat(" - {{INTERVAL}} {{DATE}} \nOpen %g, Hi
> %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +"
> {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
> Plot( C, "Close", colorBlack, styleNoTitle | ParamStyle(" Style",
> styleCandle, maskAll) ); // shows all style options
> P = ParamField(" Price field",-1);
> Periods = Param("Periods" , 15, 2, 300, 1 );
> Width = Param("Width" , 2, 0, 10, 0.05 );
> Color = ParamColor(" Color", colorCycle );
> Style = ParamStyle(" Style");
> bbTop = BBandTop( P, Periods, Width );
> bbBot = BBandBot( P, Periods, Width );
> Buy = Low <= bbBot;
> Sell = High >= bbTop;
> Plot( bbTop, "\nBBTop" + _PARAM_VALUES( ), Color, styleLine );
> Plot( bbBot, "\nBBBot" + _PARAM_VALUES( ), Color, styleLine );
> PlotShapes(Buy * shapeUpArrow, colorGreen, 0, L, -10);
> PlotShapes(Sell * shapeDownArrow, colorRed, 0, H, -10);
> _SECTION_END( );
>
> _SECTION_BEGIN( "ADX");
> range = Param("Periods" , 14, 2, 200, 1 );
> Plot( ADX(range), _DEFAULT_NAME( ), ParamColor( "ADX color", colorBlue
> ), ParamStyle(" ADX style", styleThick ) );
> Plot( PDI(range), "+DI", ParamColor( "+DI color", colorGreen ),
> ParamStyle(" +DI style") );
> Plot( MDI(range), "-DI", ParamColor( "-DI color", colorRed ),
> ParamStyle(" -DI style") );
> _SECTION_END( );
> Deepak Patade,
> Nasik.
>
> 	
>
>
>
> ------------------------------------------------------------------------
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign
> up now. <http://clk.atdmt.com/GBL/go/177141664/direct/01/>
>


-- 
Best regards


------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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