通达信20日均线买卖主图指标公式

2024-02-10 03:00发布

MA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;MA20:MA(CLOSE,20),LINETHICK2,COLORMAGENTA;MA60:MA(CLOSE,60),LINETHICK1,COLORGREEN;买线:=EMA(C,4);卖线:=EMA(SLOPE(C,20)*10+C,35);DRAWTEXT(OSS(买线,卖线),LOW*1.00,'←买'),COLORRED,LINETHICK2;DRAWTEXT(CROSS(卖线,买线),HIGH*1.01,'←卖'),COLORGREEN;LC:=REF(CLOSE,1);:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(A(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(90,RSI) , HIGH*1.01,'←逢高出局!'),COLOR00FF00 ;A:=(3*C+ L+ O+ H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+1
 解锁全文需 1  财富值,免费注册即送20财富值!