|
|
看看我的
FO:=1/O*10000;FC:=1/C*10000;FH:=1/L*10000;FL:=1/H*10000;
KLINE(FO,FH,FL,FC,0);
F:=100*(FC-REF(FC,1))/REF(FC,1);
P1:=FC<REF(FO,1) AND F<0;
P2:=FC<REF(FO,2) AND F<0;
T1:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;
T2:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0;
STICKLINE(T1 AND FC>=FO,FO,FC,7.9,0),COLORAA00AA;
STICKLINE(T1 AND FC>=FO,FO,FC,6.6,0),COLORAA17BB;
STICKLINE(T1 AND FC>=FO,FO,FC,4.4,0),COLORAA34CC;
STICKLINE(T1 AND FC>=FO,FO,FC,3.3,0),COLORAA51DD;
STICKLINE(T1 AND FC>=FO,FO,FC,2.2,0),COLORAA68EE;
STICKLINE(T1 AND FC>=FO,FO,FC,1.1,0),COLORAA85FF;
STICKLINE(T1 AND FC<FO,FO,FC,7.9,0),COLORAA00AA;
STICKLINE(T1 AND FC<FO,FO,FC,6.6,0),COLORBB22AA;
STICKLINE(T1 AND FC<FO,FO,FC,4.4,0),COLORCC44AA;
STICKLINE(T1 AND FC<FO,FO,FC,3.3,0),COLORDD66AA;
STICKLINE(T1 AND FC<FO,FO,FC,2.2,0),COLOREE88AA;
STICKLINE(T1 AND FC<FO,FO,FC,1.1,0),COLORFFAAAA;
STICKLINE(T2 AND FC>=FO,FO,FC,7.9,0),COLOR88AA00;
STICKLINE(T2 AND FC>=FO,FO,FC,6.6,0),COLOR88BB00;
STICKLINE(T2 AND FC>=FO,FO,FC,4.4,0),COLOR88CC11;
STICKLINE(T2 AND FC>=FO,FO,FC,3.3,0),COLOR88DD11;
STICKLINE(T2 AND FC>=FO,FO,FC,2.2,0),COLOR88EE22;
STICKLINE(T2 AND FC>=FO,FO,FC,1.1,0),COLOR88FF22;
STICKLINE(T2 AND FC<FO,FO,FC,7.9,0),COLOR00AA00;
STICKLINE(T2 AND FC<FO,FO,FC,6.6,0),COLOR00BB11;
STICKLINE(T2 AND FC<FO,FO,FC,4.4,0),COLOR00CC22;
STICKLINE(T2 AND FC<FO,FO,FC,3.3,0),COLOR00DD33;
STICKLINE(T2 AND FC<FO,FO,FC,2.2,0),COLOR00EE44;
STICKLINE(T2 AND FC<FO,FO,FC,1.1,0),COLOR00FF55;
M1:MA(FC,13),COLORGREEN;
M2:MA(FC,30),COLOR66DDFF; |
|
|