通达信2560战法主图和2560量副图副图主图源码

[复制链接]
查看170 | 回复0 | 2021-8-26 21:26:10 | 显示全部楼层 |阅读模式

以下是通达信2560战法主图和2560量副图副图主图源码(无源码的请下载附件导入)

2560战法

mah:=8;mal:=20;

MA5:MA(C,5),LINETHICK2;

MA10:MA(C,10);

MA25:MA(C,25),LINETHICK2;

MA60:MA(C,60);

MA120:MA(C,120);

MA250:MA(C,250);

IF(MA25<REF(MA25,1),MA25,DRAWNULL),COLORGREEN, LINETHICK2;

PP1:=H>=MA(C,5)*(100+MAH)/100;

PP2:=L*(100+MAL)/100<=MA(C,25);

DRAWICON(PP1,H*1.02,15);

DRAWICON(PP2,L*0.97,26);

STICKLINE(CROSS(MA(C,5),MA(C,25)),O,C,1,0),COLORYELLOW;

DRAWICON((MA(C,4)*4+MA(C,25))/5>=MA(C,25) AND MA(C,5)<MA(C,25),L*0.97,1);

 


{2560量}

{M1:=5;M2:=60;N:=15;}

预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;

MAVOL1:MA(预测量,M1);

MAVOL2:MA(预测量,M2);

BB:=CROSS(MAVOL1,MAVOL2);

CC:=CROSS(MAVOL2,MAVOL1);

STICKLINE(BB,0,VOL,1,0),COLORYELLOW;

STICKLINE(CC,0,VOL,1.5,0),COLORGREEN;

μ?á?:=V<=LLV(V,N);

DRAWICON(μ?á?,MA(VOL,60),25);

DRAWICON((MA(V,4)*4+V)/5>=MA(V,60) AND MA(V,5)<MA(V,60),预测量*1.2,1);

1717188661.png

1717188661.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则