「翔博精选指标」主力建仓,源码大智慧通达信通用(通达信公式
2022-04-22原创 编 辑:翔博软件
主力建仓,源码大智慧通达信通用的
{主力建仓}
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
STICKLINE(VAR9>-120,0,VAR9,2,0),COLORRED;
STICKLINE(VAR9<REF(VAR9,1),0,VAR9,2,0),COLORGREEN;