V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
主力买入:IF(V4>=0,V4,0),COLORRED,LINETHICK2;
主力卖出:IF(V4<=0,V4,0),COLORGREEN,LINETHICK2;
趋势线:EMA(V11,3),COLORWHITE,LINETHICK2;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备:STICKLINE(趋势线<=13,0,30,5,0),COLORFFFF00;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,35,'准备'),COLORFFFF00,LINETHICK2;
买入:STICKLINE(趋势线<=13 AND V12>13,0,30,5,0),COLORYELLOW;
{-股票公式网站 }
BB:=(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);
DRAWTEXT(BB,35,'买入'),COLORYELLOW;
卖临界:STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORYELLOW;
见顶清仓:FILTER(趋势线>90 AND 趋势线
DRAWTEXT(见顶清仓,90,'逃顶'),COLORRED;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(主力买入 AND 趋势线<13,0,30,10,0),COLORRED;
STICKLINE(主力卖出 AND 趋势线>90,0,30,10,0),COLORGREEN;