LS1:=13;
LS2:=3;
LS3:=50;
LS4:=0.382;
LS5:=0.618;
LS6:=1.02;
LS01:=(2*C+H+L)/4;
LS02:=LLV(L,27);
LS03:=HHV(H,27);
LS04:=EMA((LS01-LS02)/(LS03-LS02)*100,LS1)-LS3;
LS05:=EMA(LS5*REF(LS04,1)+LS4*LS04,LS2);
XG:CROSS(LS04,LS05) AND C/REF(C,1)>LS6;
九毛八公式解读
LS1赋值:13 LS2赋值:3 LS3赋值:50 LS4赋值:0.382 LS5赋值:0.618 LS6赋值:1.02 LS01赋值:(2*收盘价+最高价+最低价)/4 LS02赋值:27日内最低价的最低值 LS03赋值:27日内最高价的最高值 LS04赋值:(LS01-LS02)/(LS03-LS02)*100的LS1日指数移动平均-LS3 LS05赋值:LS5*1日前的LS04+LS4*LS04的LS2日指数移动平均 输出XG:LS04上穿LS05 AND 收盘价/1日前的收盘价>LS6