将公式白线刚刚上穿黄线时这个预警指标
2020/7/13 17:59:03
公式编写说明:
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波: VAR3; 段: VAR4; VAR6:=CROSS(VAR3,VAR4) AND VAR3<20; DRAWTEXT(FILTER(VAR6,10)=1,40,'今晚再看她'),LINETHICK3 ; STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ; VAR7:=CROSS(VAR4,VAR3) AND VAR3>80; STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(VAR7,5)=1,70,'那一夜漂亮'),LINETHICK3 ,COLORYELLOW; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE(VAR8,85,100,10,0) ; 90 ; 0;
公式源码示例:
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
XG:CROSS(VAR3,VAR4);
看 股吧公式 www.kan guba.com
其它股票公式列表