主力建仓进场 低买趋势擒庄《通达信+指标+公式+副图+源码》分享
副图公式源码支持: 手机/电脑
KDJ_B:IF("KDJ.J"(27,3,3)<0,30,0),COLORFF00FF,LINETHICK5;
KDJ_S:IF("KDJ.J"(27,3,3)>100,70,100),COLORGREEN,LINETHICK5;
主力建仓:IF(CROSS(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),SMA(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),3,1)) AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1)<20,50,0),COLORWHITE,LINETHICK5;
DRAWTEXT(CROSS(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),SMA(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),3,1)) AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1)<20,60,'主力建仓'),COLORFF00FF;
DRAWTEXT(CROSS(82,RSI),20,''),COLORGREEN;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力进场:=IF(V4>=0,V4,0),COLORFF00FF;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
清仓:IF(FILTER(趋势线>90 AND 趋势线
DRAWTEXT(FILTER(趋势线>90 AND 趋势线
CHP1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
CHP2:=8,COLORGREEN,LINETHICK0;
擒庄:IF(CROSS(CHP1,CHP2),50,0),STICK,COLOR0000CC,LINETHICK5;
DRAWTEXT(CROSS(CHP1,CHP2),80,'擒庄'),COLOR00FFFF;
趋势线1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1);
买1:=IF(趋势线1<=10,15,0),LINETHICK2,COLORFF00FF;
CHP2A:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CHP2A,3);
CHP3A:=EMA(CHP2A,7);
M1:= EMA(CHP3A,5);
MB1:=CROSS(MW,M1) AND M1<20;
抄底:IF((MB1),20,0),LINETHICK2,COLORRED;
买进:买1 AND 抄底;
STICKLINE(买进,0,30,4,0),COLOR000099;
STICKLINE(买进,0,30,2,0),COLOR0000BB;
STICKLINE(买进,0,30,1,0),COLORYELLOW;
STICKLINE(买进,0,30,0.4,0),COLORBLUE;
DRAWTEXT(买进,35,'低买'),COLORFFFFFF;
选股公式源码
{选股公式一:低买}
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
趋势线1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1);
买1:=IF(趋势线1<=10,15,0),LINETHICK2,COLORFF00FF;
CHP2A:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CHP2A,3);
CHP3A:=EMA(CHP2A,7);
M1:= EMA(CHP3A,5);
MB1:=CROSS(MW,M1) AND M1<20;
抄底:=IF((MB1),20,0),LINETHICK2,COLORRED;
买进:=买1 AND 抄底;
低买:买进;
{选股公式二:主力建仓}
主力建仓:IF(CROSS(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),SMA(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1),3,1)) AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,3,1)<20,50,0),COLORWHITE,LINETHICK5;
{选股公式三:擒庄}
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
CHP1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
CHP2:=8,COLORGREEN,LINETHICK0;
擒庄:IF(CROSS(CHP1,CHP2),50,0),COLOR0000CC,LINETHICK5;