红肥绿瘦 副图源码

SJTJ:=DATE<1590301;
 X1:=(C+L+H)/3;
 X2:EMA(X1,1),COLORRED;
 X3:EMA(X2,3),COLORGREEN;
 STICKLINE(X2>=X3 AND SJTJ,LOW,HIGH,0,2),COLORRED;
 STICKLINE(X2>=X3 AND SJTJ,CLOSE,OPEN,3.2,1),COLORRED;
 STICKLINE(X2<X3 AND SJTJ,LOW,HIGH,0,2),COLORGREEN;
 STICKLINE(X2<X3 AND SJTJ,CLOSE,OPEN,3.2,1),COLORGREEN;
 STICKLINE(CROSS(X3,X2) AND SJTJ,OPEN,CLOSE,3.2,0),COLORGREEN;
 STICKLINE(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,3.2,0),COLORRED;
 STICKLINE((CLOSE>OPEN) AND (X2<=X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORGREEN;
 STICKLINE((CLOSE>OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORRED;
 STICKLINE((CLOSE<OPEN) AND (X2<=X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORGREEN;
 STICKLINE((CLOSE<OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORRED;