A5:EMA((L+H+C*2)/4,5);
A13:EMA((L+H+C*2)/4,13);
A21:EMA((L+H+C*2)/4,21);
A55:EMA((L+H+C*2)/4,55);
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13, 3,0),COLOR0000AA;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,2,0),COLOR0000CC;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,1,0),COLOR0000EE;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,0.1,0),COLOR5555FF;
STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13,0,0),COLOR8080FF;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,3,0),COLORFF0000;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,2,0),COLORFF5500;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,1,0),COLORFF9900;
STICKLINE(A5<A13 AND A5<=REF(A5,1) AND A13<REF(A13,1),A5,A13,0,0),COLORFFFF00;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55, 3,0),COLOR770077;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,2,0),COLOR990099;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,1,0),COLORBB00BB;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,0,0),COLORDD00DD;
STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55,0.1,0),COLORFF00FF;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,3,0),COLOR155500;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,2,0),COLOR208000;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,1,0),COLOR2BAA00;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,0.1,0),COLOR35D500;
STICKLINE(A21<A55 AND A13<=REF(A21,1) AND A13<REF(A55,1),A21,A55,0,0),COLOR40FF00;
海面:EMA(C,120),COLORFA05FF,LINETHICK2;
IF(海面>=REF( 海面,1),海面,DRAWNULL),COLORFA05FF,LINETHICK2;
IF(海面<REF (海面,1), 海面,DRAWNULL),COLOR399C7F,LINETHICK2;
股道:=(1-C/SMA(C,13,1))*100;
基础:=EMA(C,43);
中线强弱拐点:EMA(股道*C/100+基础,3),COLORFF0000,LINETHICK3;
中线强弱拐点1:EMA(股道*C/100+基础,3),COLORFF5500,LINETHICK2;
中线强弱拐点2:EMA(股道*C/100+基础,3),COLORFF9900,LINETHICK1; |