1、趋势主图 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); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF; 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); 2、SZ布林副图 指指标,由本人精心改制而来,本人用得好,才向平台推荐,希望也能满足你的需要!( 股民学院: http://www.58188.com ) MA5:MA(CLOSE,5); 买线:=ZIG(3,10); 卖线:=MA(买线,3); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(bu,L*0.95,'买'),linethick1,color00aaff; DRAWTEXT(sel,H*1.05,'卖'),linethick1,color00ff00; DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff; DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff; STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC; STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC; STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00; STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF; STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00; 3、做T参考,短线指标,高抛低吸波段类公式 本公式做T参考,是一个很好的短线指标,适合高抛低吸波段操作。 DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0);//做T参考 高抛低吸 H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8,colorgreen; 支撑:=L1+P1*0.5/8,colorred; 中线:=(支撑+阻力)/2,colorwhite,POINTDOT; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线:EMA(V11,3),LINETHICK2,colorlimagenta; V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 准备买入:STICKLINE(趋势线<11,趋势线,11,5,0),coloryellow; AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线; BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线; BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11); BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6); BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3); BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1); BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0); BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1; 下单买入:STICKLINE(BB=1 AND C<中线,11,50,3,0),colorred; DRAWICON(BB=1 AND C<中线,55,1); DRAWTEXT(BB0,60,'★买'),colorred; DRAWTEXT(AA,16,'准备买入'),coloryellow; 准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),colorwhite; CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线; DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线; DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线); DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线); DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线); DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线); DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线); DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1; 下单卖出:STICKLINE(DD=1 AND C>中线,89,50,3,0),colorgreen; DRAWICON(DD=1 AND C>中线,45,2); DRAWTEXT(DD0,40,'★卖'),colorgreen; DRAWTEXT (CC,84,'准备卖出'),colorwhite; 顶:89,colorgreen; 底:11,colorred; 中:50,POINTDOT,colorwhite; DRAWTEXT(ISLASTBAR,顶,'顶'),colorgreen; DRAWTEXT(ISLASTBAR,底,'底'),colorred; DRAWTEXT(ISLASTBAR,中,'中'),colorwhite; |