通达信博弈矩阵主图指标公式: N11:=60; KK:=BARSLAST(CURRBARSCOUNT=N11); GD:=CONST(IF(ISLASTBAR=1,HHV(H,KK),0)); DD:=CONST(IF(ISLASTBAR=1,LLV(L,KK),0)); KJ:=GD-DD; 平衡:=IF(CURRBARSCOUNT<=N11,DD+KJ/2,DRAWNULL); 压力:=IF(CURRBARSCOUNT<=N11,GD-KJ*0.191,DRAWNULL); 支撑:=IF(CURRBARSCOUNT<=N11,DD+KJ*0.191,DRAWNULL); 高区:IF(CURRBARSCOUNT<=N11,GD,DRAWNULL),COLORRED,LINETHICK2; 低区:IF(CURRBARSCOUNT<=N11,DD,DRAWNULL),COLOR00FF00,LINETHICK2; DRAWBAND(高区,RGB(130,20,0),平衡,RGB(0,0,0)); DRAWBAND(平衡,RGB(100,0,100),低区,RGB(0,0,0)); AA1:=BARSLAST(MONTH!=REF(MONTH,1))+1; 月±%:=(CLOSE/REF(CLOSE,AA1)-1)*100,COLOR00FFFF,NODRAW; STICKLINE(CURRBARSCOUNT=N11,GD,DD,0,-1),COLORWHITE; STICKLINE(CURRBARSCOUNT=N11/2,GD,DD,0,-1),COLORWHITE; {STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORWHITE;} STICKLINE(CURRBARSCOUNT<=N11,平衡,平衡,3,-1),COLORWHITE; STICKLINE(CURRBARSCOUNT<=N11/2,压力,压力,3,0),COLORRED; STICKLINE(CURRBARSCOUNT<=N11/2,支撑,支撑,3,0),COLORGREEN; DRAWTEXT(CURRBARSCOUNT=N11/4+5,GD-KJ*0.09,'【风险区】--高抛避险'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=N11/4+5,GD-KJ*0.3,'【警示区】--逢高减仓'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=N11/4+5,DD+KJ/3,'【关注区】--逢低买入'),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=N11/4+5,DD+KJ/10,'【休整区】--养精畜锐'),COLOR00FF00; DRAWTEXT(CURRBARSCOUNT=N11/2+15,GD-KJ*0.191,'【拉升区】'),COLORRED; DRAWTEXT(CURRBARSCOUNT=N11/2+15,DD+KJ*0.191,'【持股区】'),COLORYELLOW; 短线:=MA(C,14),COLORWHITE; 中线:=(LLV(短线,2)+LLV(短线,4)+LLV(短线,6)+LLV(短线,8))/4,COLORYELLOW; 长线:=EMA(短线,3); DRAWBAND(短线,RGB(255,255,0),长线,RGB(0,0,255)); 下跌:IF(短线=中线,中线,DRAWNULL),COLORBLUE; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); 通达信红箭飞升异动指标公式: STICKLINE(C,12,0,5,0),COLOR9C8700; STICKLINE(C,-2,0,5,0),COLOR004400; V1:=EMA(CLOSE,60)-EMA(CLOSE,300); V2:=EMA(V1,300); V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; V4:SMA(V3,2,1); V5:SMA(V4,2,1); V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BACKSET(V6,3); 换手:=VOL/CAPITAL*100; 综价:=(H+L+O+3*C)/6; 量权均线:=DMA(综价,换手/SUM(换手,10)); 量价判底:=(C-量权均线)/量权均线<-0.22; 大涨买:IF((V7 AND COUNT(V7,3)=1),50,0),COLORMAGENTA,LINETHICK2; DRAWTEXT(大涨买,50,0'大涨买 '),COLORMAGENTA; 速跌:=REF(H,10)/C>1.382; 急跌:=REF(C,3)/L>1.15; 易涨:=COST(15)>1.25*C; 市场弱状:=速跌 AND 急跌 AND 易涨; 异动:=H>L*1.051 OR H>L+0.05*REF(C,1); 乖离条件:=(C-MA(C,34))/MA(C,34)<-0.23 OR C/MA(C,60)<0.74; 乖离判底:=(市场弱状 OR 乖离条件) AND 异动; 佛珠:量价判底 OR 乖离判底,COLORRED,LINETHICK0; V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0); 乖离13:=10-SMA((C-MA(C,13))/MA(C,13),2,1)*10; 乖离16:=10-SMA((C-MA(C,16))/MA(C,16),2,1)*10; 乖离21:=10-SMA((C-MA(C,21))/MA(C,21),2,1)*10; 可羽化:=乖离13<10; 羽化:(可羽化 AND 乖离13); 可飞升:=乖离16<10; 飞升:可飞升 AND 乖离16; 可成仙:=乖离21<10; 成仙:乖离21; 头部:= IF(V12=50,100,0); 卖:IF(头部>REF(头部,1),50,0),COLORGREEN,LINETHICK2; V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0); 底部:= IF(V11=50,50,0); STICKLINE(可成仙,乖离21,10.5,4,0),COLOR00389A; STICKLINE(成仙,乖离21,10.5,4,0),COLOR00BEFF; STICKLINE(可飞升,乖离16,10.5,4,0),COLOR00389A; STICKLINE(可羽化,乖离13,10.5,4,0),COLORFF76FF; 多空线:=(MA(综价,2)+MA(综价,4)+MA(综价,8)+MA(综价,16))/4; 短线多空对峙位:=(多空线-LLV(多空线,30))/(HHV(多空线,30)-LLV(多空线,30))*10; K短:=SMA(短线多空对峙位,3,1); D短:=SMA(K短,3,1); J短:=3*K短-2*D短; J短A:=IF(J短>10,10,J短); J短B:=IF(J短A<0,0,J短A); 均J短B:=SMA(J短B,2,1); 成佛:CROSS(均J短B,乖离21),COLOR0000FF,LINETHICK0; DRAWICON(成佛,10,5); DRAWICON(成佛,9.5,5); DRAWICON(成佛,9.0,5); DRAWTEXT(成佛,9.5,'←成佛'),,COLORFFFFFF; 买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK2; WWW58188COM:(C-MA(C,27))/MA(C,27)<-0.16,COLOR005500,LINETHICK0; DRAWTEXT(买,40,'买 '),COLORYELLOW; 通达信老鼠仓大黑马指标公式(顶尖财经 股票学院: http://58188.com): N:=5; SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100); AA10:MA(CLOSE,8),COLOR0000FF; AA12:MA(CLOSE,12),COLOR0000FF; BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10); BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10); MA13:=MA(CLOSE,13); STICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >= 1)),AA10,AA12,4,0),COLOR0080FF; STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <= 1)),AA10,AA12,4,0),COLOR00FF00; X1:=(C+L+H)/3; BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8); DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10), EMA8,'∠45上升'),COLORWHITE; 压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF; 支撑:MA(REF(LLV(C,30),1),2),COLORABFF46; AA1:=AMOUNT/V; BB1:=L<AA1*0.9; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=V<MA(V,5)*1.5; FF1:=BB1 AND CC1 AND DD1 AND EE1; DRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑马线:=EMA(A51,5); A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)); DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'▲大黑马'),COLORYELLOW; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); VAR2:=LLV(LOW,27); VAR3:=HHV(HIGH,34); VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25; 注意买:=IF((VAR4<10),80,100); RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 超跌:=IF(J<0,10,0); BDDD:=LLV(J,2)=LLV(J,8); 买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0); DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,LOW,'短线'),COLOR8000FF; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); |