自用指标,建仓 洗盘 拉升 跑路
XY_S1101:=((((2 * CLOSE) + HIGH) + LOW) / 4);
XY_S1102:=LLV(LOW,34);
XY_S1103:=HHV(HIGH,34);
波浪1:EMA((((XY_S1101 - XY_S1102) / (XY_S1103 - XY_S1102)) * 100),13),COLOR0000FF;
波浪2:EMA(((0.667 * REF(波浪1,1)) + (0.333 * 波浪1)),2),COLOR00FFFF;
海底:20,POINTDOT,COLOR00FF00;
BB:50,POINTDOT,COLOR808080;
水面:80,POINTDOT,COLOR0000FF;
XY_SSY1300:=REF(CLOSE,1);
XY_SSY1302:=SMA(MAX((CLOSE - XY_SSY1300),0),6,1);
XY_SSY1303:=SMA(ABS((CLOSE - XY_SSY1300)),6,1);
XY_SDFX:=(((CLOSE - LLV(CLOSE,250)) / LLV(CLOSE,250)) * 100);
XY_SKFX:=(((HHV(CLOSE,250) - CLOSE) / CLOSE) * 100);
XY_SSY1301:=((XY_SSY1302 / XY_SSY1303) * 100);
白鲨鱼:IF((((REF(XY_SSY1301,1) > 80) AND (XY_SSY1301 < 80)) AND (XY_SKFX > XY_SDFX)),20,0),colorwhite;
STICKLINE((XY_SDFX > XY_SKFX),0,5,5,0),COLOR0000FF;
STICKLINE((XY_SDFX < XY_SKFX),0,5,5,0),COLOR00FF00;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
出货:IF(VAR51>REF(VAR51,1),VAR51,0),NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),colorblue;
主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),NODRAW;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),coloryellow;
VAR001:=DYNAINFO(5);
VAR002:=BARSCOUNT(HIGH);
VAR003:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
VAR004:=IF((VAR002 > 20),VAR003,0);
VAR005:=IF((HIGH < VAR001),0,IF((LOW > VAR001),1,(((VAR001 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
VAR006:=(DMA(VAR005,(VOL / CAPITAL)) * 60);
VAR007:=IF((((VAR006 > 0) AND (VAR006 > REF(VAR006,1))) AND (VAR004 >= 88)),VAR006,0);
VAR008:=((3 * SMA((((CLOSE - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1),3,1)));
VAR009:=EMA(VAR008,8);
VAR0010:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
VAR0011:=(EMA(VAR0010,3) - 10);
STICKLINE(((VAR007 > 0) AND ((VAR0011 < 20) OR ((VAR0011 > REF(VAR0011,1)) AND (VAR0011 < 50)))),0,VAR007,2,0),COLORFF00FF;