大智慧彩色K线主图和奥斯卡副图合用

DRAWTEXTAbs(5,4,'MA1上穿控盘成本可以看多,活跃度出现黄柱小心,副图-奥斯卡金叉对应主图粉k线是买点)'),linethick2,ColorFFFF00;

F:=100*(C-REF(C,1))/REF(C,1);

今小昨:=IF(C<REF(O,1) AND f<0,1,0);

p1:=今小昨;

今小前:=IF(C<REF(O,2) AND f<0,1,0);

p2:=今小前;

stickline(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,open,CLOSE,6,0),COLORMAGENTA;

stickline(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,open,CLOSE,3,0),COLORBLUE;

阻力线:EMA(EMA(C,37),35),COLORFF00FF,LINETHICK2;

控盘成本30: COST(4),COLOR00FF00;

MA1:MA(CLOSE,5);

MA112:MA(CLOSE,112);

MA243:MA(CLOSE,243),COLORYELLOW;

生命线:MA(CLOSE,26),COLORRED,LINETHICK2;STICKLINE(C>=生命线 AND C>=O,C,O,7,0),COLORRED;STICKLINE(C>=生命线 AND C>=O,H,L,0,0),COLORRED;