通达信——秘密潜伏逃顶指标公式源码完整:...

通达信——秘密潜伏逃顶指标公式

源码完整:

CXH1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CXH2:=IF(CLOSE>OPEN,CLOSE,OPEN);
CXH3:=IF(CLOSE>OPEN,OPEN,CLOSE);
CXH4:=LLV(CXH2,4);
CXH5:=HHV(CXH3,4);
CXH6:=CXH2>=CXH4 AND CXH3<=CXH4 AND CXH2>=CXH5 AND CXH3<=CXH5;
DRAWTEXT_FIX(1,0.62,0,0,''),COLORRED;
CXH7:=REF(CXH2,1)>=CXH4 AND REF(CXH3,1)<=CXH4 AND REF(CXH2,1)>=CXH5 AND REF(CXH3,1)<=CXH5;
CXH8:=REF(CXH2,2)>=CXH4 AND REF(CXH3,2)<=CXH4 AND REF(CXH2,2)>=CXH5 AND REF(CXH3,2)<=CXH5;
CXH9:=REF(CXH2,3)>=CXH4 AND REF(CXH3,3)<=CXH4 AND REF(CXH2,3)>=CXH5 AND REF(CXH3,3)<=CXH5;
CXH10:=CXH6 AND CXH7 AND CXH8 AND CXH9;
CXH11:=REF(CXH5,BARSLAST(CXH10));
CXH12:=(REF(OPEN,5)+REF(CLOSE,5))/2;
CXH13:=(HIGH+LOW+CLOSE+OPEN)/4;
CXH14:=MAX(CXH12,MAX(CXH13,HHV(HIGH,5)));
CXH15:=MIN(CXH12,MIN(CXH13,LLV(LOW,5)));
DRAWKLINE(CXH14,CXH12,CXH15,CXH13);
CXH16:=CXH14=CXH12;
CXH17:=CXH16;
CXH18:=REF(CXH14,BARSLAST(CXH17));
CXH19:=EMA(CLOSE,5)-EMA(CLOSE,55);
CXH20:=EMA(CXH19,10);
CXH21:=CXH19-CXH20;
CXH22:=CLOSE>CXH18 AND CXH21>0;
CXH23:=CXH15=REF(CXH15,1) AND CXH14<REF(CXH14,1) AND CXH16;
CXH24:=CXH15=REF(CXH15,1) AND CXH15=REF(CXH15,2) AND CXH15=REF(CXH15,3) AND CXH15=REF(CXH15,4);
STICKLINE(CLOSE,CXH18-CXH1*0.001,CXH18,1,0),COLORGREEN,LINETHICK4;
STICKLINE(CXH24,CXH14,CXH15,3.2,1),COLOR00FFFF;
STICKLINE(CXH22,CXH12,CXH13,1.1,0),COLORRED;
STICKLINE(CXH22,CXH12,CXH13,0.3,1),COLORRED;
STICKLINE(CXH24,CXH14,CXH15,3.2,1),COLOR00FFFF;

(0)

相关推荐