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

[amibroker] Re: SUPER TREND OSCILLATOR



PureBytes Links

Trading Reference Links

I'd like this code more if it handled the short side as well as the
long side but thanks for the pointer.

--- In amibroker@xxxxxxxxxxxxxxx, "pacific5_au" <pacific5_au@xxx> wrote:
>
> 
> > > > > > From: binjobingo
> > > > > > Sent: Saturday, November 29, 2008 6:28 PM
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Subject: [amibroker] SUPER TREND OSCILLATOR
> > > > > > 
> > > > > > 
> > > > > > Does anybody know the afl for Super trend Oscillator ?
> > > > > > 
> > > > > > http://codebase.mql4.com/4725
> > > > > > 
> > > > > > Bimbo
> 
> > 
> > ------------------------------------
> 
> Try this :
> 
> /*  Chandalier Exit (Long Trade) - Geoff Mulhall 30 Dec 2001 */
> /* In Indicator Builder set Scaling = Automatic */
> /* Set Level 0 On, Set Show Dates On, Set Middle On */
> /* Period/Graph = Daily */
> 
> Title = "Chandalier Exit - Long";
> 
> /* The following are a guide only and should be optimised */
> ATRMultiplier = 2.5;
> ATRRange = 15;
> HHVRange = 10;
> 
> /* Graph */
> GraphXSpace = 5;
> 
> MaxGraph=5;
> Graph0 = Close;
> Graph0Style = 64;
> Graph0Color =2;
> Graph1Color =4;
> Graph1Style =4;
> Graph3 = EMA(C,30);
> Graph3Style = 1;
> Graph3Color =7;
> Graph3Style =4;
> 
> 
> 
> 
> Graph1=HHV(High - AtrMultiplier*ATR(ATRRange),HHVRange);
> 
> Buy= Cross(Graph0,Graph1);
> 
> Sell= Cross(Graph1,Graph0);
> 
> Buy = ExRem(Buy,Sell);
> Sell = ExRem(Sell,Buy);
> 
> 
> PlotShapes( shapeUpArrow * Buy, colorBrightGreen );
> 
> PlotShapes( shapeDownArrow * Sell, colorRed );
>



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

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

*********************
TO GET TECHNICAL 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

<*> 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:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto: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/