通达信差额T+0分时指标公式
通达信动能短线指标公式
A:=WEEkdAY-REF(WEEKDAY,1);
B:=DATETODAY(DATE)-REF(DATETODAY(DATE),1);
周天数:=1+BArslAst(BARSCOUNT(C)=0 OR A!=B),NODRAW;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
V1:=L1+P1*0.875;
V2:=L1+P1*0.0625,COLOR00DD00;
DRAWTEXT(LONGcrOSS(C,V1,2),C,''),COLORRED;{抛};
DRAWTEXT(LONGCROSS(V2,C,2),V2*1.001,'B'),COLORYELLOW;{吸}
UU:=HHV(HIGH,240);
UU1:=IF(UU<V1,UU,V1);
UU2:=IF(周天数>21,UU1,DRAWNULL);
STICKLINE(周天数>1,UU2,UU2*0.98,5,0),COLOR004400;
STICKLINE(V1 AND 周天数<22,V1+(V1-V2)/40,V1-(V1-V2)/5,50,0),COLORRED;
DRAWTEXT( V1 AND 周天数=2,V1-(V1-V2)/11,'未来移动'),COLORGREEN;
STICKLINE(V1 AND 周天数<22,V2-(V1-V2)/40,V2+(V1-V2)/5,50,0),COLORRED;
DRAWTEXT( V1 AND 周天数=2,V2+(V1-V2)/13,'小心使用'),COLORGREEN;
{指标网-股票公式网站 www.gupAng.com}
阻力:V1,COLOR00DD00;
支撑:V2,COLOR00DD00;
EE:=LLV(LOW,60);
EE1:=IF(EE>支撑,EE,V2);
低点:IF(周天数>20,EE1,DRAWNULL),COLORLIMAGENTA;
低差额:低点*1.02,COLORLIMAGENTA;
振幅:(UU-LLV(LOW,240))/LLV(LOW,240)*100,,NODRAW;
现价:CLOSE,COLORWHITE,LINETHICK1;
均价:SUM(C*V,BARSSINCE(V>0)+1)/SUM(V,BARSSINCE(V>0)+1),COLORYELLOW;
STICKLINE(FILTER(C,59)>0,V1,V2,0.5,0),COLORRED;
通达信逃顶专家指标公式