通达信黄金K线主图指标公式
本指标是在其他指标里摘录出来的,一些股票之前的走势,出先黄金K线时进入的话,好像还蛮可以的,当然也有出现黄金K线时下跌厉害的地方,其结果只能由将来来验证了!这个根据个人的爱好来选股!也欢迎大家拍砖和指正!
A=(3C+H+L+O)6;
XJ=(A+0.618REF(A,1)+0.382REF(A,2)+0.236REF(A,3)+0.146REF(A,4))2.382;
YCZXH=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))4;
YCZXL=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))4;
PJ=(10A+9REF(A,1)+8REF(A,2)+7REF(A,3)+6REF(A,4)+5REF(A,5)+4REF(A,6)+3REF(A,7)+2REF(A,8)+REF(A,9))55;
A1=EMA(PJ,3),COLOR004000;A2=EMA(PJ,5),COLOR004000;
A3=EMA(PJ,7),COLOR004000;A4=EMA(PJ,9),COLOR004000;
A5=EMA(PJ,11),COLOR004000;
LX=REF(XJ,1);
ZD=(SMA(MAX(XJ-LX,0),5,1)SMA(ABS(XJ-LX),5,1))100;
KX1=(CLOSE=OPEN) AND ZD=50;
KX2=(CLOSEOPEN) AND ZD=50;
KX3=(CLOSE=OPEN) AND ZD50;
KX4=(CLOSEOPEN) AND ZD50;
AAA2=SUM(IF( CLOSEREF(CLOSE,1),VOLC,0),0);
AAA3=SUM(IF( CLOSEREF(CLOSE,1),VOLC,0),0);
AAA4=SUM(IF( CLOSE=REF(CLOSE,1),VOLC,0),0);
BBB1=0;
B1万元=DVOLDCLOSE100;
B1差=B1万元-REF(B1万元,1);
B2万元=DVOLDCLOSE100;
B2比=B2万元REF(B2万元,1);
净流入万元=(AAA2-AAA3-0.5AAA4);
PM=MA(净流入万元,1);
PMA=PMREF(PM,1)1;
PMB=REF(PMA,1)1 AND PMA;
密码=(EMA(MA(B1万元,2),2))100000,COLORYELLOW,NODRAW;
二日比=密码REF(密码,1);
选股=PMB AND 密码REF(密码,1) AND 二日比1 ,COLORRED,NODRAW;
均价线=AMOUNTV100;
均价线2=MA(均价线,3);
均价线5=MA(均价线,5);
均价线10=MA(均价线,10);
均价线30=MA(均价线,30);
突破=C均价线2 AND 均价线2REF(均价线2,1) AND REF(均价线2,1)REF(均价线2,2)
AND REF(均价线2,2)REF(均价线2,3) AND 选股;
STICKLINE(突破,O,C,3,0),COLORYELLOW;
STICKLINE(突破,H,C,0.01,0),COLORYELLOW;
STICKLINE(突破,L,O,0.01,0),COLORYELLOW;
DRAWTEXT(突破,L0.98, '黄金K线'),COLORYELLOW;