我给简单优化速度加快了!有日线,有周线操作,短线第一个和第二个黄柱子9以上操作买入,遇到蓝柱子卖出,里面有波段介入点,辅助看盘增加买卖点安全性和原版建仓逃顶。
优化速度快
VAR1:=(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,6)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,2,1);
VAR5:=SMA(VAR4,2,1)+100;
VAR6:=VAR5-VAR2;
S:IF(VAR6 100,VAR6-100,0);
STICKLINE(REF(S,1) S,S,REF(S,1),3,0),COLORYELLOW;
STICKLINE(REF(S,1) S,S,REF(S,1),3,0),COLORBLUE;
原版
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
S: IF(VAR6 100,VAR6-100,0);
STICKLINE(REF(S,1) S,S,REF(S,1),3,0);
STICKLINE(REF(S,1) S,S,REF(S,1),3,0),COLORBLUE;
波段介入点
{GLL:= -20,20,-4}
顶:80,COLORFFA500;
大顶:100,COLORBLUE;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
慢速:SMA(VAR2,5,1),COLORRED,LINETHICK2;
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:SMA(FATK,3,1),COLORBB24DB,LINETHICK2;
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速: EMA(3*VARB-2*VARC,3),COLORYELLOW,LINETHICK2;
底:6,COLOR00BF00;
大底:-6,COLOR007300;
VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE =OPEN*1.04;
VAR22:=CLOSE (REF(HIGH,1)+REF(LOW,1))/2;
买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;
{波段介入点}
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:IF(A2 19,19,0)COLORWHITE;