以下是同花顺四方力道主图指标

同花顺四方力道主图指标

源码

V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY01:=REF(EMA(V1,3),1);
实时线:MA(CLOSE,1),Culor006400;
神秘线:HY01,Culor400080;

STICKLINE(C>HY01,LOW,HIGH,1,0),colorred;
STICKLINE(C>HY01,CLOSE,OPEN,4.5,0),colorred;
STICKLINE(C>HY01,CLOSE,OPEN,4,0),colorred;
STICKLINE(C>HY01,CLOSE,OPEN,3,0),colorred;
STICKLINE(C>HY01,CLOSE,OPEN,2,0),colorred;
STICKLINE(C<=HY01,CLOSE,OPEN,4.5,0),CulorFF4242;
STICKLINE(C<=HY01,CLOSE,OPEN,4,0),CulorFF4242;
STICKLINE(C<=HY01,CLOSE,OPEN,3,0),CulorFF4242;
STICKLINE(C<=HY01,CLOSE,OPEN,2,0),CulorFF4242;
STICKLINE(C<=HY01,LOW,HIGH,1,0),CulorFF4242;

DRAWTEXT(CROSS(CLOSE,HY1),LOW,’买点’),LINETHICK2,coloryellow;
DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.08,’卖点’),LINETHICK3,colorwhite;
APP:=(VOL / (((HIGH – LOW) * 2) – ABS((CLOSE – OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH – LOW)),IF((CLOSE < OPEN),(APP * ((HIGH – OPEN) + (CLOSE – LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 – (APP * ((HIGH – CLOSE) + (OPEN – LOW)))),IF((CLOSE < OPEN),(0 – (APP * (HIGH – LOW))),(0 – (VOL / 2))));
库存能量:=MA((ZL + SF),2);
库存平均:=MA((ZL + SF),5);
DRAWTEXT(CROSS(库存能量,库存平均),L*0.97,”),CulorFF00FF,linethick4;

 

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