无未来测试胜率99. 78%的交易系统公式附原码
-
相关简介:分时控盘交易系统原码: VAR1:=EMA(EMA(C,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(C,S)-EMA(C,P))*10; 神:=EMA(财,M1); BTJ11:=(C-JJ)/JJ-0.03; BTJ2:=控盘REF(控盘,1) AND 控盘-0.2; BTJ3:=CROSS(财,神) AND 财-0.3; BTJ8111:=FILTE
-
文章来源:择股网作者:股海网发布时间:2010-08-14浏览次数:
分时控盘交易系统原码:
VAR1:=EMA(EMA(C,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
财:=(EMA(C,S)-EMA(C,P))*10;
神:=EMA(财,M1);
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ8111:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ811:=BTJ11 AND BTJ2 AND BTJ3;
动态涨幅:=DYNAINFO(14)<6/100;
VAR61:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*80;
B:=SMA(VAR61,7,1);
VAR62:=SMA(B,5,1);
JLHB:=CROSS(B,VAR62) ;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR11:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR12:=LLV(LOW,34);
VAR13:=HHV(HIGH,34);
SK:=EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);
SD:=EMA(SK,3);
CYHT:=CROSS(SK,SD) ;
M1:=EMA(C,5);
M2:=EMA(C,12);
M3:=EMA(C,20);
M4:=EMA(C,50);
虎:=((EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100)*100;
主力:=(EMA( (EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,120)-0.0004)*100;
散户:=(EMA( (EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,200))*100;
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
QST:=not(ST) and not(停牌) and not(S);
BU:= BTJ811 AND ((主力<REF(主力,1) AND 主力<0.63) OR 主力>REF(主力,1)) AND M1>REF(M1,1) AND DYNAINFO(28)<40
AND ((CROSS(B,VAR62) AND B<20) OR ( CYHT AND SK<45 AND (B<15 OR (B>REF(B,1) AND VAR62>REF(VAR62,1))) ))
and CAPITAL<10000000 AND QST ;
ENTERLONG:BU,TFILTER;
技术指标原码(网上的分时有庄):
{分时控盘}
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;
STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;
无庄控盘:=控盘<0;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;
主力出货:=控盘<REF(控盘,1) AND 控盘>0;
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF;
高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2;
A10:=CROSS(控盘,0);
控盘B:=FILTER(IF(A10,1,0),5);
{分时价格原码}
JJ:=DYNAINFO(11);
{波段买卖原码}
P:=55;S:=8;M1:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
神:=EMA(财,M1),COLORGREEN,LINETHICK1;
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ)/JJ<-0.005;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
{控盘买卖条件}
STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;
STJ02:=控盘>0;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ32:=CROSS(财,神) AND 财<-0.1;
STJ31:=CROSS(神,财);
STJ32:=CROSS(神,财) AND 财>1.618;
{以下为信号};
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ8111:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ811:=BTJ11 AND BTJ2 AND BTJ3;
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
DRAWICON(BTJ82,神,23);{追买};
DRAWICON(BTJ81 AND TIME>10,神,27);{};
DRAWICON(BTJ811 AND TIME>10,神,26);{有庄};
DRAWTEXT(BTJ81,神,''),COLORRED;
DRAWTEXT(BTJ811,神*1.2,'有庄'),COLORWHITE;
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
DRAWICON(STJ81,神,19);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
DRAWICON(STJ82,神,15);
STJ83:=STJ81 AND STJ82;
DRAWTEXT(STJ83,神,'必卖'),COLOR00FF00;