beyond202104 发表于 2023-8-28 16:33:45

【通达信分享源码】突然放量副图公式源码 股民朋友:早知道这个真相就不会亏钱




公式源码:







TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));



MTIME:=MOD(FROMOPEN,TOTAL);



CTIME:=IF(MTIME<0.5,TOTAL,MTIME);



VV:=IF(CURRBARSCOUNT=1,V*TOTAL/CTIME,DRAWNULL),NODRAW;



STICKLINE(CURRBARSCOUNT=1 AND (SETCODE=0||SETCODE=1),VV,0,-1,-1),COLOR00C0C0;



VUME:V,VOLSTICK;



MV4:MA(VUME,60),COLORGRAY;



MV3:MA(VUME,20),COLORMAGENTA;



MV2:MA(VUME,10),COLORWHITE;



MV1:MA(VUME,5),COLORGREEN;



FL4:=V=HHV(V,250);



FL3:=V=HHV(V,120) AND V!=HHV(V,250);



FL2:=V=HHV(V,60) AND V!=HHV(V,120) AND V!=HHV(V,250);



FL1:=V=HHV(V,30) AND V!=HHV(V,60) AND V!=HHV(V,120) AND V!=HHV(V,250);



DRAWTEXT(FL4,0.93*V,'④'),COLORYELLOW;



DRAWTEXT(FL3,0.93*V,'③'),COLORYELLOW;



DRAWTEXT(FL2,0.93*V,'②'),COLORYELLOW;



DRAWTEXT(FL1,0.93*V,'①'),COLORYELLOW;



XG:SUM(FL1,10),NODRAW;


条理蛔 发表于 2023-11-13 21:40:36

非常好,赞一个!

我是一头牛2017 发表于 2023-12-24 14:00:51

顶贴光荣!

龙行49 发表于 2024-1-2 07:26:09

帮顶!
页: [1]
查看完整版本: 【通达信分享源码】突然放量副图公式源码 股民朋友:早知道这个真相就不会亏钱