同花顺红钻追涨主图源码指标公式同花顺公式
2017-09-17 来源:网络 编辑:翔博软件
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MA1:=MA(CLOSE,8); MA2:=MA(CLOSE,21); 多头:STICKLINE(DIFFDEA,CLOSE,OPEN,2.5,0),COLOR0000FF; STICKLINE(DIFFDEA,HI
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,21);
多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,2.5,0),COLOR0000FF;
STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLOR0000FF;
空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,2.5,0),colorgreen;
STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),colorgreen;
多:=EMA(C,3),coloryellow;
空:=EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),colorwhite,;
中轨:HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:LLV(MA(H,13),1),colorred,LINETHICK1;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
开启盛世:=W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
DRAWICON(开启盛世,均衡*0.99,25),COLOR00FF00;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
中轨:=HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:=LLV(MA(H,13),1),colorred,LINETHICK1;
红钻追涨:W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
中轨:=HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:=LLV(MA(H,13),1),colorred,LINETHICK1;
红钻追涨:W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;
红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;
黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
DEA:=EMA(DIFF,9);
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,21);
多头:STICKLINE(DIFF>DEA,CLOSE,OPEN,2.5,0),COLOR0000FF;
STICKLINE(DIFF>DEA,HIGH,LOW,0,0),COLOR0000FF;
空头:STICKLINE(DIFF<=DEA,CLOSE,OPEN,2.5,0),colorgreen;
STICKLINE(DIFF<=DEA,HIGH,LOW,0,0),colorgreen;
多:=EMA(C,3),coloryellow;
空:=EMA(C,5),COLOR00FF00;
均衡:EMA(空,5),colorwhite,;
中轨:HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:LLV(MA(H,13),1),colorred,LINETHICK1;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
开启盛世:=W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
DRAWICON(开启盛世,均衡*0.99,25),COLOR00FF00;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
中轨:=HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:=LLV(MA(H,13),1),colorred,LINETHICK1;
红钻追涨:W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
W1:=C=HHV(C,5);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
中轨:=HHV(MA(H,13),13),coloryellow,LINETHICK1;
趋势:=LLV(MA(H,13),1),colorred,LINETHICK1;
红钻追涨:W4 AND COUNT(W4,5)=1 AND 中轨=趋势;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;
红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;
黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
关注我们
商务合作咨询,微信扫描二维码