PureBytes Links
Trading Reference Links
|
You may find this interesting also. RSI optimizer with stop. Takes a
long time to run unless you have a fast computer - would only use it
on one security at at time. Used under AB 4.6, haven't had time to
upgrade to 4.7 yet, sorry. Optimization with RSI - be warned however
- it seems to curve fit very well, but haven't had any convincing
forward looking results using it.
//RSI Optimizer
Count1=Optimize("Days",3,2,30,1);
Count2=Optimize("RSI high",92,55,99,1);
Count3=Optimize("RSI low",40,1,45,1);
stop=Optimize("stop%",10.5,1,15,1);
Buy = Cross(Count3,RSI(Count1));
Sell = Cross(RSI(Count1),Count2);
ApplyStop(stopTypeLoss,stopModePercent,stop,True);
--- In amibroker@xxxxxxxxxxxxxxx, kris45mar <kris45mar@xxxx> wrote:
> Vivek
>
> Play around with this and see if it suits your needs:
>
> Just paste into AA window and run as Scan or
> Exploration.
>
> *********
>
>
> r = RSI(14);
> e = EMA(RSI(14),9);
>
> Buy = Cross(r,e);
>
> Sell = Cross(e,r);
>
> Filter = Buy;
> //Filter = Sell;
>
> Plot(r,"RSI(14)",colorRed,styleThick);
> Plot(e,"emaRSI(14)", colorGreen,1);
> Plot(70,"70",colorGrey40,1);
> Plot(30,"30",colorGrey40,1);
> GraphXSpace=3;
>
> AddColumn(C,"C",1.3);
>
>
> *******
>
>
> ChrisB
> --- vivek.kumar-bhat@xxxx wrote:
> >
> > HI
> >
> > need the code for RSI ( 14 ) on its 9 day moving
> > average. Also a scan and
> > exploration code where
> >
> > Buy - rsi ( 14 ) crosses above its 9 day moving
> > average and
> > Sell - rsi ( 14 ) crosses below its 9 day moving
> > average
> >
> > many thanks
> > vivek
> >
> > This email is confidential. If you are not the
> > addressee tell the sender immediately and destroy
> > this email without using, sending or storing it.
> > Emails are not secure and may suffer errors,
> > viruses, delay, interception and amendment. Standard
> > Chartered PLC and subsidiaries ("SCGroup") do not
> > accept liability for damage caused by this email and
> > may monitor email traffic.
> >
> >
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|