VAR1:=POW(10,6);
VAR2:=IF(VAR1>0,1,0);
VAR3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
VAR4:=HIGH-REF(HIGH,1);
VAR5:=REF(LOW,1)-LOW;
VAR6:=SUM(IF(VAR4>0 AND VAR4>VAR5,VAR4,0),20);
VAR7:=SUM(IF(VAR5>0 AND VAR5>VAR4,VAR5,0),20);
VAR8:=LLV(LOW,240);
VAR9:=HHV(HIGH,240);
参考系:(CLOSE-VAR8)/VAR8*100,COLORGREEN;
中线:VAR7/VAR3/2*100,COLORMAGENTA;
散户线:(VAR9-CLOSE)/CLOSE*100,COLORWHITE;
HH:参考系/散户线,NODRAW,COLORWHITE;
VAR10:=HHV(CLOSE,20);
VAR11:=EMA(VAR10,30)*1.03;
VAR12:=EMA(VAR10,120)*1.03;
VAR13:=(CLOSE+HIGH+LOW)/3;
VAR14:=EMA(VAR13,10);
VAR15:=REF(VAR14,1);
看涨:IF(参考系>15 AND 参考系>中线,参考系,DRAWNULL),COLORYELLOW,LINETHICK2;
TY:=H;{公式网WWW.GPXIAZAI.COM}
超强:IF(参考系>30 AND 参考系>散户线,参考系,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(FILTER(看涨 OR 超强 AND 参考系>=HHV(参考系,10) AND OPEN/VAR14< 1.08 AND OPEN/VAR11< 1.1 AND OPEN/VAR12< 1.2 AND CLOSE>VAR11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散户线< 60 AND 参考系< 120,30),参考系,1)*VAR2;