VAR1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*CLOSE; VAR2:=EMA(VAR1,3); VAR3:=EMA(VAR1,7); VAR8:=HHV(VAR3,64); VAR9:=LLV(VAR3,64); VARHIGH:IF(VAR2<=REF(VAR8,1),REF(H,BARSLAST(VAR2>=REF(VAR8,1))),DRAWNULL),COLORYELLOW; NOTEXTGH:IF(VAR2>REF(VAR8,1),REF(VARHIGH,BARSLAST(CROSS(REF(VAR8,1),REF(VAR2,1)))),DRAWNULL),COLORYELLOW; STICKLINE(1,NOTEXTGH,NOTEXTGH,10,0),COLORYELLOW; DRAWTEXT_FIX(C>O,0,0.07,0,',公式源码'),COLOR333333; VARLOW:IF(VAR2>REF(VAR9,1),REF(LOW,BARSLAST(VAR2<=REF(VAR9,1))),DRAWNULL),COLORGREEN,LINETHICK2; B3:MA(CLOSE,21),COLORFF00FF,LINETHICK2;
选股源码
VAR1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*CLOSE; VAR2:=EMA(VAR1,3); VAR3:=EMA(VAR1,7); VAR4:=LLV(VAR3,64); VAR8:=IF(VAR2>REF(VAR4,1),REF(LOW,BARSLAST(VAR2<=REF(VAR4,1))),DRAWNULL); VAR9:=MA(CLOSE,21); XG:CROSS(CLOSE,VAR9) AND LOW<VAR8 AND CLOSE>VAR8;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
VAR1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*CLOSE;
VAR2:=EMA(VAR1,3);
VAR3:=EMA(VAR1,7);
VAR8:=HHV(VAR3,64);
VAR9:=LLV(VAR3,64);
VARHIGH:IF(VAR2<=REF(VAR8,1),REF(H,BARSLAST(VAR2>=REF(VAR8,1))),DRAWNULL),COLORYELLOW;
NOTEXTGH:IF(VAR2>REF(VAR8,1),REF(VARHIGH,BARSLAST(CROSS(REF(VAR8,1),REF(VAR2,1)))),DRAWNULL),COLORYELLOW;
STICKLINE(1,NOTEXTGH,NOTEXTGH,10,0),COLORYELLOW;
DRAWTEXT_FIX(C>O,0,0.07,0,',公式源码'),COLOR333333;
VARLOW:IF(VAR2>REF(VAR9,1),REF(LOW,BARSLAST(VAR2<=REF(VAR9,1))),DRAWNULL),COLORGREEN,LINETHICK2;
B3:MA(CLOSE,21),COLORFF00FF,LINETHICK2;
选股源码