H1:=(((10000 * HIGH) / INDEXH) * WINNER(HIGH));
L1:=(((10000 * LOW) / INDEXL) * WINNER(LOW));
O1:=(((10000 * OPEN) / INDEXO) * WINNER(OPEN));
TJ:=((C1 > O1) OR ((C1 = O1) AND (C1 > REF(C1,1))));
STICKLINE(TJ,H1,L1,0,0),colorred;
STICKLINE(TJ,C1,O1,5,1),colorred;
STICKLINE(NOT(TJ),H1,L1,0,0),colorgreen;
STICKLINE(NOT(TJ),C1,O1,5,1),colorgreen;
C11:=C1;
A1:EMA((((EMA(C11,1) + EMA(C11,2)) + EMA(C11,3)) / 3),2);
A2:EMA((((EMA(C11,2) + EMA(C11,3)) + EMA(C11,4)) / 3),2);
A3:EMA((((EMA(C11,3) + EMA(C11,4)) + EMA(C11,5)) / 3),2);
A4:EMA((((EMA(C11,4) + EMA(C11,5)) + EMA(C11,6)) / 3),2);
A5:EMA((((EMA(C11,5) + EMA(C11,6)) + EMA(C11,7)) / 3),2);
A6:EMA((((EMA(C11,20) + EMA(C11,21)) + EMA(C11,22)) / 3),2);
A7:EMA((((EMA(C11,22) + EMA(C11,23)) + EMA(C11,24)) / 3),2);
A8:EMA((((EMA(C11,24) + EMA(C11,25)) + EMA(C11,26)) / 3),2);
A9:EMA((((EMA(C11,26) + EMA(C11,27)) + EMA(C11,28)) / 3),2);
A10:EMA((((EMA(C11,28) + EMA(C11,29)) + EMA(C11,30)) / 3),2);
A11:EMA((((EMA(C11,30) + EMA(C11,31)) + EMA(C11,32)) / 3),2);
A12:EMA((((EMA(C11,32) + EMA(C11,33)) + EMA(C11,34)) / 3),2);
彩1:IF((A1 > REF(A1,1)),A1,DRAWNULL),colorred;
彩2:IF((A2 > REF(A2,1)),A2,DRAWNULL),colorred;
彩3:IF((A3 > REF(A3,1)),A3,DRAWNULL),colorred;
彩4:IF((A4 > REF(A4,1)),A4,DRAWNULL),colorred;
彩5:IF((A5 > REF(A5,1)),A5,DRAWNULL),colorred;
彩6:IF((A6 > REF(A6,1)),A6,DRAWNULL),colormagenta;
彩7:IF((A7 > REF(A7,1)),A7,DRAWNULL),colormagenta;
彩8:IF((A8 > REF(A8,1)),A8,DRAWNULL),colormagenta;
彩9:IF((A9 > REF(A9,1)),A9,DRAWNULL),colormagenta;
彩10:IF((A10 > REF(A10,1)),A10,DRAWNULL),colormagenta;
彩11:IF((A11 > REF(A11,1)),A11,DRAWNULL),colormagenta;
彩12:IF((A12 > REF(A12,1)),A12,DRAWNULL),colormagenta;
彩13:IF((A1 < REF(A1,1)),A1,DRAWNULL),colorliblue;
彩14:IF((A2 < REF(A2,1)),A2,DRAWNULL),colorliblue;
彩15:IF((A3 < REF(A3,1)),A3,DRAWNULL),colorliblue;
彩16:IF((A4 < REF(A4,1)),A4,DRAWNULL),colorliblue;
彩17:IF((A5 < REF(A5,1)),A5,DRAWNULL),colorliblue;
彩18:IF((A6 < REF(A6,1)),A6,DRAWNULL),colorblue;
彩19:IF((A7 < REF(A7,1)),A7,DRAWNULL),colorblue;
彩20:IF((A8 < REF(A8,1)),A8,DRAWNULL),colorblue;
彩21:IF((A9 < REF(A9,1)),A9,DRAWNULL),colorblue;
彩22:IF((A10 < REF(A10,1)),A10,DRAWNULL),colorblue;
彩23:IF((A11 < REF(A11,1)),A11,DRAWNULL),colorblue;
彩24:IF((A12 < REF(A12,1)),A12,DRAWNULL),colorblue;