1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| MA22:MA(C,22),COLORYELLOW; MA21:=MA(C,21); MA60:MA(C,60),COLORRED; EMA5:=EMA(C,5); X_1:=EMA(EMA5,0); X_2:=HHV(MA(H,3),2); X_3:LLV(MA(H,3),1),COLORWHITE; X_4:=X_2=X_3 AND REF(X_2>X_3,1); DRAWICON(X_4 AND X_3>=REF(X_3,1) AND C>O,L,1); X_5:=FILTER(X_1>REF(X_1,1) AND X_2>REF(C,1),11); X_6:=RANGE(C/MA21,0.97,1.15) OR RANGE(O/MA21,0.97,1.15); X_7:=X_5 AND C>MA21 AND EVERY(MA21>REF(MA21,1),7) AND X_6; DRAWICON(X_7>=1 AND X_3>REF(X_3,1),L*0.99,7); DRAWTEXT_FIX(C>O,0.01,1.0,0,'公众号:水哥指标库'),COLORWHITE; X_8:=X_3>MA22 AND MA22>MA60; X_9:=X_4 AND X_8; DRAWICON(X_9 AND C>O,L*0.98,11); X_A:=MA22>MA60 AND X_3>MA60; X_B:=X_4 AND X_A; DRAWICON(X_B AND C>O,L*0.98,11); X_C:=X_4 AND MA60>MA22 AND L<=MA22 AND H>=MA60; X_D:=X_4 AND MA60<MA22 AND L<=MA60 AND H>=MA22; X_E:=X_C OR X_D; DRAWICON(X_E,L*0.97,34); DRAWICON(CROSS(X_3,MA22) AND REF(X_4,1) AND MA22>REF(MA22,1),LOW*0.96,25); X_F:=MA60>=MA22 AND X_3>=MA60 AND HIGH>=X_3 AND L<=MA60; X_G:=MA60>=MA22 AND X_3>=MA22 AND X_3<MA60 AND H>=MA60 AND L<=X_3; X_H:=MA60<=MA22 AND X_3>=MA60 AND X_3<MA22 AND H>=MA22 AND L<=X_3; X_I:=MA60<=MA22 AND X_3>=MA22 AND H>=X_3 AND L<=MA22; X_J:=X_F OR X_G OR X_H OR X_I; X_K:=X_J AND C>O; STICKLINE(X_K,O,C,3,0),COLORRED; X_L:=X_3>=MA60 AND MA60>=MA22 AND H>=X_3 AND L<=MA22; X_M:=X_3>=MA22 AND MA22>=MA60 AND H>=X_3 AND L<=MA60; X_N:=MA60>=MA22 AND MA22>=X_3 AND H>=MA60 AND L<=X_3; X_P:=MA60>=X_3 AND X_3>=MA22 AND H>=MA60 AND L<=MA22; X_Q:=MA22>=MA60 AND MA60>=X_3 AND H>=MA60 AND L<=MA22; X_R:=MA22>=X_3 AND X_3>=MA60 AND H>=MA22 AND L<=MA60; X_S:=X_L OR X_M OR X_N OR X_P OR X_Q OR X_R; X_T:=X_S AND C>O; STICKLINE(X_T,O,C,3,0),COLORMAGENTA; X_U:=MA22>MA60 AND X_3>MA60 AND X_3<MA22; X_V:=MA22<MA60 AND X_3>MA22 AND X_3<MA60; X_W:=X_3<MA60 AND X_3<MA22; X_X:=X_U OR X_V OR X_W AND X_3>=REF(X_3,1) AND (MA60>=REF(MA60,1) OR MA22>=REF(MA22,1)); X_Y:=CLOSE<=X_W AND C>O AND X_X; STICKLINE(X_Y,C,O,3.05,0),COLOR000099; STICKLINE(X_Y,C,O,2.2,0),COLOR0000CC; STICKLINE(X_Y,C,O,1.5,0),COLORRED; STICKLINE(X_Y,C,O,0.5,0),COLORYELLOW; X_Z:=CROSS(MA60,X_3) OR CROSS(MA22,X_3); AA:=CROSS(X_3,MA60) OR CROSS(X_3,MA22); BB:=AA AND EXIST(X_Z,10); STICKLINE(BB,C,O,3.05,0),COLOR000099; STICKLINE(BB,C,O,2.2,0),COLOR0000CC; STICKLINE(BB,C,O,1.5,0),COLORRED; STICKLINE(BB,C,O,0.5,0),COLORYELLOW;
|