以下是大智慧荣枯循环副图源码
TD:=5;ZQ:=1;TD2:=21;ZQ2:=1;
RKXH:=MA(CLOSE,TD);
XH:=100*(RKXH-REF(RKXH,1))/REF(RKXH,1);
荣枯循环:EMA(XH,ZQ);
0,POINTDOT;
RKXH2:=MA(CLOSE,TD2);
XH2:=100*(RKXH2-REF(RKXH2,1))/REF(RKXH2,1);
荣枯循环2:EMA(XH2,ZQ2);
{RKXH3:=MA(CLOSE,68);
XH3:=100*(RKXH3-REF(RKXH3,1))/REF(RKXH3,1);
荣枯循环3:EMA(XH3,3);}
生:IF(CROSS(荣枯循环,荣枯循环2),0.008,0);
死:IF(CROSS(荣枯循环2,荣枯循环),-0.008,0);