{主力成本突破主图源码如下}
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
AA10:MA(C,8),COLOR0000FF;
AA12:MA(C,12),COLOR0000FF;
擒牛筹码10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
擒牛筹码12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(C,13);
STICKLINE((((AA12 <= AA10) AND (擒牛筹码12 >= 1)) AND (擒牛筹码10 >= 1)),AA10,AA12,4,0),COLOR0080FF;
STICKLINE((((AA12 >= AA10) AND (擒牛筹码10 <= 1)) AND (擒牛筹码10 <= 1)),AA10,AA12,4,0),COLOR00FF00;
X1:=(C+L+H)/3;
擒牛筹码13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(擒牛筹码13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45上升'),COLORYELLOW;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
AA1:=AMOUNT/V;
擒牛筹码1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
筹码成本:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
筹码启动:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
LC:=REF(C,1);
RSI:=((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100);
游资潜伏2:=LLV(LOW,27);
游资潜伏3:=HHV(HIGH,34);
游资潜伏4:=EMA((C-游资潜伏2)/(游资潜伏3-游资潜伏2)*4,4)*25;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
{主力成本突破副图源码如下}
主力成本1:=EMA(C,3);
主力成本2:=EMA(C,21);
主力成本3:=BARSLAST(CROSS(主力成本2,主力成本1))>15;
主力成本4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
主力成本5:=CROSS(主力成本1,主力成本2) AND 主力成本4 AND 主力成本3;
DRAWTEXT(主力成本5,80,'筹码拉升'),COLORRED,LINETHICK1;
拉升:IF(主力成本5,80,0),STICK,LINETHICK3,COLORRED;
游资筹码1:=LLV(L,36);
游资筹码2:=HHV(H,30);
游资筹码3:=(EMA(((C-游资筹码1)/(游资筹码2-游资筹码1))*(4),4))*(25);
游资筹码4:=游资筹码3,COLORMAGENTA,LINETHICK2;
筹码趋势:((((游资筹码3-LLV(游资筹码3,21))/(HHV(游资筹码3,21)-LLV(游资筹码3,21)))*(4))*(25)),COLORYELLOW;
游资筹码5:=IF(CROSS(筹码趋势,90) AND (游资筹码4<40),85,0);
DRAWTEXT(游资筹码5,80,'筹码启动'),COLORMAGENTA,LINETHICK1;
筹码启动:IF(游资筹码5,80,0),STICK,LINETHICK3,COLORMAGENTA;
{主力成本1:=EMA(C,3);
主力成本2:=EMA(C,21);
主力成本3:=BARSLAST(CROSS(主力成本2,主力成本1))>15;
主力成本4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
主力成本5:=CROSS(主力成本1,主力成本2) AND 主力成本4 AND 主力成本3;
DRAWTEXT(主力成本5,80,'筹码拉升'),COLORRED,LINETHICK1;
拉升:IF(主力成本5,80,0),STICK,LINETHICK3,COLORRED;
游资筹码1:=LLV(L,36);
游资筹码2:=HHV(H,30);
游资筹码3:=(EMA(((C-游资筹码1)/(游资筹码2-游资筹码1))*(4),4))*(25);
游资筹码4:=游资筹码3,COLORMAGENTA,LINETHICK2;
筹码趋势:((((游资筹码3-LLV(游资筹码3,21))/(HHV(游资筹码3,21)-LLV(游资筹码3,21)))*(4))*(25)),COLORYELLOW;
游资筹码5:=IF(CROSS(筹码趋势,90) AND (游资筹码4<40),85,0);
DRAWTEXT(游资筹码5,80,'筹码启动'),COLORMAGENTA,LINETHICK1;
筹码启动:IF(游资筹码5,80,0),STICK,LINETHICK3,COLORMAGENTA;};