炒股指标

显示 收起

通达信郑云买卖捕捉+预警指标公式

通达信郑云买卖捕捉+预警指标公式:

TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BOLL:=MA(CLOSE,20);
UPPER:=BOLL+2*STD(CLOSE,20);
LOWER:=BOLL-2*STD(CLOSE,20);
MA1:=MA(CLOSE,5);
郑云优化抄底:(CCI<-200 OR J<0 OR C<MA1/1.1)AND C<LOWER;
DRAWBAND(0>郑云优化抄底,RGB(0,0,0),0<郑云优化抄底,RGB(255,60,0));
DRAWTEXT(郑云优化抄底,郑云优化抄底,'抄'),COLOR00FFFF;
郑云优化逃顶:(CCI>200 OR J>100 OR MA1*1.1<C )AND C>UPPER;
DRAWBAND(0>郑云优化逃顶,RGB(0,0,0),0<郑云优化逃顶,RGB(100,110,0));
DRAWTEXT(郑云优化逃顶,郑云优化逃顶,'逃'),COLORFFFF00;

预警公式:
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BOLL:=MA(CLOSE,20);
UPPER:=BOLL+2*STD(CLOSE,20);
LOWER:=BOLL-2*STD(CLOSE,20);
MA1:=MA(CLOSE,5);
郑云优化抄底:(CCI<-200 OR J<0 OR C<MA1/1.1)AND C<LOWER;

通达信郑云买卖捕捉+预警指标公式实例图解: