【 】【通达信】半仓操作主图指标公式
M:=6; {关键位预测} 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,13)*21+C,49); 预测:IF(买线卖线,REFDATE(LLV(L,34),DATE)+(REFDATE(HHV(H,34),DATE)-REFDATE(LLV(L,34),DATE))*(1-0.236),DRAWNULL),COLORRED...
M:=6; {关键位预测} 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,13)*21+C,49); 预测:IF(买线卖线,REFDATE(LLV(L,34),DATE)+(REFDATE(HHV(H,34),DATE)-REFDATE(LLV(L,34),DATE))*(1-0.236),DRAWNULL),COLORRED...
K2:=EMA(C,5),COLORFFFF00; K3:=EMA(C,10),COLORFFFF00; K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00; A10:=EMA(C,10); K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED; VAR1:=(100 ((90 * (HH...
GJ:=AMOUNT/VOL/100; 五日均价A:=MA(GJ,5)COLORYELLOW,LINETHICK2; 二十日均价A:=MA(GJ,20)COLORFF00FF; 通道上A:=HHV(MA(HIGH,3)*1.03,30); 通道下A:=LLV(MA(LOW,3)*0.97,30); STICKLINE(五日均价...
VAR1:=(EMA(C,12)-EMA(C,26))*100+50; VAR2:=EMA(VAR1,9); VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10; VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; STICKLINE(C>REF(C,1),H,L,0,0),COLOR0000FF; ST...
MA5:MA(C,5); N:=20; MIDA:=MA(C,N); ART1:=POW((C-MIDA),2); ART2:=MA(ART1,N); ART3:=SQRT(ART2); UPPERA:=MIDA+2*ART3; LOWERA:=MIDA-2*ART3; BOLL:REF(MIDA,1); UB:REF(UPPERA,1); LB:REF(LOWERA,1); XG1:=V/REF(...
均衡:=IF (YEARMA(VOL,5)*1.2,1,0)); VAR5:=(均衡>REF(均衡,1)AND 中轨REF(CLOSE,1)); 趋势向上:=IF (MA(CLOSE,1)>MA(CLOSE,2) AND MA(CLOSE,2)>MA(CLOSE,3),1,0); 出击A:=IF (VAR5 AND 趋势向上 ,...
N:=75; AA05:=MA(C,5),COLOR0099CC;MA5:MA(C,5);MA20:MA(C,20);MA60:MA(C,60);MA120:MA(C,120); 五日乖离率:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF...
上线:=SMA(C,3.5,1); 下线:=SMA(C,6.5,1); 上线1:=SMA(C,3,1); 下线1:=SMA(C,8,1); STICKLINE(上线>下线 , 上线,下线 ,2, 0),COLORRED,LINETHICK3; STICKLINE(下线>上线,上线,下线,2,0),COLO...
当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12); 疯牛线:EXPMEMA(当日成本,3); 龙头线:EXPMEMA(当日成本,8); V1:=(C*2+H+L)/4*10; V2:=EMA(V1,11)-EMA(V1,30); V3:=EM...
A0:=(L+H+C*2)/4; A1:=EMA(A0,14)COLORYELLOW,LINETHICK2; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; A2X:=(EMA(A0,20)-REF(EMA(A0,20),1))/REF(EMA(A0,20),1)*100; G1:=BARSLAST(CROSS(A1X,0)); 买入止损:REF(...
上线:=sma(c,6.5,1); 下线:=sma(c,13.5,1); 上线1:=sma(c,3,1); 下线1:=sma(c,8,1); STICKLINE(上线>下线 , 上线,下线 ,2.5, 0),colorred,linethick2; stickline(下线>上线,上线,下线,2.5,0)...
TYP:= (HIGH + LOW +2* C)/4; 均线:EMA(TYP,3),LINETHICK2,COLORGREEN; 均线上轨:HHV(均线,14),LINETHICK2,COLORYELLOW; 均线下轨:LLV(均线,14),LINETHICK2,COLORGREEN; 角度:=ATAN((均线/REF(均线...
操盘5日:MA(C,5),COLORFFFFFF; 工作13日:MA(C,13),COLORYELLOW; 生命34日:MA(C,34),COLORMAGENTA; 趋势55日:MA(C,55),COLOR00D300; 长趋:=MA(C,99),COLOR00FF99; 牛熊144日:MA(C,144),COLORBLUE; JJ...
GJ:=(C+H+L+O)/4; 明日阻力:=L+(GJ-L)+(C-L); 明日支撑:=L+(C-GJ); 今日阻力:=REF(明日阻力 , 1),LINETHICK0; 今日支撑:=REF(明日支撑 , 1),LINETHICK0; 年:MA(CLOSE,26),POINTDOT,COLORRED...
MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA30:MA(CLOSE,30); MA60:MA(CLOSE,60); MA90:MA(CLOSE,90),LINETHICK2; MA120:MA(CLOSE,120),LINETHICK3; 红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW; 绿轨道:=M...
DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,AA,0); V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW+HIGH+CLOSE)/3,5); 支撑:REFD...