C增比:=C/REF(C,1);
C均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5;
YC:=C*C均增比;
强弱:=COUNT(YC》REF(YC,1),10)/COUNT(YC《REF(YC,1),10);
A:=EMA(EMA(EMA(EMA(强弱,2),2),2),2);
B:=EMA(EMA(EMA(EMA(强弱,5),5),5),5);
快线:EMA(EMA(EMA(EMA(YC,2),2),2),2),COLORRED,PRECIS2,LAYER1;
慢线:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,PRECIS2,LAYER1;
均价:IF(V》0,SUM(V*C,0)/SUM(V,0),REF(SUM(V*C,0) /SUM(V,0),1)),COLORWHITE,PRECIS2,LAYER3;
上界:(均价+DYNAINFO(5))/2,COLORYELLOW,PRECIS2,LAYER3;
下界:(均价+DYNAINFO(6))/2,COLORCYAN,PRECIS2,LAYER3;
标准1:=COUNT(慢线《下界,5)=5 AND CROSS(A,B) AND 慢线《REF(慢线,1);
标准2:=COUNT(慢线《下界,10)=10 AND CROSS(A,B) AND 慢线《REF(慢线,1);
低位:IF(INDEXADV》INDEXDEC,标准1,标准2),COLORYELLOW,PRECIS0,LINETHICK0;
{老K股票学习网-股票公式网站 }
线幅1:=ABS((上界-慢线)/慢线)*100;
上涨幅:=ABS((上界-REF(上界,1))/REF(上界,1))*100;
线幅2:=ABS((均价-慢线)/慢线)*100;
均涨幅:=ABS((均价-REF(均价,1))/REF(均价,1))*100;
线幅3:=ABS((下界-慢线)/慢线)*100;
下涨幅:=ABS((下界-REF(下界,1))/REF(下界,1))*100;
慢线幅:=ABS((慢线-REF(慢线,1))/REF(慢线,1))*100;
上差:=ABS(均价-上界);
下差:=ABS(均价-下界);
偏下:=COUNT(上差》2*下差,10)=10;
偏上:=COUNT(上差*2《下差,10)=10;
下横:=(COUNT(线幅2《0.25,15)=15 OR COUNT(线幅3《0.25,15)=15) AND (COUNT(均涨幅《0.01,15)=15 OR COUNT(下涨幅《0.01,15)=15) AND COUNT(慢线幅《0.015,10)=10;
上横:=(COUNT(线幅1《0.25,15)=15 OR COUNT(线幅2《0.25,15)=15) AND (COUNT(上涨幅《0.01,15)=15 OR COUNT(均涨幅《0.01,15)=15) AND COUNT(慢线幅《0.015,10)=10;
上突:偏下 AND 下横,COLORRED,PRECIS0,LINETHICK0;
VERTLINE(低位,2),COLORYELLOW,LAYER1;
STICKLINE(上突,下界,均价,0,0),COLORRED;
FILLRGN(快线,慢线,快线》慢线,RGB(155,50,50)),PRECIS2,LAYER2;
FILLRGN(快线,慢线,快线《慢线,RGB(0,100,50)),PRECIS2,LAYER2;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!