PureBytes Links
Trading Reference Links
|
>
> can any one help in a auto analysis code for the following,
>
I'm a noob, but this seem's to work;
//StochLow=Optimize("StochLow",20,15,25,1);
//StochHigh=Optimize("StochHigh",80,75,85,1);
//RSILow=Optimize("StochLow",30,25,35,1);
//RSIHigh=Optimize("StochHigh",70,65,75,1);
//StochKperiod =Optimize("StochKperiod ",14,10,18,1);
//StochKsmooth =Optimize("StochKsmooth ",3,1,3,1);
//StochDperiod =Optimize("StochDperiod ",14,10,18,1);
//StochDsmooth =Optimize("StochDsmooth ",3,1,3,1);
//BBperiod =Optimize("BBperiod ",15,12,16,1);
//BBwidth =Optimize("BBwidth ",2,1,3,0.1);
//RSIperiod =Optimize("RSIperiod ",14,10,18,1);
StochLow=20;
StochHigh=80;
RSILow=30;
RSIHigh=70;
StochKperiod =14;
StochKsmooth =3;
StochDperiod =14;
StochDsmooth =3;
BBperiod =15;
BBwidth =2;
RSIperiod =14;
k=StochK(StochKperiod, StochKsmooth);
d=StochD(StochDperiod, StochKsmooth,StochDsmooth);
bbTop=BBandTop( C, BBperiod , BBwidth );
bbBottom=BBandBot( C, BBperiod , BBwidth );
r=RSI( RSIperiod);
Buy= r < RSILow AND C < bbBottom AND k < StochLow AND d < StochLow;
Sell= r > RSIHigh AND C > bbTop AND k > StochHigh AND d > StochHigh;
Short= Sell;
Cover= Buy;
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/
|