以下是同花顺买买叉副图源码

WY1001:=(2*CLOSE+HIGH+LOW)/3;
 WY1002:=EMA(WY1001,3);
 WY1003:=EMA(WY1002,3);
 WY1004:=EMA(WY1003,3);
 X0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*1000;
 STICKLINE(X0>=0,X0,0,8,0),colorred;
 STICKLINE(X0<0,X0,0,8,0),colorgreen;
 PJGJ:=AMOUNT/VOL/1000;
 SSRYDJX:=MA(PJGJ,13);
 SSRCJL:=EMA(VOL,13);
 SSRCJE:=EMA(AMOUNT,13);
 SSRCBJX:=SSRCJE/SSRCJL/1000;
 CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*1000;
 XYSHSL:=EMA(VOL/CAPITAL*100,13);
 STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,8,0 ),colorgreen;
 STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,8 ,0 ),coloryellow;
 STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,8,0 ),colorcyan;
 STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,8,0 ),colorblue;
 X1:MA(X0,2);
 X2:MA(X0,1);

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