以下是同花顺股票买卖副图源码

MA20:MA(CLOSE,20),POINTDOT,coloryellow;
 MA49:MA(CLOSE,49),POINTDOT,colorcyan;
 BU:=BARSLAST((CLOSE = HHV(CLOSE,30)));
 SE:=BARSLAST((CLOSE = LLV(CLOSE,30)));
 KK1:=SE;
 KK2:=BU;
 LM1:=SE;
 LM2:=BU;
 OK:=((KK1 > KK2) AND (LM1 > LM2));
 OK1:=((KK1 > KK2) AND (LM1 < LM2));
 NOK:=((KK2 > KK1) AND (LM2 > LM1));
 NOK1:=((KK2 > KK1) AND (LM2 < LM1));
 DRAWICON(CROSS(KK1,KK2),(OPEN * 0.99),2);
 DRAWICON(CROSS(KK2,KK1),(OPEN * 1.09),12);
 STICKLINE(OK1,CLOSE,OPEN,8,0),colorFFFF00;
 STICKLINE(OK1,HIGH,LOW,0,0),colorFFFF00;
 STICKLINE(OK,CLOSE,OPEN,8,0),colorred;
 STICKLINE(OK,HIGH,LOW,0,0),colorred;
 STICKLINE(NOK,CLOSE,OPEN,8,0),colorFFFF00;
 STICKLINE(NOK,HIGH,LOW,0,0),colorFFFF00;
 STICKLINE(NOK1,CLOSE,OPEN,8,0),colorred;
 STICKLINE(NOK1,HIGH,LOW,0,0),colorred;

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