九毛八公式指标
N:=50; QXZ:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100; 界定:SMA(QXZ,3,1)*20,NODRAW,COLORRED; DRAWBAND(界定,RGB(150,30,30),1000,RGB(0,100,50)); 涨跌差:(INDEXADV-INDEXDEC),NODRAW,COLORWHITE; QX1:=(INDEXDEC-INDEXADV); VAR1:=(C-LLV(C,9))/(HHV(C,9)-LLV(C,9))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=(H+L+C)/3; VAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14)); VAR6:=EMA(C,2)-EMA(C,55); VAR7:=EMA(VAR6,6); VAR8:=2*(VAR6-VAR7); 人气%:(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF; VAR11:=(人气%*10)+2000; VAR12:=V/((H-L)*2-ABS(C-O)); VAR13:=IF(C>O,VAR12*(H-L),IF(C
公式模块:
N:=50;
VAR1:=(C-LLV(C,9))/(HHV(C,9)-LLV(C,9))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=(H+L+C)/3; VAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14)); VAR6:=EMA(C,2)-EMA(C,55); VAR7:=EMA(VAR6,6); VAR8:=2*(VAR6-VAR7); 人气%:=(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF; VAR11:=(人气%*10)+2000; 行情:=IF(VAR2>VAR3 AND VAR5>0 AND VAR6>VAR7 AND VAR8>2,1,DRAWNULL); 行情=1 and VAR11>2000;