以下是金牛乾坤图源码
买线:=EMA(C,8);
卖线:=EMA(买线,18);
STICKLINE(CLOSE>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR000035;
STICKLINE(CLOSE<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),
COLOR000000;
STICKLINE(买线>卖线,买线,卖线,0,1),COLORRED;
STICKLINE(买线<卖线,买线,卖线,0,1),COLORGREEN;
STICKLINE(C>=卖线,LOW,HIGH,0,1),COLORRED;
STICKLINE(C>=卖线,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(C<卖线,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(C<卖线,CLOSE,OPEN,3.2,2),COLORGREEN;
STICKLINE(CROSS(卖线,C),OPEN,CLOSE,3.2,0),COLORGREEN;
STICKLINE(CROSS(C,卖线),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (C<卖线),CLOSE,OPEN,3.2,2)COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (C>=卖线),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE<OPEN) AND (C<卖线),CLOSE,OPEN,3.2,0)COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (C>=卖线),CLOSE,OPEN,3.2,0)COLORRED;