以下是星座领域原码附图股票公式
a1:=1;
a2:=(EMA(CLOSE,3)) ;
a3:=(EMA((((SLOPE(CLOSE,22)) * 20) + CLOSE),55)) ;
a4:=MA(a3,1);
STICKLINE((a2 > (a4 * a1)),3,4,1,2),linethick1,colorRed;
STICKLINE((a2 < (a4 * a1)),3,3.5,1,2),linethick1,colorGreen;
a5:=(MA(CLOSE,1)) * a1;
a6:=(MA(CLOSE,3)) * a1;
STICKLINE((a5 > (a6 * a1)),1,2.3,1,2),linethick1,colorRed;
STICKLINE(((a5 * a1) <= a6),1,1.5,1,2),linethick1,colorGreen;
DRAWICON((((a5 * a1) <= a6) AND ((REF(a6,1)) < (REF(a5,1)))),2,8),colorGreen;
短线领域:(1),linethick3;
长线领域:(3),linethick3;
IF((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) > 15),3,1),linethick2,colorRed;
IF((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) <= -15),3,1),linethick2,colorGreen;
DRAWTEXT((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) > 15),5,’回调’),colorRed;
DRAWTEXT((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) > 15),4.5,’就买’),colorRed;
DRAWTEXT((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) < -15),5,’底部’),colorGreen;
DRAWTEXT((((((CLOSE – (REF(CLOSE,3))) / (REF(CLOSE,3))) * 100) * a1) < -15),4.5,’买入’),colorGreen;
DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));
DRAWTEXTREL(10,900,’㊣老兵专用㊣’),linethick1,COLOR00EEff;
评论(0)