DRAWGBK(C 0, RGB(50,50,50),RGB(00,0,0),0, 0 ,0);{浅色背景}
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
锁定筹码:=EMA((HSL-ZXL)/ZXL*XS,13),COLORYELLOW;
锁定:=IF(锁定筹码 0,锁定筹码,0),COLORYELLOW;
浮动筹码:=EMA((ZDL-HSL)/HSL*XS,13);
急速超跌:=(C-MA(C,34))/MA(C,34)*100
当日收阳:=(H-L)/L 0.07{当天振幅大于 7%}
AND (C-O)/O 0.07{当天的 K 线实体长度大于 7%}
AND C/REF(C,1) 1.05{当日涨幅超过 5%};
DRAWBAND(锁定,RGB(240,140,0),0,RGB(0,0,0));
DRAWBAND(锁定*0.9,RGB(220,120,0),0,RGB(0,0,0));
DRAWBAND(锁定*0.8,RGB(200,100,0),0,RGB(0,0,0));
DRAWBAND(锁定*0.7,RGB(180,80,0),0,RGB(0,0,0));
DRAWBAND(锁定*0.6,RGB(160,60,0),0,RGB(0,0,0));
DRAWBAND(锁定*0.5,RGB(140,40,0),0,RGB(0,0,0));
早春:急速超跌 AND 当日收阳,COLORC080FF;
STICKLINE(早春,0,99,4,1),COLORGREEN;
DRAWTEXT(早春,88, 早春 ),COLORGREEN;
起爆:LLV(L,3)=LLV(L,60) AND C/REF(C,1) =1.04; {爆点 60.64%};
XL3:=(C-EMA(C,21))/EMA(C,21)*100;
STICKLINE(起爆 0,0,20,2,0),COLORYELLOW;
DRAWTEXT(FILTER(起爆,5),18, 起爆 ),COLORYELLOW;
筹码峰:=WINNER(CLOSE)*100,COLORRED, LINETHICK2;
筹码 20:EMA(筹码峰,20),COLORRED, LINETHICK1;
筹码快:EMA(筹码 20,5),COLORYELLOW, LINETHICK1,COLORFF00FF;
筹码慢:EMA(筹码快,5),COLOR0080FF, LINETHICK1;
DRAWBAND(筹码 20,RGB(250,0,0),筹码快,RGB(0,200,200));
A:=CROSS(筹码 20,筹码慢);
B:=CROSS(筹码慢,筹码 20);
DRAWICON(A,筹码 20-0.1,1);
DRAWICON(B,筹码 20+0.1,2);
MJ:=8;T:=100;
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100
B1:=HHV(HIGH,T);
B2:=LLV(LOW,T);
B3:=B1-B2;
B4:=(A4-B2) B3/2;
低位单峰密集:A5ANDB4;
Var1:=SMA(O*AMOUNT/10000000,n,1);
C0:=INTPART(Var1*1000)/1000;
B1:=REF(C0,1);B2:=REF(C0,2);B3:=REF(C0,3);B4:=REF(C0,4);B5:=REF(C0,5);B6:=REF(C0
,6);B7:=REF(C0,7);
B8:=REF(C0,8);B9:=REF(C0,9);B10:=REF(C0,10);B11:=REF(C0,11);B12:=REF(C0,12);B13:
=REF(C0,13);B14:=REF(C0,14);
B15:=REF(C0,15);B16:=REF(C0,16);B17:=REF(C0,17);B18:=REF(C0,18);B19:=REF(C0,19);
B20:=REF(C0,20);
B21:=REF(C0,21);B22:=REF(C0,22);B23:=REF(C0,23);B24:=REF(C0,24);B25:=REF(C0,25);
B26:=REF(C0,26);
B27:=REF(C0,27);B28:=REF(C0,28);B29:=REF(C0,29);B30:=REF(C0,30);B31:=REF(C0,31);
B32:=REF(C0,32);
B33:=REF(C0,33);B34:=REF(C0,34);B35:=REF(C0,35);B36:=REF(C0,36);B37:=REF(C0,37);
B38:=REF(C0,38);
B39:=REF(C0,39);B40:=REF(C0,40);B41:=REF(C0,41);B42:=REF(C0,42);B43:=REF(C0,43);
B44:=REF(C0,44);
B45:=REF(C0,45);B46:=REF(C0,46);B47:=REF(C0,47);B48:=REF(C0,48);B49:=REF(C0,49);
B50:=REF(C0,50);
HL:=IF(C0 B1ANDB1 =B2,1,IF(C0 B1ANDB1 =B2,-1,IF(C0 B2ANDB2 B1,2,IF(C0 B2AND
B2 B1,-2,0))));
HG:=IF(B1 B2ANDB1 B3,1,IF(B1 B2ANDB1 B3,-1,IF(B2 B3ANDB2 B4,2,IF(B2 B3AND
B2 B4,-2,
IF(B3 B4ANDB3 B5,3,IF(B3 B4ANDB3 B5,-3,IF(B4 B5ANDB4 B6,4,IF(B4 B5AND
B4 B6,-4,
IF(B5 B6ANDB5 B7,5,IF(B5 B6ANDB5 B7,-5,IF(B6 B7ANDB6 B8,6,IF(B6 B7AND
B6 B8,-6,
IF(B7 B8ANDB7 B9,7,IF(B7 B8ANDB7 B9,-7,IF(B8 B9ANDB8 B10,8,IF(B8 B9AND
B8 B10,-8,
IF(B9 B10ANDB9 B11,9,IF(B9 B10ANDB9 B11,-9,IF(B10 B11ANDB10 B12,10,IF(B10 B11
ANDB10 B12,-10,
IF(B11 B12ANDB11 B13,11,IF(B11 B12ANDB11 B13,-11,IF(B12 B13AND
B12 B14,12,IF(B12 B13ANDB12 B14,-12,
IF(B13 B14ANDB13 B15,13,IF(B13 B14ANDB13 B15,-13,IF(B14 B15AND
B14 B16,14,IF(B14 B15ANDB14 B16,-14,
IF(B15 B16ANDB15 B17,15,IF(B15 B16ANDB15 B17,-15,IF(B16 B17AND
B16 B18,16,IF(B16 B17ANDB16 B18,-16,
IF(B17 B18ANDB17 B19,17,IF(B17 B18ANDB17 B19,-17,IF(B18 B19AND
B18 B20,18,IF(B18 B19ANDB18 B20,-18,
IF(B19 B20ANDB19 B21,19,IF(B19 B20ANDB19 B21,-19,IF(B20 B21AND
B20 B22,20,IF(B20 B21ANDB20 B22,-20,
IF(B21 B22ANDB21 B23,21,IF(B21 B22ANDB21 B23,-21,IF(B22 B23AND
B22 B24,22,IF(B22 B23ANDB22 B24,-22,
IF(B23 B24ANDB23 B25,23,IF(B23 B24ANDB23 B25,-23,IF(B24 B25AND
B24 B26,24,IF(B24 B25ANDB24 B26,-24,
IF(B25 B26ANDB25 B27,25,IF(B25 B26ANDB25 B27,-25,IF(B26 B27AND
B26 B28,26,IF(B26 B27ANDB26 B28,-26,
IF(B27 B28ANDB27 B29,27,IF(B27 B28ANDB27 B29,-27,IF(B28 B29AND
B28 B30,28,IF(B28 B29ANDB28 B30,-28,
IF(B29 B30ANDB29 B31,29,IF(B29 B30ANDB29 B31,-29,IF(B30 B31AND
B30 B32,30,IF(B30 B31ANDB30 B32,-30,
IF(B31 B32ANDB31 B33,31,IF(B31 B32ANDB31 B33,-31,IF(B32 B33AND
B32 B34,32,IF(B32 B33ANDB32 B34,-32,
IF(B33 B34ANDB33 B35,33,IF(B33 B34ANDB33 B35,-33,IF(B34 B35AND
B34 B36,34,IF(B34 B35ANDB34 B36,-34,
IF(B35 B36ANDB35 B37,35,IF(B35 B36ANDB35 B37,-35,IF(B36 B37AND
B36 B38,36,IF(B36 B37ANDB36 B38,-36,
IF(B37 B38ANDB37 B39,37,IF(B37 B38ANDB37 B39,-37,IF(B38 B39AND
B38 B40,38,IF(B38 B39ANDB38 B40,-38,
IF(B39 B40ANDB39 B41,39,IF(B39 B40ANDB39 B41,-39,IF(B40 B41AND
B40 B42,40,IF(B40 B41ANDB40 B42,-40,
IF(B41 B42ANDB41 B43,41,IF(B41 B42ANDB41 B43,-41,IF(B42 B43AND
B42 B44,42,IF(B42 B43ANDB42 B44,-42,
IF(B43 B44ANDB43 B45,43,IF(B43 B44ANDB43 B45,-43,IF(B44 B45AND
B44 B46,44,IF(B44 B45ANDB44 B46,-44,
IF(B45 B46ANDB45 B47,45,IF(B45 B46ANDB45 B47,-45,IF(B46 B47AND
B46 B48,46,IF(B46 B47ANDB46 B48,-46,
IF(B47 B48ANDB47 B49,47,IF(B47 B48ANDB47 B49,-47,IF(B48 B49AND
B48 B50,48,IF(B48 B49ANDB48 B50,-48,
MA5:EMA(Var1,5),COLORCYAN;
MA34:EMA(Var1,23);
B1,POINTDOT,COLORBLACK;
B2,POINTDOT,COLORBLACK;
STICKLINE(HL=1ORHG =1ANDHL=0,B1,C0,5,0),COLORRED;
STICKLINE(HL=-1ORHG =-1ANDHL=0,B1,C0,5,0),COLORGREEN;
STICKLINE(HL=2,B2,C0,5,0),COLORRED;
STICKLINE(HL=-2,B2,C0,5,0),COLORGREEN;
STICKLINE((HL=-1ORHL=-2)ANDHG 0,B2,B1,5,0),COLORRED;
STICKLINE((HL=1ORHL=2)ANDHG 0,B2,B1,5,0),COLORGREEN;