以下是星座领域原码附图股票公式

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。