通达信《搏反弹快拉升》副图指标公式 源码分享
N:=1;T:=1;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,5,1),LINETHICK1;
D:SMA(K,3,1),LINETHICK1;
J:=(3*K-2*D);
RSV56:=(CLOSE-LLV(LOW,56))/(HHV(HIGH,56)-LLV(LOW,56))*100;
K1:SMA(RSV56,15,1),LINETHICK1;
D1:SMA(K1,4,1),LINETHICK1;
DRAWBAND(K,RGB(188,28,38),D,RGB(28,134,238));
DRAWBAND(K1,RGB(108,0,1),D1,RGB(18,158,518));
大胆买:4*K1-3*D1,COLOR592CDB;
搏反弹6:((CROSS(大胆买,6) AND LLV(大胆买,16)<6))*100,STICK,LINETHICK3,COLOR00FFFF;
搏反弹8:( (CROSS(大胆买,8) AND LLV(大胆买,16)<8))*100,STICK,LINETHICK3,COLOR00FFFF;
搏反弹10:((CROSS(大胆买,10) AND LLV(大胆买,16)<10) )*100,STICK,LINETHICK3,COLOR00FFFF;
DRAWICON(大胆买<16 AND 大胆买>13.99,50,13);
DRAWICON(大胆买<13.99 AND 大胆买>11.99 ,50,1);
DRAWICON(大胆买<11.99,50,38);
DRAWICON(搏反弹6=100,90,25);
DRAWICON(搏反弹8=100,90,26);
DRAWICON(搏反弹10=100,90,27);
B1:=BARSLAST(REF(CROSS(K,D),1));
快进场:REF(C,B1+1)>C AND K>REF(K,B1+1) AND CROSS(K,D) AND REF(D,B1+1)<20 AND HHV(D,B1+1)<50,LINETHICK0;{www.goodgongshi.com}
STICKLINE(快进场,0,100,1,0),COLOR5555FF;
GOODGONGSHICOM:=SUM((C-REF(C,1))/REF(C,1)*100,5)<1;
下影线:=(H-L)/L*100>5 AND (MIN(O,C)-L)/L*100>5;
快拉升:GOODGONGSHICOM AND 下影线 AND 大胆买<20,LINETHICK;
STICKLINE(快拉升,0,30,3,0),COLORYELLOW;
STICKLINE(快拉升,30,50,2,0),COLOR0505FF;
STICKLINE(快拉升,50,70,1,0),COLOR0505FF;
TJ:=V>=2*REF(V,1) AND K1<40 AND 大胆买>REF(大胆买,1),LINETHICK0;
TJ0:=V>=3*REF(V,1),LINETHICK0;
DRAWICON(TJ,20,2);