以下是大智慧战无不胜4副图指标
大智慧战无不胜4副图指标
源码
N:=3;M:=20;
LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/ SMA(ABS(CLOSE-LC),6,1)*100; 顶部雷达:CROSS(80,RSI)*300,,LINETHICK2 colorgreen; DRAWTEXT(CROSS(80,RSI) , 300,’★见顶 ‘)colorgreen; Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100; Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; Vard:=BARSCOUNT(CLOSE); 底部雷达:(Varb< 20 AND Varc< 25 AND Vard> 50)*300, ,linethick2 colorff9933;DRAWTEXT(CROSS(100,底部雷达) ,300,’☆底 ‘), , linethick1 COLORMAGENTA; Var1:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100-60; Var2:=SMA(Var1,3,1)+100; Var3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*1000; Var4:=SMA(Var3,3,1); Var5:=SMA(Var4,3,1)+100; Var6:=Var5-Var2; 主力:EMA( (CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*4800,2), ,linethick2 COLORRED; 散户:EMA( (CLOSE-MA(CLOSE,m))/MA(CLOSE,m)*4800,7), ,linethick2 COLORWHITE; DRAWTEXT(CROSS(散户,0),-400,'<—升!’)color00ccff; MAV:=(2*C+H+L)/4; Var1a:=LLV(LOW,4); Var2a:=HHV(HIGH,7); SK:=EMA((MAV-Var1a)/(Var2a-Var1a)*100,13); SD:=EMA(0.667*REF(SK,1)+0.333*SK,2); 持仓:STICKLINE(SK> SD,60,0,1,0), ,linethick3 COLORYELLOW; 空仓:STICKLINE(SK< SD,60,0,1,0), ,linethick3 color009900; 正负量比:12*(winner(c)-winner(o)), ,linethick2 colorstick; STICKLINE(100*v/capital< 3,100*v/capital,20 ,5 ,0), ,linethick3 colorff9933;时空分裂点:STICKLINE(100*v/capital>= 3 and 100*v/capital<7,100*v/capital, 40,7,0) , ,linethick3 COLORff3399; STICKLINE(100*v/capital>= 7,100*v/capital, 60,2,0), ,COLORRED;
评论(0)