MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,250);
天晶剑1:=(EMA(CLOSE,6) - EMA(CLOSE,13));
天晶剑2:=EMA(天晶剑1,9);
天晶剑3:=BARSLAST(CROSS(天晶剑1,天晶剑2));
天晶剑4:=REF(天晶剑3,天晶剑3+1);
天晶剑5:=天晶剑2<REF(天晶剑2,天晶剑4);
天晶剑:=CROSS(天晶剑1,天晶剑2) AND 天晶剑5;
DRAWTEXT( 天晶剑>0,L*0.97,'天晶剑'),COLORYELLOW;
STICKLINE(天晶剑>0,H,L,6,0),LINETHICK1,COLORRED;
STICKLINE(天晶剑>0,H,L,0.2,0),COLORYELLOW;
STICKLINE(天晶剑>0,O,C,2,0),LINETHICK1,COLORYELLOW;
DRAWICON(天晶剑>0,(H+L)/2,7);
转载请注明出自股海明灯论坛 http://www.178448.com/,本贴地址:http://www.178448.com/thread-286447-1-1.html |