通达信好恶财神副图指标公式源码


LC:= REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
卖:EMA(RSI2,M2),LINETHICK2,COLORFFFF00;
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
DRAWICON(好财神>0,买*1.15,2);
VAR3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR5:=EMA(VAR4,5);
恶财神:CROSS(VAR7,VAR4),COLORYELLOW,STICK;
DRAWICON(CROSS(VAR7,VAR4)>0 AND VAR7<21,VAR4,1);
顶:90,COLORYELLOW,LINETHICK2;;