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

[amibroker] Re: Alertif (ExRem)



PureBytes Links

Trading Reference Links

Hi Thanky for your help, but, yes I am sorry, but
both ExRem an Equity seem to have no effect on the alertif-function.
Any more Ideas

Thank you
Thomas
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> A few months back Tomasz suggested the use of Equity(1) rather than
> ExRem ... just and FYI.
>  
> d
> 
> -----Original Message-----
> From: Chuck Rademacher [mailto:chuck_rademacher@x...] 
> Sent: Monday, April 14, 2003 4:46 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Re: Alertif (ExRem)
> 
> 
> I was hoping that someone with more AB experience might respond 
after I
> suggested adding the ExRem statements.   Untiil they do, try the
> following:
>  
>    Buy=Cross(EMA(dmi,pds),MA(dmi,pds1));
>    Sell=Cross(MA(dmi,pds1),EMA(dmi,pds));
>         Filter = Buy or Sell;
>         ExRem(Buy,Sell);
>         ExRem(Sell,Buy);
>  
> I believe that you are getting "stuttering" buy signals, causing 
you to
> receive multiple emails once the first buy has been triggered.   I 
also
> believe that the above will fix it.
> 
> 
> -----Original Message-----
> From: Thomas Schneider [mailto:TS-Schneider@x...]
> Sent: Monday, April 14, 2003 4:03 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Alertif
> 
> 
> How to use the ExRem. ExRem(buy,sell), buy and sell are arrays in 
> this case ?
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher" 
> <chuck_rademacher@x> wrote:
> > Possibly you need to add "ExRem" statements?
> >   -----Original Message-----
> >   From: Jayson [mailto:jcasavant@x...]
> >   Sent: Monday, April 14, 2003 1:57 PM
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Subject: RE: [amibroker] Alertif
> > 
> > 
> >   Thomas,
> >   experiment with your flags. First try eliminating them all 
> together which
> > results in the default settings.
> >   Jayson
> >   -----Original Message-----
> >   From: Thomas Schneider [mailto:TS-Schneider@x...]
> >   Sent: Monday, April 14, 2003 1:41 PM
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Subject: [amibroker] Alertif
> > 
> > 
> >   Hi, following problem.
> >   I have an indicator e.g the DMI (as listed bellow). NOw if the
> >   indicator is indicating a buy or sell, I want to get an email. 
> But I
> >   got a lot of emails. If I use the 4 flag I get more as if I use 
> the 8
> >   flag. I use it in a 1 hour chart. With the 8 flag I get an email
> >   every minute. What can I do that I only receive one signal and 
> email?
> > 
> >   //Dynamic Momentum Index Tushar Chande Translated to AFL by 
Jayson
> >   Casavant
> >   //Cmo5 formula
> >   CMO5_1=Sum( IIf( C > Ref( C, -1 ) , ( C - Ref( C ,-
> 1 ) ) ,0 ) ,5 ) ;
> >   CMO5_2=Sum( IIf( C < Ref( C ,-1 ) , ( Ref( C ,-1 ) - 
> C )  ,0 ) ,5 );
> >   CMO5=DEMA(100 * (( CMO5_1 -CMO5_2)  /( CMO5_1+CMO5_2)),3);
> > 
> >   //Cmo10 formula
> >   CMO10_1=Sum( IIf( C > Ref( C, -1 ) , ( C - Ref( C ,-
> 1 ) ) ,0 ) ,10 ) ;
> >   CMO10_2=Sum( IIf( C < Ref( C ,-1 ) , ( Ref( C ,-1 ) - 
> C )  ,0 ) ,10 );
> >   CMO10=DEMA(100 * (( CMO10_1 -CMO10_2)  /( CMO10_1+CMO10_2)),3);
> > 
> >   //Cmo20 formula
> >   CMO20_1=Sum( IIf( C > Ref( C, -1 ) , ( C - Ref( C ,-
> 1 ) ) ,0 ) ,20 ) ;
> >   CMO20_2=Sum( IIf( C < Ref( C ,-1 ) , ( Ref( C ,-1 ) - 
> C )  ,0 ) ,20 );
> >   CMO20=DEMA(100 * (( CMO20_1 -CMO20_2)  /( CMO20_1+CMO20_2)),3);
> > 
> >   // dmi formula
> >   dmi=((StDev(C,5)* CMO5)+(StDev(C,10)* CMO10)+(StDev(C,20)*
> >   CMO20))/(StDev(C,5)+StDev(C,10)+StDev(C,20));
> >   pds=Param("Smoothing",3,1,10,1);
> >   pds1=Param("Trigger Line",5,1,10,1);
> > 
> >   Plot(EMA(dmi,pds),"Dynamic Momentum Index",colorWhite,1);
> >   Plot(MA(dmi,pds1),"trigger",colorYellow,1);
> > 
> >   Buy=Cross(EMA(dmi,pds),MA(dmi,pds1));
> >   Sell=Cross(MA(dmi,pds1),EMA(dmi,pds));
> >   PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen);
> >   PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed);
> >   AlertIf (Buy, "email", "DMI-BUY/"+WriteVal(C,4.2), type = 1, 
> flags=8);
> >   AlertIf (Sell, "email", "DMI-Sell/"+WriteVal(C,4.2), type =
> >   2,flags=8);
> > 
> > 
> > 
> >   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
> > 
> >   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service.
> > 
> >         Yahoo! Groups Sponsor
> >               ADVERTISEMENT
> > 
> > 
> > 
> > 
> >   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
> > 
> >   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service.
> 
> 
> 
> 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 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
> 
> Yahoo! Groups Sponsor	
>  
> 
<http://us.ard.yahoo.com/M=249982.3083889.4452939.1728375/D=egroupweb/
S=
> 1705632198:HM/A=1524963/R=0/*http://hits.411web.com/cgi-
bin/autoredir?ca
> mp=556&lineid=3083889&prop=egroupweb&pos=HM> 	
>  
> <http://us.adserver.yahoo.com/l?
M=249982.3083889.4452939.1728375/D=egrou
> pmail/S=:HM/A=1524963/rand=270333813> 	
> 
> 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 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/2CXtTB/ca0FAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/