以下是通达信跟着红色主力没错指标公式(无源码的请下载附件导入)
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
红色主力:SMA(SMA(VAR2,2,1)+3,2,1),COLOR0000FF,LINETHICK2;
紫色跟风:EMA(B,4),LINETHICK2,COLORMAGENTA;
绿色散户:SMA(VAR1,3,1),COLORGREEN,LINETHICK2;
7822079.gif
|