本帖最后由 九转妖 于 2023-10-28 10:25 编辑
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(G4+G2+8*G1,1)/10;
牛线:SUM(MAX(0,G4+G1-2*GUP1),28)/SUM(MAX(0,2*GUP1-(G2+G1)),29)*100,COLORYELLOW,LINETHICK2;
牛线1:SUM(MAX(0,G4+G1-2*GUP1),34)/SUM(MAX(0,2*GUP1-(G2+G1)),34)*100,COLORRED,LINETHICK2;
牛线2:SUM(MAX(0,G4+G1-2*GUP1),43)/SUM(MAX(0,2*GUP1-(G2+G1)),43)*100,COLORBLUE,LINETHICK2;
牛线3:SUM(MAX(0,G4+G1-2*GUP1),55)/SUM(MAX(0,2*GUP1-(G2+G1)),55)*100,COLORBROWN,LINETHICK2;
GUP2:=牛线>牛线1 AND 牛线>牛线2 AND 牛线>牛线3;
GUP3:=G1/REF(G1,1)>=1.0995;
GUP4:=MAX(牛线1,牛线2);
GUP5:=MAX(牛线1,牛线2);
GUP6:=MAX(GUP4,GUP5);
GUP7:=CROSS(牛线,GUP6);
GUP8:=COUNT(GUP7,5)=1;
GUP9:=牛线<180;
TJ:FILTER(GUP2 AND GUP3 AND GUP8 AND GUP9,5);
STICKLINE(TJ,0,300,5,10),COLORRED;
STICKLINE(TJ,1,300,8,0),COLORRED;
STICKLINE(TJ,1,300,2.8,0),COLOR6600FF;
STICKLINE(TJ,1,300,2.1,0),COLORBB00FF;
STICKLINE(TJ,1,300,1.8,0),COLORMAGENTA;
STICKLINE(TJ,1,300,1.6,0),COLORFF33FF;
STICKLINE(TJ,1,300,0.8,0),COLORFF66FF;
STICKLINE(TJ,1,300,0.4,0),COLORFF99FF;
DRAWICON(TJ,380,13);
选股公式源码
{选股公式:红球图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(G4+G2+8*G1,1)/10;
牛线:=SUM(MAX(0,G4+G1-2*GUP1),28)/SUM(MAX(0,2*GUP1-(G2+G1)),29)*100,COLORYELLOW,LINETHICK2;
牛线1:=SUM(MAX(0,G4+G1-2*GUP1),34)/SUM(MAX(0,2*GUP1-(G2+G1)),34)*100,COLORRED,LINETHICK2;
牛线2:=SUM(MAX(0,G4+G1-2*GUP1),43)/SUM(MAX(0,2*GUP1-(G2+G1)),43)*100,COLORBLUE,LINETHICK2;
牛线3:=SUM(MAX(0,G4+G1-2*GUP1),55)/SUM(MAX(0,2*GUP1-(G2+G1)),55)*100,COLORBROWN,LINETHICK2;
GUP2:=牛线>牛线1 AND 牛线>牛线2 AND 牛线>牛线3;
GUP3:=G1/REF(G1,1)>=1.0995;
GUP4:=MAX(牛线1,牛线2);
GUP5:=MAX(牛线1,牛线2);
GUP6:=MAX(GUP4,GUP5);
GUP7:=CROSS(牛线,GUP6);
GUP8:=COUNT(GUP7,5)=1;
GUP9:=牛线<180;
TJ:=FILTER(GUP2 AND GUP3 AND GUP8 AND GUP9,5);
红球图标:TJ; |