以下是精确波段副图公式+短线出击:买底特准
{精确波段副图公式 }
80,CIRCLEDOT;
20,CIRCLEDOT;
8,CIRCLEDOT;
0;100;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
AA: (EMA(VAR1,3))*2;
BB:MA(AA,3);
DRAWBAND(AA,RGB(150,0,150),BB,RGB(150,150,150));
STICKLINE(AA>=BB,53,47,4,0),COLOREE82EE;
STICKLINE(AA<BB,53,47,4,1),COLORB3EE3A;
STICKLINE(CROSS(AA,20),58,42,2,0),COLORB23AEE;
VAR2:8,COLORGREEN,LINETHICK0;
IF(CROSS(AA,VAR2),40,0),STICK,;
DRAWICON(CROSS(AA,VAR2),40,13);
DRAWICON(CROSS(80,AA),80,14);
IF(AA<=8,5,0),STICK,COLORFF00FF,LINETHICK5;
STICKLINE(CROSS(80,AA),80,70,0.2,0),COLOR00FF00;
DRAWICON(CROSS(80,AA),70,2);
DRAWTEXT(CROSS(80,AA),66,’卖’);
DRAWTEXT(CROSS(AA,VAR2),55,’买’)COLORYELLOW;
DRAWICON(CROSS(AA,20),30,1);
STICKLINE(CROSS(AA,20),20,30,0.2,0),COLORRED;
DRAWICON(CROSS(AA,20),20,13);
DRAWICON(CROSS(AA,VAR2),0,13);
DRAWTEXT(CROSS(AA,20),62,’加仓’)COLORYELLOW;
{短线出击}
RSV:=(((CLOSE – LLV(LOW,9)) / (HHV(HIGH,9) – LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
RE:=CROSS(J,REF(J+0.01,1)) AND X AND J<19;
STICKLINE(RE,0,29,1,0),COLORYELLOW;
CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
HH:=CROSS(20,EMA(CSS,3));
CE:=REF(HH,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:=IF(CROSS(短线买点,1) AND (短线买点<30),60,1);
II:=短线出击=30;
评论(0)