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

RE: [amibroker] Please, please, please



PureBytes Links

Trading Reference Links

 Hi, I have tried your formula but I have a syntax error on this 
line: BE=cdBullishEngulfing();

Did I forgot something?
Regards. Traderix
                                                              --- In 
amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> wrote:
> //S&C Candlesticks
> 
> //Indicator
> 
> //Inputs
> 
> Length=14; LowerRSI=50; UpperRSI=70;
> 
> //Variables
> 
> BE=0; MS=0; Hmr=0; MomVal=0; RSIVal=0;
> 
> //CandleStick Patterns: Bullish
> 
> MorningStar=Ref(C,-2)<=Ref(O,-2)*.99 AND Ref(O,-1)<=Ref(C,-2)AND C 
>
> Ref(C,-2)AND C> O*1.01;
> 
> BE = CdBullishEngulfing();
> 
> MS = MorningStar;
> 
> Hmr =CdHammer();
> 
> /***************************/
> 
> MomVal = C-Ref ( C ,- Length );
> 
> RSIVal = RSI(Length );
> 
> barcolor=IIf( BE,7,IIf( Hmr,5,IIf(MS,9,1)));
> 
> BarcolorValue=ValueWhen(barcolor!=0,barcolor);
> 
> Plot(C,"Close",BarcolorValue,64);
> 
> Pattern=IIf( BE OR MS OR Hmr AND MomVal > 0 AND RSIVal >= LowerRSI 
AND
> RSIVal <= UpperRSI ,1,0);
> 
> Title=Name()+" "+WriteIf(pattern>0 AND BE," Confirmed Candlestick
> Pattern_BullishEngulfing_reliability_Moderate","")+WriteIf
(pattern>0 AND
> MS,"Confirmed Candlestick
> Pattern_MorningStar_reliability_High","")+WriteIf(pattern>0 AND
> Hmr,"Confirmed CandleStick Pattern_Hammer_Low /
> Moderate","")+WriteIf(pattern<1 AND
> BE,"BullishEngulfing_reliability_Moderate","")+WriteIf(pattern<1 
AND
> MS,"MorningStar_reliability_High","")+WriteIf(pattern<1 AND
> Hmr,"Hammer_reliability_Low to Moderate","");
> 
> 
> ----- Original Message ----- 
> From: "renilange" <reni.lange@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, March 02, 2004 11:07 AM
> Subject: [amibroker] japanese candlesticks
> 
> 
> > Is it possible to indicate on a chart typical japanese 
candlesticks
> > formations like "Bearish Engulfing" ,"Morning Stars"...?
> > I just look for 4 formations which show a possible retracement.
> > How could I write it?
> > Thxs...Reni
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004



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 
Yahoo! Groups Links

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

<*> 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/