通达信怀玉格格主图指标公式
通达信上下背离主图指标公式
明日均线:REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055 ;
后日均线:REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;
大后天均线:C*2-REF(C,3),LINETHICK0,COLOR008888;
持股线:EMA(CLOSE,13);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
{指标网-股票公式网站 www.gupAng.com}
DEA:=EMA(DIF,9);
AA:=EMA(CLOSE,10);
多头:stICKLINE(DIF>DEA,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DIF>DEA,HIGH,LOW,0,0),COLORRED;
空头:STICKLINE(DIF<=DEA,CLOSE,OPEN,8,0),COLORGREEN;
STICKLINE(DIF<=DEA,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,50),CLOSE,OPEN,8,0),COLORYELLOW;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,50),HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(DIF>DEA AND AA<MA(CLOSE,50),CLOSE,OPEN,8,0),COLOR77AAFF;
STICKLINE(DIF>DEA AND AA<MA(CLOSE,50),HIGH,LOW,0,0),COLOR77AAFF;
DRAWTEXT(crOSS(DIF,DEA),LOW*0.995, '怀玉买'),COLORYELLOW,LINETHICK3;
DRAWTEXT(CROSS(DEA,DIF),HIGH*1.01, '格格卖'),COLORGREEN,LINETHICK3;
通达信个股方向线指标公式