通达信个性化指标 通达信公式(附图)

[复制链接]
查看109 | 回复0 | 2021-8-20 14:46:42 | 显示全部楼层 |阅读模式

A:=PERIOD;

N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL))))));

M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1,

MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5,

MOD(FROMOPEN,5)),IF(N=15,IF(MOD(FROMOPEN,15)=0,15,

MOD(FROMOPEN,15)),IF(N=30,IF(MOD(FROMOPEN,30)=0,30,

MOD(FROMOPEN,30)),IF(N=60,IF(MOD(FROMOPEN,60)=0,60,

MOD(FROMOPEN,60)),IF(N=240,FROMOPEN,DRAWNULL))))));

个性化指标1:IF(CURRBARSCOUNT=1 AND A,VOL*N/M,VOL),NODRAW,COLORMAGENTA;

STICKLINE(CURRBARSCOUNT=1 AND N,个性化指标1,0,-1,-1),COLOR00C0C0;

成交个性化:VOL,VOLSTICK;

AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

个性化指标A:IF(CLOSE>OPEN,AA*(HIGH-LOW),

IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,COLORSTICK;

通达信个性化:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),

IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN,COLORSTICK;

个性化指标:个性化指标A+通达信个性化,COLORFFFF00,NODRAW;

个性化公式:MA(VOL,5),COLORMAGENTA;

MA10:MA(VOL,10),COLORYELLOW;

160060E05120-5a06.jpg

160060E05120-5a06.jpg

回复

使用道具 举报

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

本版积分规则