以下是通达信买点精准副图指标源码
D:=WINNER(C+C*15/100)*100-WINNER(C+C*0/100)*100;
D1:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
D2:=D<3 AND D1<0.5 AND O!=L;
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
D3:=EMA(CLOSE,12)-EMA(CLOSE,26);
D4:=EMA(D3,9);
D5:=(D3-D4)*2;
D6:=D5>0 AND LAST(D5>0 AND D5<REF(D5,1),3,1) AND D5>REF(D5,1);
D7:=IF(FILTER(A8,3),5,0)*10,COLOR00FFFF;
买点三:=IF(FILTER(A10,3) OR D2,10,0) AND D6,COLORFF00FF;
STICKLINE(D7,0,5,5,0),COLORFF7700;
STICKLINE(买点三,0,15,5,0),COLORFF00FF;
STICKLINE(D7,0,5,5,0),COLORFF7700;
STICKLINE(D7,0,5,4,0),COLORFF9900;
STICKLINE(D7,0,5,3.5,0),COLORFFAA00;
STICKLINE(D7,0,5,3,0),COLORFFBB00;
STICKLINE(D7,0,5,2.5,0),COLORFFCC00;
STICKLINE(D7,0,5,2,0),COLORFFDD00;
STICKLINE(D7,0,5,1,0),COLORFFEE00;
STICKLINE(买点三,0,15,4.5,0),COLOR102099;
STICKLINE(买点三,0,15,4,0),COLOR1020AA;
STICKLINE(买点三,0,15,3.5,0),COLOR1020BB;
STICKLINE(买点三,0,15,3,0),COLOR1020CC;
STICKLINE(买点三,0,15,2.5,0),COLOR1020DD;
STICKLINE(买点三,0,15,2,0),COLOR1020EE;
评论(0)