A1:=COUNT(CLOSE,0)=1; A2:=BACKSET(ISLASTBAR,N1+1); A3:=A2>REF(A2,1); A4:=IF(N2=1,A3,A1); A5:=BARSLAST(A4); B1:=REF(INDEXC,A5)/REF(CLOSE,A5); D1:=INDEXO/B1; D2:=INDEXH/B1; D3:=INDEXL/B1; D4:=INDEXC/B1; 畫柱線(D4>=向前引用(D4,1),D3,D2,0.1,0),COLOREE55EE; 畫柱線(D4>=向前引用(D4,1),D1,D4,7,1),COLOREE55EE; 畫柱線(D4<向前引用(D4,1),D3,D2,0.1,0),COLOR88EE33; 畫柱線(D4<向前引用(D4,1),D4,D1,7,0),COLOR88EE33; 喜歡立體的加上下面這一段 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLORRED; STICKLINE(CLOSE>=OPEN,HIGH,LOW,1,0),COLORRED; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),COLOR0066FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),COLOR0099FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLORYELLOW; STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLORYELLOW; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),COLORFF0000; STICKLINE(CLOSE<=OPEN,HIGH,LOW,1,0),COLORFF0000; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,6,0),COLORFF6600; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,4,0),COLORFF9900; STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),COLORCYAN; STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN; MA1:MA(CLOSE,P1),COLORWHITE; MA2:MA(CLOSE,P2),COLORYELLOW; MA3:MA(CLOSE,P3),COLORMAGENTA; MA4:MA(CLOSE,P4),COLORGREEN; MA5:MA(CLOSE,P5),COLORRED; MA6:MA(CLOSE,P6),COLORBLUE; PARTLINE(MA5<REF(MA5,1),MA5),COLORCYAN; |
|