beyond202104 发表于 2023-8-28 16:42:03

牛熊时段主图,分辨牛熊强弱(通达信公式 主图 源码 测试图)


牛熊时段主图

本公式,能帮你很容易分辨出一只股票的牛熊强弱

{大盘牛熊时段}MA20:MA(C,20),DOTLINE;MA60:MA(C,60),DOTLINE;MA120:MA(C,120),DOTLINE;MA250:MA(C,250),DOTLINE;N:=MA120;M:=MA250;{浅蓝注意}STICKLINE(CLOSE>=0,H,L,0,0),COLORFFFF00;STICKLINE((CLOSE>=0 AND (C>=O)),O,C,3,1),COLORFFFF00;STICKLINE((CLOSE>=0 AND (C<=O)),O,C,3,0),COLORFFFF00;{红色上升}STICKLINE(CLOSE>N AND N>REF(N,1),H,L,0,0),COLOR0000A8;STICKLINE((CLOSE>N AND N>REF(N,1) AND (C>=O)),O,C,3,1),COLOR0000A8;STICKLINE((CLOSE>N AND N>REF(N,1) AND (C<=O)),O,C,3,0),COLOR0000A8;{绿色调整}WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));STICKLINE(CLOSE<N AND CLOSE>M,H,L,0,0),COLOR00A800;STICKLINE((CLOSE<N AND CLOSE>M AND (C>=O)),O,C,3,1),COLOR00A800;STICKLINE((CLOSE<N AND CLOSE>M AND (C<=O)),O,C,3,0),COLOR00A800;{蓝色下跌}STICKLINE(CLOSE<M,H,L,0,0),COLORA80000;STICKLINE((CLOSE<M AND (C>=O)),O,C,3,1),COLORA80000;STICKLINE((CLOSE<M AND (C<=O)),O,C,3,0),COLORA80000;{黄色震荡}STICKLINE(CLOSE>N AND N<M,H,L,0,0),COLOR54FCFC;STICKLINE((CLOSE>N AND N<M AND (C>=O)),O,C,3,1),COLOR54FCFC;STICKLINE((CLOSE>N AND N<M AND (C<=O)),O,C,3,0),COLOR54FCFC;


业份奶计 发表于 2023-10-20 12:25:29

这个资源我有了,不过还是感谢楼主分享

紫月残风醋 发表于 2023-10-30 10:50:59

沙发,多多点赞好好学习
页: [1]
查看完整版本: 牛熊时段主图,分辨牛熊强弱(通达信公式 主图 源码 测试图)