K线主图源码:
K2:EMA(CLOSE,5),colorffff00;
K3:EMA(CLOSE,10),colorffff00;
K5:EMA(CLOSE,15),colorffff00;
k7:EMA(CLOSE,20),colorffff00;
K10:EMA(CLOSE,30),colorffff00;
k13:EMA(CLOSE,60),colorffff00;
k16:EMA(CLOSE,120),colorffff00;
q1:IF (K2>REF(K2,1),K2,K2),colorred;
q2:IF (K3>REF(K3,1),K3,K2),colorred;
q3:IF (K5>REF(K5,1),K5,K2),colorred;
q4:IF (k7>REF(k7,1),k7,K2),colorred;
q5:IF (K10>REF(K10,1),K10,K2),colorred;
q6:IF (k13>REF(k13,1),k13,K2),colorred;
q7:IF (k16>REF(k16,1),k16,K2),colorred;