通达信天涯撑压主图指标公式

2024-06-14 05:58发布

Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;{变色}C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;{}T:=1;V1:=A((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20)*T; V2:=(1-7/100)*(DMA(CLOSE,V1))*T;V3:=(1+7/100)*(DMA(CLOSE,V1))*T;支撑:REFDATE(V2,DATE),LINETHICK4,COLORCYAN;阻力:REFDATE(V3,DATE),LINETHICK4,COLORGREEN;
 解锁全文需 1  财富值,免费注册即送20财富值!