效果见附件图片,135战法均线主图,在主图上将放量和涨停K线标识出来,便于发现主力操盘节奏。
买卖点说明:
买点:文字标注 始 。
卖点:文字标注 终 。
1、当有连续多个 始 ,以第一个 始 做为买点,忽略后面的信号。
2、当有连续多个 终 ,以第一个 终 做为卖点,忽略后面的信号。
3、最优指标成功率、收益率的统计也是以第一个 始 与第一个 终 做为统计点。
E1:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
B0:=(AH-AL)/40;
KB1:=H+B0;
KB2:=L-B0;
STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-3*B0,1,0),coloryellow,LINETHICK3;
DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-2*B0,'时间窗'),colorwhite;
{STICKLINE((OPEN = CLOSE),CLOSE,OPEN,5,0),COLORFF6C00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,4,0),COLORFF7B00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,3,0),COLORFF9C00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,2,0),COLORFFBE00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,2.5,0),COLORFFCC00;
STICKLINE((OPEN = CLOSE),CLOSE,OPEN,1.5,0),COLORFFFF00;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,6,0),COLOR070084;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,5,0),COLOR0000A3;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,4,0),COLOR0000B7;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,3,0),COLOR0000CD;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,2,0),COLOR0000E9;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,2,0),COLOR0754E9;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,1.5,0),COLOR076EF3;
STICKLINE((CLOSE = OPEN),CLOSE,OPEN,1,0),COLOR077BF3;
STICKLINE((CLOSE OPEN),OPEN,LOW,1,0),COLOR0726CA;
STICKLINE((CLOSE OPEN),CLOSE,HIGH,1,0),COLOR0726CA;
STICKLINE((OPEN CLOSE),CLOSE,LOW,1,0),COLORDE9100;
STICKLINE((OPEN CLOSE),OPEN,HIGH,1,0),COLORDE9100;}
卖出线:=98;
阶段卖:=96;
趋势4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=10;
买入信号:DRAWICON(CROSS(趋势4,底部),LOW,1);
卖出:DRAWICON(CROSS(卖出线,趋势4),HIGH,2);
顶压:HHV(MA(H,11),50),COLORFF9900,LINETHICK3;
短压:HHV(MA(H,11),15),COLOR0066FF,LINETHICK3;
XL1:=LLV(MA(H,11),1);
趋势3:IF(XL1 =短压,短压,XL1),colorred,LINETHICK2;