通达信指标 长阳反包介入 副图指标+选股公式 源码
GOODGONGSHI2:=REF(LOW,1);
GOODGONGSHI3:=SMA(ABS(LOW-GOODGONGSHI2),13,1)/SMA(MAX(LOW-GOODGONGSHI2,0),13,1)*100;
GOODGONGSHI4:=EMA(IF(CLOSE*1.2,GOODGONGSHI3*13,GOODGONGSHI3/13),13);
GOODGONGSHI5:=LLV(LOW,34);
GOODGONGSHI6:=HHV(GOODGONGSHI4,34);
GOODGONGSHI7:=IF(LLV(LOW,56),1,0);
GOODGONGSHI8:=EMA(IF(LOW<=GOODGONGSHI5,(GOODGONGSHI4+GOODGONGSHI6*2)/2,0),3)/618*GOODGONGSHI7;
AA:=GOODGONGSHI8>REF(GOODGONGSHI8,1);
DR:=100;
ZRQ:=3;
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
TJ:=L=ZD;
TJA:AA AND TJ,COLORRED,LINETHICK2;
TJ1:=TJA>REF(TJA,1);
长阳反包介入:=TJ1>REF(TJ1,1),COLORRED,LINETHICK2;
STICKLINE(FILTER(长阳反包介入>=1,5),45,0,4,0),COLORYELLOW;
DRAWTEXT(FILTER(长阳反包介入=1,5),36,'---长阳反包介入'),COLORYELLOW;
STICKLINE(长阳反包介入,40,25,1,0),COLORRED;
STICKLINE(长阳反包介入,25,10,2,0),COLOR00FF00;
STICKLINE(长阳反包介入,10,0,2,0),COLORBLUE;
STICKLINE(长阳反包介入,25,15,0.5,0),COLORYELLOW;
STICKLINE(长阳反包介入,15,6,1,0),COLOR00FF00;
{长阳反包介入选股公式源码}
GOODGONGSHI2:=REF(LOW,1);
GOODGONGSHI3:=SMA(ABS(LOW-GOODGONGSHI2),13,1)/SMA(MAX(LOW-GOODGONGSHI2,0),13,1)*100;
GOODGONGSHI4:=EMA(IF(CLOSE*1.2,GOODGONGSHI3*13,GOODGONGSHI3/13),13);
GOODGONGSHI5:=LLV(LOW,34);{www.goodgongshi.com}
GOODGONGSHI6:=HHV(GOODGONGSHI4,34);
GOODGONGSHI7:=IF(LLV(LOW,56),1,0);
GOODGONGSHI8:=EMA(IF(LOW<=GOODGONGSHI5,(GOODGONGSHI4+GOODGONGSHI6*2)/2,0),3)/618*GOODGONGSHI7;
AA:=GOODGONGSHI8>REF(GOODGONGSHI8,1);
DR:=100;
ZRQ:=3;
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
TJ:=L=ZD;
TJA:=AA AND TJ,COLORRED,LINETHICK2;
TJ1:=TJA>REF(TJA,1);
长阳反包介入:=TJ1>REF(TJ1,1),COLORRED,LINETHICK2;
长阳反包介入XG:FILTER(长阳反包介入>=1,5);