彩色k线
VAR01:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR02:=HIGH-REF(HIGH,1);
VAR03:=REF(LOW,1)-LOW;
VAR04:=SUM(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),25);
VAR05:=SUM(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),25);
VAR06:=VAR04*100/VAR01;
VAR07:=VAR05*100/VAR01;
VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);
VAR09:=(VAR08+REF(VAR08,15))/2;
A:=(VAR07>VAR06 AND VAR07>25 AND VAR06<25);
B:=ZIG(3,50/5)*100,COLORRED,LINETHICK2;
G:=MA(B,2),COLORGREEN,LINETHICK2;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
STICKLINE(W=1000,H,L,0,0),COLOR00FF00,LINETHICK1;
STICKLINE(W=1000,C,O,4,0),COLOR00FF00,LINETHICK1;
STICKLINE(D=1000,H,L,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(D=1000,C,O,4,0),COLOR00FFFF,LINETHICK1;
Y:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND Y<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND Y<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLORFF00FF;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,4,0),COLORBLUE;
MA5:MA(C,5),COLORYELLOW;
MA10:=MA(C,10);
MA30:MA(C,30),COLORRED;
IF(MA10>MA30,MA10,MA30),COLORWHITE;
UploadPic/2011-3/20113322363627930.jpg
UploadPic/2011-3/2011332237181924.jpg