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

[amibroker] Re: Dynamic indicators



PureBytes Links

Trading Reference Links

Almost indispensable whenever I need SAR [depended on H, L]
H1=H;L1=L;
DD=DEMA(StochD(40),15);
H=dd;L=dd;
cc=SAR(0.01,0.2 );// this is a SAR of smoothed stochastic curve
Plot(DD,"",(dd>Cc)*5+(dd<=Cc)*4,8);
Plot(Cc,"",2,8);
H=H1;L=L1;// to continue with regular H, L

As you suppose, it is VERY useful for trading rules.
DT

--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Very True..... with a bit of creativity almost anything is possible 
with
> AFL..
> 
> Jayson
> -----Original Message-----
> From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@x...]
> Sent: Thursday, April 17, 2003 12:04 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Dynamic indicators
> 
> 
> Jayson,
> You may always overcome this
> C1=C;// preserve C for later use
> C=V/10^6;// redefine C
> Plot(MACD(),"",1,1);// this is the MACD of Volume
> C=C1;// recall the initial C to continue
> Plot(MACD(),"",5,2);// this is the usual MACD
> DT
> >   ----- Original Message -----
> >   From: Jayson
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Sent: Thursday, April 17, 2003 3:36 PM
> >   Subject: RE: [amibroker] Dynamic indicators
> >
> >
> >   A workaround would be
> >
> >   c=v;
> >   plot(macd(12,26),"",4,1);
> >
> >   of course this fails if you need actual closing data elsewhere 
in
> the code......
> >
> >
> >
> >   Jayson
> >
> 
> 
>       Yahoo! Groups Sponsor
> 
> 
> 
> 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 ---------------------~-->
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/