VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
VAR6:=MA(VAR5,3);
开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;
VAR1:=EMA(EMA(CLOSE,3),1);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;
主力出货:0,COLORFFAA00;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;
STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;
主力吸货:0,COLOR0000FF;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;
STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;
STICKLINE(ddx<0,0,DDX,3.5,0),COLOR008800;
STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;
STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;
对倒出货洗盘:0,COLOR00FF00;
黄色底部吸货:0,COLORYELLOW;
HAR0:=DYNAINFO(5);
HAR1:=BARSCOUNT(HIGH);
HAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
低位金叉跟进:=IF((HAR1 > 20),HAR2,0);
HAR11:=IF((HIGH < HAR0),0,IF((LOW > HAR0),1,(((HAR0 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
AAA:=(DMA(HAR11,(vol /SUM(VOL,90))) * 60);
BBB:=(DMA(HAR11,(VOL / CAPITAL)) * 60);
HAR12:=IF(C>1000,AAA,BBB);
HAR3:=IF((((HAR12 > 0) AND (HAR12 > REF(HAR12,1))) AND (低位金叉跟进 >= 88)),HAR2,0);
HAR4:=((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)));
HAR5:=EMA(HAR4,8);
HAR6:=((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)));
HAR7:=(EMA(HAR6,3) - 10);
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(C,13)<REF(MA(C,13),1);
D1:=IF(C>1000,crOSS(HAR3,22),CROSS(HAR3,24));
锁定筹码:100-B1,COLOR0000FF,NODRAW;
锁定区:STICKLINE(锁定筹码>70 AND C1,-40,锁定筹码-105,1,0),COLOR0000FF;
均价:=(0.618*(0.809*C+0.191*O)+0.382*(IF(H=C,C,H)+IF(L=C,C,L))/2);
LJ:=IF(CAPITAL,均价,AMOUNT/(V*100));
GZ:=(C*0.618+(WMA(LJ,3)+WMA(LJ,5))/2+WMA(LJ,8)*0.382)/2;
GZX:=(WMA(LJ,8)*0.618+(WMA(LJ,13)+WMA(LJ,21))/2+WMA(LJ,34)*0.382)/2;
工作线:=(REF(GZX,2)+REF(GZX,1)+REF(GZX,0))/3;
价差:=IF(H=L,1/40,(MIN(LJ,GZ)-REF(MAX(LJ,GZ),1))/REF(LJ,1));
AI:=价差*AMOUNT;
活跃资金:IF(AI/CAPITAL>100,AI/CAPITAL/2,AI/CAPITAL),COLORWHITE,NODRAW;
STICKLINE(活跃资金>0,0,活跃资金*1.118+6.88,1,0),COLORWHITE;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3);
主力拉升力度: IF(V4>=0,(V4/C)*VAR6*6.18,DRAWNULL),COLORFF00FF,LINETHICK3;
STICKLINE(VAR6 <=-6.88,0,-10,2,0),COLORYELLOW;
VA2:=LLV(LOW,10);
VA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VA2)/(VA3-VA2)*4,4) ;
底部区域:0.50,COLORLIMAGENTA,NODRAW;
STICKLINE(动力线<底部区域,-16,-26,3,0),COLORLIMAGENTA;
主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
DRAWICON(CROSS(主力资金,35) AND 主力资金>REF(主力资金,1) AND 主力资金>REF(主力资金,2),36,11) ,COLORYELLOW;
主力资金2: IF(主力资金<REF(主力资金,1),主力资金,DRAWNULL),COLORGREEN,LINETHICK2;