以下是通达信操盘王主图加密公式非常好用(无源码的请下载附件导入)
DII:MA(C,7),COLORWHITE,LINETHICK1;
IF(DII>REF(DII,1),DII,DRAWNULL),COLORFF00FF,LINETHICK1;
IF(DII<REF(DII,1),DII,DRAWNULL),COLORGREEN,LINETHICK1;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
DRAWTEXT(FB,L-0.38,'●疯牛'),COLORRED;
STICKLINE(FB,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(FB,OPEN,CLOSE,1,0),COLORYELLOW;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.95),'★底部'),COLORYELLOW;
STICKLINE(AB,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(AB,OPEN,CLOSE,1,0),COLORMAGENTA;
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;
老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.96),'★起爆 '),COLORF00FF0;
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(AA,LOW,HIGH,0 ,0 ),COLORYELLOW;
MMM:=MA(CLOSE,6);
DRAWICON((CLOSE<MMM),MMM,2);
DRAWICON((CLOSE>MMM),MMM,1);
认证股龙工作室:INDEXADV,COLOR0000EE,NODRAW;
====================================================
我修改的操盘王:
MA13:EMA(C,13);
MA21:EMA(C,21);
MA34:EMA(C,34);
MA144:EMA(C,144);
MMM:=MA(CLOSE,5);
DRAWICON((CLOSE<MMM),MMM,27);
DRAWICON((CLOSE>MMM),MMM,26);
LC5:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC5,0),6,1)/SMA(ABS(CLOSE-LC5),6,1)*100;
RR:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
AA:=SMA(RR,3,1);
BB:=SMA(AA,3,1);
CCC:=(BB/2+40)*1.100;
DA:=SMA(CCC,3,1);
短逃:DRAWICON(CROSS(DA,RSI5),HIGH*1.020,12);
DRAWTEXT(CROSS(DA,RSI5),HIGH*1.030,'短逃'), COLORCYAN;
SJJ:=EMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,2);
ZJJ:=EMA(0.667*REF(SJJ,1)+0.333*SJJ,2);
DRAWTEXT(CROSS(SJJ,ZJJ) AND SJJ<30,LOW-0.050,'←低吸'),LINETHICK2, COLOR00FF99;
|