流通股本:=FINANCE(7)/100000000;
大中小:=IF(流通股本 =6,' 小盘股',IF(流通股本 50,' 大盘股',' 中盘股'));
DRAWTEXT_FIX(1,0,0.00,0,STRCAT(STRCAT('流通股本:',CON2STR(流通股本,1)),STRCAT('亿,',大中小))),COLORYELLOW;
M11:=IF(流通股本 =6,7,15);
M21:=IF(流通股本 =6,21,30);
M3:=105;
M4:=360;
MA360:EMA(CLOSE,M4),POINTDOT,LINETHICK1,COLORGREEN;
MA105:EMA(CLOSE,M3),LINETHICK1,COLORBLUE;
MA21:EMA(CLOSE,M21),LINETHICK1,COLORRED;
MA7:EMA(CLOSE,M11),DOTLINE,COLORWHITE;
DRAWICON(CROSS(MA7,MA21),L*0.96,7);
DRAWICON(CROSS(MA21,MA7),H*1.02,8);
{DRAWICON((C-MA7)/MA7 0.1,MA21*1.1,2);}
DRAWICON(REF(MA7,3) REF(C,3) AND REF(MA7,2) REF(C,2) AND REF(MA7,1) REF(C,1) AND MA7 C AND MA7 MA21,H*1.01,2);
DRAWICON(REF(MA7,2) REF(C,2) AND REF(MA7,1) REF(C,1) AND MA7 C AND MA21 REF(MA21,1) AND MA7 MA21,H*1.015,2);
DRAWICON(REF(MA7,1) REF(MA21,1) AND REF(MA21,1) REF(C,1) AND MA21 C AND MA7 MA21,H*1.02,2);
VAR1:=EMA(CLOSE,4)-EMA(CLOSE,13);
AA:=VAR1 =REF(VAR1,1);
BB:=VAR1 REF(VAR1,1);
买入:=DRAWICON(CROSS(AA,BB),L,1);
卖出:=DRAWICON(CROSS(BB,AA),H,2);
STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;
STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;
STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;
STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;
STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;
STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;