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

Re: [amibroker] AFL buy and sell signals



PureBytes Links

Trading Reference Links





Hallo Hans,
 
Na Explore of backtest dubbelklikken op een regel 
en je krijgt de signalen.
 
Sjaak
 
<LABEL id=HbSession 
SessionId="2855290631">
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Hans 
  Veger 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, December 14, 2003 11:54 
  PM
  Subject: [amibroker] AFL buy and sell 
  signals
  
  
  <SPAN 
  >From:<FONT 
  face=Arial size=2> <A 
  title=mailto:hvgistel@xxxxxxxxxxxxx href="" 
  target=_blank>Hans Veger
  <SPAN 
  >Date:<FONT 
  face=Arial size=2> zondag 14 
  december 2003 17:56:50
  <SPAN lang=EN-GB 
  >To:<FONT 
  face=Arial size=2><SPAN lang=EN-GB 
  > <FONT face=Arial 
  size=2><A 
  title=mailto:amibroker@xxxxxxxxxxxxxxx href="" 
  target=_blank><SPAN 
  lang=EN-GB>amibroker@xxxxxxxxxxxxxxx<FONT face=Arial 
  size=2><SPAN lang=EN-GB 
  >
  <SPAN lang=EN-GB 
  >Subject:<FONT 
  face=Arial size=2><SPAN lang=EN-GB 
  > AFL – buy and sell 
  signals
  <SPAN lang=EN-GB 
  > 
  <SPAN 
  ><IMG 
  id=contentbutton 
   height=32 
  src="" width=32 
  border=0><IMG id=attachbutton 
   height=32 
  src="" width=32 
  border=0>
  <TABLE class=MsoNormalTable id=INCREDIMAINTABLE  
  cellSpacing=0 cellPadding=0 width="100%" border=0>
    
    
      <TD id=INCREDITEXTREGION 
       
      width="100%">
        <SPAN lang=EN-GB 
        > <FONT 
        face=Arial size=2><SPAN lang=EN-GB 
        >Hello<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > <FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >Can somebody help me with 
        this???
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >Im new for amibroker and I 
        try to use the AFL in a trading system<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >I have seen a indicator as 
        shown below in:<SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN 
        ><A 
        title=http://www.amibroker.com/members/traders/01-2004.html 
        href="" 
        target=_blank><SPAN lang=EN-GB 
        >http://www.amibroker.com/members/traders/01-2004.html<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >Please could you help me to 
        make the AFL compatible for <SPAN 
        >realtime 
        trading with for example QQQ 
        and <SPAN 
        >BRCD.<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >At this moment I can see the 
        results but there are<FONT 
        face="Times New Roman"> 
        no<SPAN lang=EN-GB 
        > buy or sell signals ( 
        arrows in green and red ) visible?<SPAN 
        lang=EN-GB >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >Thanks in advance for your 
        help.<SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >With kind 
        regards<SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <st1:PersonName w:st="on" 
        ProductID="Hans Veger"><SPAN lang=EN-GB 
        >Hans 
        Veger<SPAN lang=EN-GB 
        >
        <st1:place 
        w:st="on"><SPAN lang=EN-GB 
        >Netherlands<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN 
        ><A 
        title=mailto:hvgistel@xxxxxxxxxx href="" 
        target=_blank><SPAN lang=EN-GB 
        >hvgistel@xxxxxxxxxx<FONT 
        face=Arial><SPAN lang=EN-GB 
        >
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >//--Indicator-End--
        <SPAN lang=EN-GB 
        >// Above line 
        instructs the parser that the code
        <SPAN lang=EN-GB 
        >// below is 
        only for commentary/interpretation window
        <SPAN lang=EN-GB 
        >// This 
        provides significant performance 
improvement
        <SPAN lang=EN-GB 
        >//
        <SPAN lang=EN-GB 
        >// (C)2002 
        amibroker.com
        <SPAN lang=EN-GB 
        >movshort = <FONT 
        color=blue>MA( <SPAN 
        >C, <SPAN 
        >Prefs(<SPAN 
        >4) );
        <SPAN lang=EN-GB 
        >movmed = <FONT 
        color=blue>MA( <SPAN 
        >C, <SPAN 
        >Prefs(<SPAN 
        >6) );
        <SPAN lang=EN-GB 
        >movlong = <FONT 
        color=blue>MA( <SPAN 
        >C, <SPAN 
        >Prefs(<SPAN 
        >28) );
        <SPAN lang=EN-GB 
        >btop = <FONT 
        color=blue>BBandTop( <SPAN 
        >C, <SPAN 
        >Prefs( <SPAN 
        >4 ), <SPAN 
        >Prefs(<SPAN 
        >8)/<SPAN 
        >100 );
        <SPAN lang=EN-GB 
        >bbot = <FONT 
        color=blue>BBandBot( <SPAN 
        >C, <SPAN 
        >Prefs(<SPAN 
        >4), <SPAN 
        >Prefs(<SPAN 
        >8)/<SPAN 
        >100 );
        <SPAN lang=EN-GB 
        >width = btop - 
        bbot;
        <SPAN lang=EN-GB 
        >lslop = <FONT 
        color=blue>LinRegSlope( <SPAN 
        >C, <SPAN 
        >30 ) + <SPAN 
        >100;
        <SPAN lang=EN-GB 
        >lslo = <FONT 
        color=blue>LLV( lslop, <FONT 
        color=fuchsia>90 
        );
        <SPAN lang=EN-GB 
        >lshi = <FONT 
        color=blue>HHV( lslop, <FONT 
        color=fuchsia>90 
        );
        <SPAN lang=EN-GB 
        >lswidth = lshi - 
        lslo;
        <SPAN lang=EN-GB 
        >trend = <FONT 
        color=fuchsia>100*( lslop - 
        lslo )/lswidth;
        <SPAN lang=EN-GB 
        >mawidth = <FONT 
        color=blue>MA( width, <FONT 
        color=fuchsia>100 
        );
        <SPAN lang=EN-GB 
        >relwidth = <FONT 
        color=fuchsia>100*(width - 
        mawidth)/mawidth;
        <SPAN lang=EN-GB 
        >_N<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( tname = <FONT 
        color=blue>Name()+<FONT 
        color=fuchsia>"("+<FONT 
        color=blue>FullName()+<FONT 
        color=fuchsia>")" 
        );
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Close < <SPAN 
        >Ref(<SPAN 
        >C,-<SPAN 
        >1) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >1) < <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >2) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >2) < <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >3)<SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >3) < <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >4) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >4) < <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >5) ; 
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = 
        
        <SPAN lang=EN-GB 
        >Close<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > > <FONT 
        color=blue>Ref(<SPAN 
        >C,-<SPAN 
        >1) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >1) > <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >2) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >2) > <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >3)<SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >3) > <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >4) <SPAN 
        >AND <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >4) > <SPAN 
        >Ref(<SPAN 
        >Close,-<SPAN 
        >5) ; 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        >"Price and 
        moving averages:"<SPAN lang=EN-GB 
        >;
        <SPAN lang=EN-GB 
        >tname + <FONT 
        color=fuchsia>" has closed " 
        + WriteIf( 
        C > movshort, <FONT 
        color=fuchsia>"above" , <FONT 
        color=fuchsia>"below" ) + 
        " its short time moving 
        average. ";
        <SPAN lang=EN-GB 
        >"Short time 
        moving average is currently "<SPAN 
        lang=EN-GB > + <FONT 
        color=blue>WriteIf( movshort 
        > movmed, <SPAN 
        >"above", <SPAN 
        >"below") + <FONT 
        color=fuchsia>" mid-time, and 
        " + <SPAN 
        >WriteIf( movshort > movlong, <FONT 
        color=fuchsia>"above", <FONT 
        color=fuchsia>"below" ) + 
        " long time moving 
        averages.";
        <SPAN lang=EN-GB 
        >"The 
        relationship between price and moving averages is: "<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >+
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C > movshort <SPAN 
        >AND movshort > movmed, <FONT 
        color=fuchsia><SPAN 
        >"bullish",
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C < movshort <SPAN 
        >AND movshort < movmed, <FONT 
        color=fuchsia>"bearish", 
        "neutral" 
        ) ) + " in short-term, 
        and "+
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( movshort > movmed 
        AND movmed > movlong , 
        <SPAN 
        >"bullish",
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( movshort < movmed 
        AND movmed < movlong, 
        <SPAN 
        >"bearish", <FONT 
        color=fuchsia>"neutral" ) ) + 
        " in mid-long term. 
        ";
        <SPAN lang=EN-GB 
        >"\nBollinger 
        Bands:"<SPAN lang=EN-GB 
        >;
        <SPAN lang=EN-GB 
        >tname+ <FONT 
        color=fuchsia>" has closed " 
        + 
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C < bbot, <FONT 
        color=fuchsia>"below the lower band by 
        " +
        <SPAN lang=EN-GB 
        >WriteVal<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >100 *( bbot-<SPAN 
        >C )/ width, <FONT 
        color=fuchsia>1.1 ) + <FONT 
        color=fuchsia>"%. " 
        +
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( trend < <FONT 
        color=fuchsia>30, <FONT 
        color=fuchsia>" This combined with the 
        steep downtrend can suggest that the downward trend in prices has a good 
        chance of continuing. However, a short-term pull-back inside the bands 
        is likely.",
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( trend > <FONT 
        color=fuchsia>30 <SPAN 
        >AND trend < <FONT 
        color=fuchsia>70, <FONT 
        color=fuchsia>"Although prices have broken 
        the lower band and a downside breakout is possible, the most likely 
        scenario for "+tname+<SPAN 
        >" is to continue within current trading 
        range.", <SPAN 
        >"" ) ), <SPAN 
        >"" ) +
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C > btop, <FONT 
        color=fuchsia>"above the upper band by 
        " +
        <SPAN lang=EN-GB 
        >WriteVal<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >100 *( <SPAN 
        >C- btop )/ width, <FONT 
        color=fuchsia>1.1 ) + <FONT 
        color=fuchsia>"%. " 
        +
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( trend > <FONT 
        color=fuchsia>70, <FONT 
        color=fuchsia>" This combined with the 
        steep uptrend suggests that the upward trend in prices has a good chance 
        of continuing. However, a short-term pull-back inside the bands is 
        likely.",
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( trend > <FONT 
        color=fuchsia>30 <SPAN 
        >AND trend < <FONT 
        color=fuchsia>70, <FONT 
        color=fuchsia>"Although prices have broken 
        the upper band and a upside breakout is possible, the most likely 
        scenario for "+tname+<SPAN 
        >" is to continue within current trading 
        range.", <SPAN 
        >"" ) ), <SPAN 
        >"" ) +
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C < btop <SPAN 
        >AND ( ( btop - <SPAN 
        >C ) / width ) < <FONT 
        color=fuchsia>0.5, 
        
        <SPAN lang=EN-GB 
        >"below 
        upper band by "<SPAN lang=EN-GB 
        > 
        +
        <SPAN lang=EN-GB 
        >WriteVal<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >100 *( btop - <SPAN 
        >C )/ width, <FONT 
        color=fuchsia>1.1 ) + <FONT 
        color=fuchsia>"%. ", 
        
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >C < btop <SPAN 
        >AND <SPAN 
        >C > bbot , <FONT 
        color=fuchsia>"above bottom band by 
        " +
        <SPAN lang=EN-GB 
        >WriteVal<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >100 *( <SPAN 
        >C - bbot )/ width, <FONT 
        color=fuchsia>1.1 ) + <FONT 
        color=fuchsia>"%. ", <FONT 
        color=fuchsia>"" ) 
        );
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( ( trend > <FONT 
        color=fuchsia>30 <SPAN 
        >AND trend < <FONT 
        color=fuchsia>70 <SPAN 
        >AND ( <SPAN 
        >C > btop <SPAN 
        >OR <SPAN 
        >C < bbot ) ) <SPAN 
        >AND <SPAN 
        >abs(relwidth) > <FONT 
        color=fuchsia><SPAN 
        >40,
        <SPAN lang=EN-GB 
        >"This 
        picture becomes somewhat unclear due to the fact that Bollinger Bands 
        are currently"<SPAN lang=EN-GB 
        >,
        <SPAN lang=EN-GB 
        >"Bollinger 
        Bands are "<SPAN lang=EN-GB 
        > )+ 
        
        <SPAN lang=EN-GB 
        >WriteVal<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >abs( relwidth ), <FONT 
        color=fuchsia>1.1 ) + <FONT 
        color=fuchsia>"% " 
        +
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( relwidth > <FONT 
        color=fuchsia>0, <FONT 
        color=fuchsia>"wider" , <FONT 
        color=fuchsia>"narrower" ) 
        +
        <SPAN lang=EN-GB 
        >" than 
        normal."<SPAN lang=EN-GB 
        >;
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >abs( relwidth ) < <FONT 
        color=fuchsia>40, <FONT 
        color=fuchsia>"The current width of the 
        bands (alone) does not suggest anything conclusive about the future 
        volatility or movement of prices.",<FONT 
        color=fuchsia><SPAN 
        >"")+
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( relwidth < -<FONT 
        color=fuchsia>40, <FONT 
        color=fuchsia>"The narrow width of the 
        bands suggests low volatility as compared to " + tname + 
        "'s normal range. 
        Therefore, the probability of volatility increasing with a sharp price 
        move has increased for the near-term. 
        "+
        <SPAN lang=EN-GB 
        >"The bands 
        have been in this narrow range for "<FONT face=Arial 
        size=1> + 
        WriteVal(<FONT 
        color=blue>BarsSince(<FONT 
        color=blue>Cross(-<FONT 
        color=fuchsia><SPAN 
        >40,relwidth)),<FONT 
        color=fuchsia>1.0) + <FONT 
        color=fuchsia>" bars. The probability of a 
        significant price move increases the longer the bands remain in this 
        narrow range." ,<SPAN 
        >"")+
        <SPAN lang=EN-GB 
        >WriteIf<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( relwidth > <FONT 
        color=fuchsia>40, <FONT 
        color=fuchsia>"The large width of the bands 
        suggest high volatility as compared to " + tname + <FONT 
        color=fuchsia>"'s normal range. Therefore, 
        the probability of volatility decreasing and prices entering (or 
        remaining in) a trading range has increased for the near-term. 
        "+
        <SPAN lang=EN-GB 
        >"The bands 
        have been in this wide range for "<FONT face=Arial 
        size=1> + 
        WriteVal(<FONT 
        color=blue>BarsSince(<FONT 
        color=blue>Cross(relwidth,<FONT 
        color=fuchsia>40)),<FONT 
        color=fuchsia>1.0) + <FONT 
        color=fuchsia>" bars.The probability of 
        prices consolidating into a less volatile trading range increases the 
        longer the bands remain in this wide range." ,<FONT 
        color=fuchsia><SPAN 
        >"");
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >=<SPAN 
        >Cross(<SPAN 
        >MACD(), <SPAN 
        >Signal());
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >=<SPAN 
        >Cross(<SPAN 
        >Signal(), <SPAN 
        >MACD());
        <SPAN lang=EN-GB 
        >shape = <SPAN 
        >Buy * <SPAN 
        >shapeUpArrow + <SPAN 
        >Sell * <SPAN 
        >shapeDownArrow;
        <SPAN lang=EN-GB 
        >Plot<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >Close, <SPAN 
        >"Price", <SPAN 
        >colorBlue
        <SPAN lang=EN-GB 
        >, <SPAN 
        >styleCandle 
        );
        <SPAN lang=EN-GB 
        >PlotShapes<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( shape, <FONT 
        color=blue>IIf( <SPAN 
        >Buy, <SPAN 
        >colorGreen, <SPAN 
        >colorRed ), <FONT 
        color=fuchsia>0, <FONT 
        color=blue>IIf( <SPAN 
        >Buy, <SPAN 
        >Low, <SPAN 
        >High ) 
        );
        <SPAN lang=EN-GB 
        >GraphXSpace<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <FONT 
        color=fuchsia><SPAN 
        >5;
        <SPAN lang=EN-GB 
        >Y=<SPAN 
        >5;
        <SPAN lang=EN-GB 
        >X=<SPAN 
        >5;
        <SPAN lang=EN-GB 
        >ApplyStop<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >0, <SPAN 
        >1, Y, <SPAN 
        >1 ); <SPAN 
        >// max loss stop 
        y%
        <SPAN lang=EN-GB 
        >ApplyStop<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        >( <SPAN 
        >1, <SPAN 
        >1, X, <SPAN 
        >1 ); <SPAN 
        >// profit target stop 
        x%
        <SPAN lang=EN-GB 
        >five_days_down = <FONT 
        color=blue>IIf(<SPAN 
        >Close < <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >1) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >1) < <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >2)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >2) < <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >3)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >3) < <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >4)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >4) < <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >5)), <SPAN 
        >1, <SPAN 
        >0);
        <SPAN lang=EN-GB 
        >five_days_up = <FONT 
        color=blue>IIf(<SPAN 
        >Close > <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >1) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >1) > <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >2)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >2) > <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >3)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >3) > <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >4)) <SPAN 
        >AND
        <SPAN lang=EN-GB 
        >(<SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >4) > <SPAN 
        >Ref(<SPAN 
        >Close, -<SPAN 
        >5)), <SPAN 
        >1, <SPAN 
        >0);
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = 
        five_days_down;
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = five_days_up; 
        
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Sum( <SPAN 
        >ROC( <SPAN 
        >Close, <SPAN 
        >1 ) > <SPAN 
        >0, <SPAN 
        >5 ) == <SPAN 
        >5;
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Sum( <SPAN 
        >ROC( <SPAN 
        >Close, <SPAN 
        >1 ) < <SPAN 
        >0, <SPAN 
        >5 ) == <SPAN 
        >5;
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >High == <SPAN 
        >LastValue( <SPAN 
        >Highest( <SPAN 
        >High ) ); 
        
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >High == <SPAN 
        >HHV( <SPAN 
        >High, <SPAN 
        >20 ) <SPAN 
        >AND <SPAN 
        >Ref( <SPAN 
        >HHVBars( <SPAN 
        >High, <SPAN 
        >20 ), -<SPAN 
        >1 ) >=<SPAN 
        >4; 
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >MACD(), <SPAN 
        >0 ); 
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >0, <SPAN 
        >MACD() );
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >EMA( <SPAN 
        >Close, <SPAN 
        >9 ), <SPAN 
        >EMA( <SPAN 
        >Close, <SPAN 
        >15 ) ); 
        
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >EMA( <SPAN 
        >Close, <SPAN 
        >15 ), <SPAN 
        >EMA( <SPAN 
        >Close, <SPAN 
        >9 ) );
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >RSI(), <SPAN 
        >30 );
        <SPAN lang=EN-GB 
        >Sell<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >70, <SPAN 
        >RSI() );
        <SPAN lang=EN-GB 
        >Buy<FONT 
        face=Arial size=1><SPAN lang=EN-GB 
        > = <SPAN 
        >Cross( <SPAN 
        >Ultimate(), <SPAN 
        >50 );
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        > 
        <SPAN lang=EN-GB 
        ><FONT 
        face="Courier New" size=2>Send 
        BUG REPORTS to bugs@xxxxxxxxxxxxx<FONT 
        face="Courier New" size=2><SPAN lang=EN-GB 
        ><FONT 
        face="Courier New">Send SUGGESTIONS to 
        suggest@xxxxxxxxxxxxx<FONT 
        face="Courier New">-----------------------------------------<FONT 
        face="Courier New">Post AmiQuote-related messages ONLY to: 
        amiquote@xxxxxxxxxxxxxxx <FONT 
        face="Courier New">(Web page: <FONT 
        face="Courier New" size=2><A 
        title=http://groups.yahoo.com/group/amiquote/messages/) 
        href="" 
        target=_blank><SPAN 
        lang=EN-GB>http://groups.yahoo.com/group/amiquote/messages/)<FONT 
        face="Courier New" size=2><SPAN lang=EN-GB 
        ><FONT 
        face="Courier New">--------------------------------------------<FONT 
        face="Courier New">Check group FAQ at: 
        <SPAN 
        ><A 
        title=http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
        href="" 
        target=_blank><SPAN 
        lang=EN-GB>http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
        face=Arial> 
        <SPAN 
        lang=EN-GB >Your use of Yahoo! 
        <SPAN 
        >Groups is subject to the <A 
        title=http://docs.yahoo.com/info/terms/ 
        href="" target=_blank>Yahoo! Terms of 
        Service.<SPAN 
        > 
        
        <SPAN 
        > 
    
      <TD id=INCREDIFOOTER 
       
      width="100%">
        <TABLE class=MsoNormalTable  cellSpacing=0 
        cellPadding=0 width="100%" border=0>
          
          
            <TD 
             
            width="100%">
              <SPAN 
              > 
            <TD id=INCREDISOUND 
             
            vAlign=bottom>
              <FONT 
              face="Times New Roman" size=3><SPAN 
              > 
            <TD id=INCREDIANIM 
             
            vAlign=bottom>
              <FONT 
              face="Times New Roman" size=3><SPAN 
              > 
        <SPAN 
        >
  <SPAN 
  > Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 

  
  Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op 
  virussen. Op <A 
  href='"http://www.planet.nl/evs";'>http://www.planet.nl/evs staat een 
  verwijzing naar de actuele lijst waar op wordt gecontroleerd. 








Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.