顶底一目主图 源码}
STICKLINE(C>=O,C,O,3,0),COLOR0000EE;
STICKLINE(C>=O,C,O,2,0),COLOR0000FF;
STICKLINE(C>=O,C,O,1,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,3,0),COLOREEEE00;
STICKLINE(C<=O,C,O,2,0),COLORFFFF00;
STICKLINE(C<=O,C,O,1,0),COLORFFFF00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,3,0),COLOR00EEEE;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,1,0),COLORYELLOW;
DH:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
STICKLINE(DH<=-4,(C+O)/2,C,3,0),COLOREE0000;
STICKLINE(DH<=-4,(C+O)/2,C,1,0),COLORFF0000;
生命线:MA(CLOSE,24),COLORFF00FF,LINETHICK3;
顶: COST(95)*1, LINETHICK2,COLORRED;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(VAR1,99)*0.91, LINETHICK2,COLORGREEN ;
牛熊线: EMA(COST(27),120), CIRCLEDOT,LINETHICK3;
A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);
金线王:=EMA(A2,200)*1.118 ,LINETHICK2,COLORYELLOW;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金K线:CROSS(C,金线王) AND DF2;
DRAWTEXT(金K线,L*0.98,'↖金K线'),COLORGREEN;
STICKLINE(金K线,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(金K线,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(金K线,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(金K线,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(金K线,CLOSE,OPEN,0.3,0),COLOR00FFFF;