beyond202104 发表于 2023-8-28 16:40:43

春江花月夜 (通达信副图 源码 附图)


用法:春江花月夜   小花买入,红帆买入,春雪卖出。   

STICKLINE(1=1,0,-MACD,4,0),COLOR333300;   

DI:=EMA(C,3)-EMA(C,13);   

DE:=EMA(DI,9);   

MACD:=2*(DI-DE)*10;   

DI2:=EMA(C,5)-EMA(C,26);   

DEA2:=EMA(DI2,9);   

MACD2:=2*(DI2-DEA2)*10;   

DIFF3:=EMA(C,7)-EMA(C,89);   

DEA3:=EMA(DIFF3,21);   

MACD3:=2*(DIFF3-DEA3)*10;   

MMACD5:=MA(MACD3,3);   

STICKLINE(1=1,0,REFDATE(LLV(-MACD3,1000),DATE),4,0),COLOR333300;   

IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;   

STICKLINE(MACD3<0,0,-MACD3,4,0),LINETHICK4,COLOR646400;   

IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;   

STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR333333;   

IF(MACD<0,-MACD,DRAWNULL)LINETHICK4,COLOR004444;   

STICKLINE(MACD<0,0,-MACD,4,0),COLOR004444;   



IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR00CC00;   

STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR00CC00;   

IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR009900;   

STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;   

STICKLINE(MACD>=0,0,MACD,4,0),COLOR006600;   



STICKLINE(MACD3>=0,0,-MACD3*0.8,4,0),COLOR666600;   

STICKLINE(MACD2>=0,0,-MACD2*0.8,4,0),COLOR663300;   

STICKLINE(MACD>=0,0,-MACD*0.8,4,0),COLOR333300;   



小花:IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF33FF;   

IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;   

春雪:IF(CROSS(MMACD5,MACD3),MACD3*1.2,DRAWNULL),CROSSDOT,   

      LINETHICK2,COLORFFFFFF;   

红帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,1),COLORFFFFFF;   

STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+3,MACD3*1.1+0.3,8,0),   

       COLOR0000FF;   

STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1+3.5,0.001,1),   

       COLORFFFFFF;   

IF(MACD>=0,-9,DRAWNULL),COLORFFFF00,POINTDOT;   

IF(MACD2>=0,-8,DRAWNULL),COLORFFFF00,POINTDOT;   

IF(C>0,-7,-7),COLORFFFF00,POINTDOT;   

IF(MACD3>0,-6,DRAWNULL),COLORFFFF00,POINTDOT;   

IF(MACD3>0,-5,-5),COLORFFFF00,POINTDOT;   

IF(C>0,-4,-4),COLORFFFF00,POINTDOT;   

IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;   

IF(MACD3>0,-2,DRAWNULL),COLORFFFF00,POINTDOT;   

IF(C>0,-1,-1),COLORFFFF00,POINTDOT; 


丈黑起恋秘 发表于 2023-9-18 22:49:13

谢谢,谢谢!找了很久了!

七毛七毛七 发表于 2023-10-18 22:24:52

感谢分享优质资源

东海猪龙共 发表于 2023-11-4 12:02:12

沙发,多多点赞好好学习

蓬莱小仙女 发表于 2023-12-17 01:40:18

小手一抖,花花到手!

Hope2373 发表于 2023-12-28 20:34:25

只为积分!感谢!

尘埃落定810 发表于 2024-2-2 05:38:31

这里资源很丰富啊
页: [1]
查看完整版本: 春江花月夜 (通达信副图 源码 附图)