PureBytes Links
Trading Reference Links
|
Dimitri & All
correct powerSAR with variable period is powerSARI ( not powersarM)
Var1=0.02;//int(RSIa(C,3))/100;
Var2=0.04;//int(RSIa(C,5))/100;
Buy=Cum(1)%20==0;
Sell=Cum(1)%10==0;
Plot(Close,"",1,64);
Plot(scPowerSarI(0,0,0.02,0.04,0.06),"",colorGreen,8+16);
> It is OK.
> Thank you, it is interesting and gives me what I was looking for.
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
<TSOKAKIS@xxxx>
> wrote:
> > Stephane,
> > The PowerSarM() does not work and freezes the program.
> > Is there anything missing ?
> > You next scZigHiLo works fine.
> > DT
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset"
> > <nenapacwanfr@xxxx> wrote:
> > > Hello,
> > > you can find the powersar in trailingstop dll in third party
> > > in this dll there is a powersar called scPowerSarM and it
accepts
> > > variable for max and min factor accelerator factors . Only the
> > > maximum is not variable.
> > >
> > > for example
> > > Var1=int(RSIa(C,3))/100;
> > > Var2=int(RSIa(C,5))/100;
> > > ssc=scPowerSarM(0,0,Var1,Var2,0.06) ;
> > > Plot(Close,"close",1,64);
> > > Plot(ssc,"ssc",2,1);
> > >
> > > the purpose of the first and second variable are to initialize
> the
> > > powersar to a buy or sell signal
> > > if you don't want this option the first and second variable
must
> be
> > > zero .
> > >
> > > stephane
> > >
> > > >
> > > > Don't know what happened to the DLL but Stephane's afl is
> posted
> > at
> > > > #13485.
> > > >
> > > > Keith
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "Al Venosa" <advenosa@xxxx>
> > wrote:
> > > > > Keith:
> > > > >
> > > > > I've been trying to find Stephane's PowerSAR for some time
> now,
> > > but
> > > > I have no clue where it is. I've looked in the 3rd party area
> and
> > > the
> > > > Yahoo groups files area, but I see nothing labeled PowerSAR.
> Can
> > > you
> > > > point me to where it is? Thanks a lot.
> > > > >
> > > > > Al Venosa
> > > > .
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/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/
|