同花顺修订的黑马捕捉指标公式源码 同花顺指标公式大全(4)
2015-10-30 9:28:39 股票入门 http://rumen.southmoney.com
黑码二
攻击线:MA(CLOSE,5),LINETHICK1;
操盘线:MA(CLOSE,10),LINETHICK1;
魔鬼线:MA(CLOSE,20),LINETHICK1;
生命线:MA(CLOSE,30),LINETHICK2;
决策线:MA(CLOSE,60),LINETHICK1;
趋势线:MA(CLOSE,120),LINETHICK2;
牛熊线:MA(CLOSE,250),LINETHICK3;
STICKLINE(C/REF(C,1)>1.07,O,C,2,0),COLORRED;
STICKLINE(REF(C,1)/C>1.07,O,C,2,0),COLOR00FF00;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;
TY:=C;
AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);
前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;
前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;
DRAWICON(CROSS(MA(C,5),MA(C,24)) ,MA(C,5),1);
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3);
BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:=IF(MA(CLOSE,17)<BB,BB,MA(CLOSE,17));
操作线:=分水岭-(EMA(C,3)-分水岭);
DRAWTEXT(CROSS(分水岭,操作线),分水岭-0.5,'B');
MAJ2:=EMA(C,3);
MAJ5:=EMA(C,7);
MAJ13:=EMA(C,13);
MAJ34:=EMA(C,34);
MAJ55:=EMA(C,55);
YCXJ:=MAJ5>=REF(MAJ5,1);
H1:=MAX(MAX(MAJ5,MAJ13),MAJ34);
L1:=MIN(MIN(MAJ5,MAJ13),MAJ34);
DRAWTEXT(H1<C AND O<L1 AND YCXJ AND MAJ2>REF(MAJ2,1),LOW*0.96,'◇');
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。