D:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
D1:=ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1416;
D2:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.1416;
D3:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34));
D4:=(AMOUNT/C)/(HHV(AMOUNT,34)/HHV(C,34));
D5:=IF(D4》1,1,D4)*100;
D6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
D7:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)*30;
D8:=D5》=90 AND D3》80 AND MA(D6,12)《90;
D9:=BARSLAST(CROSS(D7,MA(D6,12)))《40;
D10:=C/REF(C,1)》1+0.01*2;
AA:=IF(D》45 AND D1》55 AND D2》30 ,1,0);
AA1:=D8 AND D9 AND (C》O OR C/REF(C,1)》1.05) AND D10;
BB1:=C/REF(C,1)》1+0.01*9;
BB2:=EXIST(C/REF(C,1)》1+0.01*9,10);
BB3:=C/REF(C,1)》1+0.01*9;
AA2:=IF(BB1+BB2+BB3=3,1,0);
BB4:=EMA(C,50)》EMA(C,240);
BB5:=BARSLAST(CROSS(EMA(C,240),EMA(C,50)));
BB6:=IF(BB4》0,BB5,50);
BB7:=C/LLV(C,BB6)*100-100;
AA3:=HHV(BB7,283);
AA4:=(AA》0 OR AA1》0 OR AA2》0) AND COUNT(AA》0,2)》=1 AND COUNT(AA1》0,3)》=1 AND COUNT(AA2》0,5)》=1 ;
截杀二代:=IF(AA4》0 AND COUNT(AA4》0,10)=1 AND AA3《100 》=1 AND (H-C)/C*100《1 AND REF(C《O,1) ,5,0);
STICKLINE(截杀二代,1,100,1,0),LINETHICK2,COLORRED;
STICKLINE(截杀二代,1,100,0.7,0),LINETHICK2,COLORRED;
STICKLINE(截杀二代,1,100,0.4,0),LINETHICK2,COLORRED;
STICKLINE(截杀二代,1,100,0.1,0),LINETHICK2,COLORRED;
{
选股公式:
D:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
D1:=ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1416;
D2:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.1416;
D3:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34));
D4:=(AMOUNT/C)/(HHV(AMOUNT,34)/HHV(C,34));
D5:=IF(D4》1,1,D4)*100;
D6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
D7:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4)*30;
D8:=D5》=90 AND D3》80 AND MA(D6,12)《90;
D9:=BARSLAST(CROSS(D7,MA(D6,12)))《40;
D10:=C/REF(C,1)》1+0.01*2;
AA:=IF(D》45 AND D1》55 AND D2》30 ,1,0);
AA1:=D8 AND D9 AND (C》O OR C/REF(C,1)》1.05) AND D10;
BB1:=C/REF(C,1)》1+0.01*9;
BB2:=EXIST(C/REF(C,1)》1+0.01*9,10);
BB3:=C/REF(C,1)》1+0.01*9;
AA2:=IF(BB1+BB2+BB3=3,1,0);
BB4:=EMA(C,50)》EMA(C,240);
BB5:=BARSLAST(CROSS(EMA(C,240),EMA(C,50)));
BB6:=IF(BB4》0,BB5,50);
BB7:=C/LLV(C,BB6)*100-100;
AA3:=HHV(BB7,283);
AA4:=(AA》0 OR AA1》0 OR AA2》0) AND COUNT(AA》0,2)》=1 AND COUNT(AA1》0,3)》=1 AND COUNT(AA2》0,5)》=1 ;
截杀二代:IF(AA4》0 AND COUNT(AA4》0,10)=1 AND AA3《100 》=1 AND (H-C)/C*100《1 AND REF(C《O,1) ,5,0);
}
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!