以下是通达信指标副图公式大黑马源码和截图
通达信黑马指标副图公式大黑马源码:
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8 100,100,VAR8);
VAR10:=IF(VAR9 -120,VAR9,0);
VAR11:=VAR10 REF(VAR10,1);
VAR12:=SMA(((HHV(CLOSE,13)-CLOSE)/(HHV(CLOSE,13)-LLV(CLOSE,13))),5,1);
VAR13:=SMA(((LLV(CLOSE,60)-CLOSE)/(HHV(CLOSE,60)-LLV(CLOSE,60))),5,1);
冲顶:((10/VAR12)-10)/5,COLORSTICK,COLOR0080FF;
STICKLINE((冲顶 24),0,冲顶,1,1),COLORGREEN,LINETHICK1;
MA冲顶:=EMA(冲顶,3),COLORGREEN;
探底:((10/VAR13)-10)/5,COLORSTICK,COLORCYAN;
STICKLINE((探底 -50),0,探底,1,1),COLORYELLOW,LINETHICK1;
冲顶差值:=1.5*(冲顶-REF(冲顶,1)),COLORYELLOW;
IF(冲顶差值 =0,15,DRAWNULL),COLORYELLOW,CIRCLEDOT;
探底差值:=0.2*(探底-REF(探底,1)),COLORWHITE;
IF(探底差值 =0,1,DRAWNULL),COLORWHITE,CIRCLEDOT;
能量上行:=冲顶差值 0AND探底差值
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
aa:MACD 0ANDMACD REF(MACD,1);
VARF1:=MA(HHV(HIGH,485),17);
VARF2:=MA(HHV(HIGH,222),17);
VARF3:=MA(HHV(HIGH,96),17);
VARF4:=MA(LLV(LOW,485),17);
VARF5:=MA(LLV(LOW,222),17);
VARF6:=MA(LLV(LOW,96),17);
VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VARF3*0.558)/6,17);
VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3*0.65)/6,17);
VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);
VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);
VAFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAA:=EMA(VAFF,9);
JC:=CROSS(VAFF,Vaa);
VARFB:=IF(C=C,VARFA,VARFA*DAY);
VARFC:=LOW;
VARFD:=REF(LOW,1);
VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;
VARFF:=MA(IF(CLOSE*1.35 =VARFB,VARFE*10,VARFE/10),3);
VARF10:=LLV(LOW,30);
VARF11:=HHV(VARFF,30);
mdzb:=IF(C=C,MA(IF(LOW =VARF10,(VARFF+VARF11*2)/2,0),3),100000000)/(200),colorred,LINETHICK2;
zq:=SUMBARS(CROSS(mdzb,0.5),1);
xmdgs:=jcANDCOUNT(jc,zq)=1;
bb:=STICKLINE(xmdgs,60,1,7,1);
海豹偷鸡队:aaandbb,COLORSTICK,LINETHICK5;
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2);
黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;
反切线:100-EMA(A1,5),LINETHICK2,COLOR00FF00;
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
线:(EMA(4*SMA(A4,6,1)-3*SMA(SMA(A4,5,1),5,1),2)),LINETHICK1,COLORYELLOW;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
底部:(A2 -10ANDA2 REF(A2,1))*25,COLORRED;
机会来临:REF(IF((MA(C,5)-C)/C 0.04AND(MA(C,10)-MA(C,5))/MA(C,5) 0.04,30,0),1),LINETHICK2,COLORE66878;
大势已去:IF(CROSS(黑马线,A1)AND黑马线 70AND趋势线 80,90,100),LINETHICK2,COLORE66878;
50,LINETHICK3,COLORE66888,POINTDOT;
70,COLORYELLOW,POINTDOT;
DRAWTEXT(FILTER(REF(黑马线,1) 90ANDA2 0,7),黑马线,'跑'),COLOR00FF00;
DRAWTEXT(CROSS(趋势线,黑马线)AND黑马线 20AND黑马线 A5,黑马线,'黑马');
DRAWTEXT(CROSS(趋势线,0)AND黑马线 40,5,'大黑马');
通达信黑马指标副图公式大黑马截图