大智慧龙回头副图指标公式源码
DIF=18
龙:IF((((CLOSE)/(REF(CLOSE,1))-1)*(100)>=5) AND (CLOSE>(OPEN)*(1.04)),20,0),POINTDOT,CoLorFF00FF;
LTSJ:=BARSLAST(龙);
回头:IF((LTSJ<=13) AND (LOW<REF(OPEN,LTSJ)) AND ((CLOSE)/(REF(CLOSE,1))<=0.98),10,0),POINTDOT,Linethick2,CoLorFF6600;
LXXD:=(((COUNT((CLOSE<REF(CLOSE,1)),4)>=3) or (COUNT((CLOSE<REF(CLOSE,1)),5)>=4)) or (COUNT((CLOSE<REF(CLOSE,1)),6)>=5));
TDDF:=((((HHV(HIGH,5))/(LOW)-1)*(100)>DDF) or (((HHV(HIGH,7))/(LOW)-1)*(100)>DDF));
超跌:IF(LXXD AND TDDF AND (CLOSE<=REF(CLOSE,1)),20,0),Linethick2,CoLorFFFFFF;
WR5:=((100)*(HHV(HIGH,5)-CLOSE))/(HHV(HIGH,5)-LLV(LOW,5));
WR6:=((100)*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6));
WR:=80-((WR5)*(3)+(WR6)*(2))/(5);
坑:IF((WR<0),WR,0),CoLor00FFFF;
低吸:IF((超跌 or 回头) AND (WR<(-10)),30,0),Linethick2,CoLorFFFF99;
DXDT:=(MA(CLOSE,5)>MA(CLOSE,30)) AND (MA(CLOSE,20)>MA(CLOSE,30));
优选:IF(超跌 AND (WR<0) AND DXDT AND 回头,50,0),Linethick2,CoLor00FF00;
STICKLINE(龙,0,20,4,0),CoLorFF00FF;
STICKLINE(回头,0,10,2,0),CoLorFF6600;
STICKLINE((WR<0),WR,0,2,0),CoLor00FFFF;
STICKLINE((WR<(-10)),WR,(-10),3,0),CoLorFFFFFF;
DRAWTEXT(优选,45,'低◆买'),CoLor00FF00;
DRAWICON(优选,5,1),CoLorFF00FF;