DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'19',0);
N8:=STRCAT(CON2STR(YEAR,0),' 年 ');
Y8:=STRCAT(CON2STR(MONTH,0),' 月 ');
R8:=STRCAT(CON2STR(DAY,0),' 日 ');
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;
买入:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;
幅度:=100*(卖出-买入)/买入,NODRAW;
菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌
途中向上见底};
般:=XMA(CLOSE,7);
若:=MEMA(CLOSE,3);
全绿 K:=LONGCROSS(若,般,3) AND H>菩提;
SJ8:=STRCAT(STRCAT(N8,Y8), R8);
RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
KL:=SMA(RSVL,3,1);
DL:=SMA(KL,3,1);
KKL:=SMA(RSVL,3,1);
DD:=SMA(KL,3,1);
NL:=KKL+DD;
买入 L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;
卖出 L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;
卖出 K:=CROSS(160,NL);
TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);
T1M:=V;
SL1M:=(TM/REF(TM,1)-1)*1000;
趋势 5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;
趋势 6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;
QA9:=趋势 6-趋势 5;
QA10:=EMA(QA9,89);