通达信指标公式
通达信指标公式:
TR1:=REF(HIGH,1)-REF(LOW,1);
CDP1:=(REF(H,1)+REF(L,1)+REF(C,1))/3;
AH1:=CDP1+TR1;
BH1:=(CDP1+CDP1)-REF(L,1);
BL1:=(CDP1+CDP1)-REF(H,1);
AL1:=CDP1-TR1;
阻1:BH1,POINTDOT,COLORRED;
阻2:AH1,POINTDOT,COLORRED;
撑1:BL1,POINTDOT,COLORGREEN;
撑2:AL1,POINTDOT,COLORGREEN;
TR:=HIGH-LOW;
CDP:=(H+L+C)/3;
AH:=CDP+TR;
BH:=(CDP+CDP)-L;
BL:=(CDP+CDP)-H;
AL:=CDP-TR;
预阻1:BH,POINTDOT,COLORRED;
预阻2:AH,POINTDOT,COLORRED;
预撑1:BL,POINTDOT,COLORGREEN;
预撑2:AL,POINTDOT,COLORGREEN;
{YCL箱体}
箱顶:PEAK(CLOSE,M,1)*0.98,LINETHICK2,COLORRED;
箱底:TROUGH(CLOSE,M,1)*1.02,LINETHICK2,COLORGREEN;
{麦克支撑压力}
HLC:=REF(MA((HIGH+LOW+CLOSE)/3,N),1);
HV:=EMA(HHV(HIGH,N),3);
LV:=EMA(LLV(LOW,N),3);
压3:EMA(2*HV-LV,3),COLORYELLOW;
压2:EMA(HLC+HV-LV,3),COLORYELLOW;
压1:EMA(HLC*2-LV,3),COLORYELLOW;
支1:EMA(HLC*2-HV,3),COLORYELLOW;
支2:EMA(HLC-HV+LV,3),COLORYELLOW;
支3:EMA(2*LV-HV,3),COLORYELLOW;
- 上一篇:股票交易一手是多少股?
- 下一篇:相对强弱指标的计算方法