七剑下天山(通达信)
有了它别的指标就可删除了!(源码,无未来)(通达信)
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;
买入信号RAWICON(crOSS(趋势4,底部),LOW,1);
卖出RAWICON(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;
K1:=BacKSET(趋势3<REF(趋势3,1),2);
IF(K1,趋势3,DRAWNULL),COLOR00CC33,LINETHICK2;
买卖操盘主图(通达信)