以下是通达信缠论高手值得拥有的指标原码、主图、无未来
通达信缠论高手值得拥有的指标原码、主图、无未来
我发的指标你一看都会用,经典,是收费指标的克星,哈哈!!!
[缠绕]原码:
KK:=INDEXO;HH:=INDEXH;DD:=INDEXL;CC:=INDEXC;
DP:=EMA(INDEXC,500)/EMA(C,500);
STICKLINE(CC>REF(CC,1),(HH+H)/DP,(DD+L)/DP,0,1),COLORRED,LINETHICK3;
STICKLINE(CC>REF(CC,1),(KK+O)/DP,(CC+C)/DP,3,1),COLORRED,LINETHICK3;
STICKLINE(CC<REF(CC,1),(HH+H)/DP,(DD+L)/DP,0,0),COLOR00FF00,LINETHICK3;
STICKLINE(CC<REF(CC,1),(KK+O)/DP,(CC+C)/DP,3,0),COLOR00FF00,LINETHICK3;
WR:=100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
DRAWICON(FILTER(CROSS(-WR,(0 – 81)),10),L,1);
DRAWICON(FILTER(CROSS((0 -19),-WR),10),H*1.02,2);
DRAWTEXT(FILTER(CROSS(-WR,(0 – 81)),21),L*0.98,’W&R’),,COLORRED;
DRAWTEXT(FILTER(CROSS(0 -19,-WR),21),H*1.03,’W&R’),,COLORGREEN;
VAR1:=(2*C+H+L)/4;
VAR2:=MA(VAR1,30);
VAR3:=MA(VAR1,5);
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,5,0),COLORFF00FF;
STICKLINE(VAR1>=VAR2,HIGH,LOW,0,0),COLORFF00FF;
STICKLINE(VAR1<VAR2,CLOSE,OPEN,5,0),COLORGREEN;
STICKLINE(VAR1<VAR2,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(VAR1<VAR3 AND VAR3>VAR2,CLOSE,OPEN,5,0),COLORFF9933;
STICKLINE(VAR1<VAR3 AND VAR3>VAR2,HIGH,LOW,0,0),COLORFF9933;
MA(C,30),COLORYELLOW;
R:=0.2;
R1:=0.1;
中线:(MA(C,30)+MA(C,72))/2,COLORCYAN;
顶线:中线+中线*R,COLORCYAN;
底线:中线-中线*R,COLORCYAN;
顶1线:中线+中线*R1,COLORRED;
底1线:中线-中线*R1,COLORRED;
评论(0)