2024金银双底 短线超牛《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(SMA((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100,3,1),3,1);
GUP2:=(EMA(IF(G2<=LLV(G2,30),(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3)+(HHV(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3),30))*2)/2,0),3)/618*IF(LLV(G2,58),1,0));
GUP3:=DMA((3*G4+G2+G3+2*G1)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/1000)/1000));
STICKLINE(CROSS((G1-GUP3)/GUP3*1000,-166),-200,60,1,0),COLORRED;
STICKLINE(CROSS((G1-GUP3)/GUP3*1000,-120),-180,50,1,0),COLORYELLOW;
DRAWTEXT(CROSS((G1-GUP3)/GUP3*1000,-166),-160,'★金低'),COLORRED;
DRAWTEXT(CROSS((G1-GUP3)/GUP3*1000,-120),-80,'★银低'),COLORYELLOW;
选股公式源码
{选股公式一:银低}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(SMA((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100,3,1),3,1);
GUP2:=(EMA(IF(G2<=LLV(G2,30),(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3)+(HHV(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3),30))*2)/2,0),3)/618*IF(LLV(G2,58),1,0));
GUP3:=DMA((3*G4+G2+G3+2*G1)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/1000)/1000));
银低:CROSS((G1-GUP3)/GUP3*1000,-120);
{选股公式二:金低}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA(SMA((G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100,3,1),3,1);
GUP2:=(EMA(IF(G2<=LLV(G2,30),(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3)+(HHV(EMA(IF(G1*1.2,(SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100)*10,SMA(ABS(G2-REF(G2,1)),3,1)/SMA(MAX(G2-REF(G2,1),0),3,1)*100/10),3),30))*2)/2,0),3)/618*IF(LLV(G2,58),1,0));
GUP3:=DMA((3*G4+G2+G3+2*G1)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/1000)/1000));
金低:CROSS((G1-GUP3)/GUP3*1000,-166);