同花顺高抛低吸R1公式
-
相关简介:同花顺高抛低吸R1公式 交时1:=FROMOPEN240; 交时2:=交时1=0; 交时3:=1; 定时1:=IF(DATE20150330,交时2,交时3); gpdj:=(2*CLOSE+HIGH+LOW)/4; SJ:=WMA((gpdj-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2); ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2); DRAWTEXT(CROSS(SJ,ZJ) AND SJ30 AND 定时1 ,ZJ,'低吸'),col
-
文章来源:股海网作者:股海网发布时间:2015-06-14浏览次数:
同花顺高抛低吸R1公式
交时1:=FROMOPEN<240;
交时2:=交时1<=0;
交时3:=1;
定时1:=IF(DATE>20150330,交时2,交时3);
gpdj:=(2*CLOSE+HIGH+LOW)/4;
SJ:=WMA((gpdj-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30 AND 定时1 ,ZJ,'←低吸'),coloryellow;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70 AND 定时1 ,zJ,'←高抛'),COLOR00FF00;
高抛:ZJ,COLOR00FF00;
低吸:sJ,coloryellow;
/*FILLRGN(低吸,高抛,( 低吸<高抛 AND 定时1 ),colorblue);*/
FILLRGN(低吸,高抛, ( 低吸>高抛 AND 定时1 ),colorred);
aa2:=(VOL/SHGZG*100)>30;/*换手大于30%*/
aa3:=(VOL/SHGZG*100)>5 AND MONEY>300000000 ;/*换手大于5%和金额大于3亿*/
aa4:=COUNT(aa2,21)>=2; /*换手大于30%时21天内至少有2次*/
aa5:=COUNT(aa3,21)>=1; /*换手大于5%和金额大于3亿时21天内至少有一次*/
aa6:=aa4 OR aa5;
涨幅大:=CLOSE>REF(CLOSE,1)*1.095 AND CLOSE<REF(CLOSE,1)*1.15 ;
aa1:=CLOSE<32;
aa98:=COUNT( 涨幅大,21)>0;
aa8:=涨幅大 AND HIGH=OPEN;
aa9:=COUNT( aa8,21)<4; /*21天内不得有三个一字板涨停*/
aa10:=HIGH>OPEN; /*当天最高价不是开盘价的光头*/
aa99:=aa1 AND aa6 AND aa98 AND aa9 AND aa10;
gpdj:=(2*CLOSE+HIGH+LOW)/4;
SJ:=WMA((gpdj-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
低吸:=CROSS(SJ,ZJ) AND ZJ<30 ;
aa7:=CLOSE<REF(CLOSE,1)*1.05 AND REF(CLOSE,1)<REF(OPEN,1); /*当天涨幅小于5% -上日收阴*/
kkff:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100; /*开盘幅度*/
nn1:=BARSLAST(CLOSE>REF(CLOSE,1)*1.097);
aakk1:=REF(kkff,nn1)<9.5; /*最近一个涨停日的开盘小于9%*/
aakk2:=REF(CLOSE,20)>0; /*上市天数要大于20天以上 */
aasy:=COUNT(CLOSE>OPEN,3)=3;
aakk3:=COUNT(aasy,2)<1; /*2天内三连阳小于一次*/
aakk4:=OPEN<REF(CLOSE,1)*1.02 AND COUNT(HIGH>OPEN,3)=3; /*开盘小于上一日2% ,最高价>开盘价3天内=3次*/
aakk9:=aakk1 AND aakk2 AND aakk3 AND aakk4;
aa100:=aa99 AND 低吸 AND aa7 AND aakk9;
DRAWTEXT( aa100 AND 定时1 ,40,'大换涨停低吸'),LINETHICK3 ,colorred;
DRAWICON( aa100 AND 定时1 ,35,1);