2023超跌反弹底背离 多种买点弱转强《通达信 副图 选股 》

[复制链接]
查看24882 | 回复1 | 2023-3-8 13:35 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
64081e1acabeb.png
副图公式源码:支持手机/电脑



LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:= EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

GUP1:=(CLOSE*2+HIGH+LOW)/4;

SK:=EMA(GUP1,13)-EMA(GUP1,21);

SD:=EMA(SK,2);

多头能量:=2*(SK-SD)*3.8;

空头能量:=(-2)*(SK-SD)*3.8;

超买:=(RSI1>80 AND WR1<20) AND ( RSI1>80 AND BIAS>6 ) ;

超跌1:=(RSI1<20 AND BIAS<-6);

超跌2:=( RSI1<20 AND WR1>80 );

STICKLINE(超跌2,CLOSE,OPEN,10,0),COLORYELLOW;

STICKLINE(超跌2,HIGH,LOW,0.10,0),COLORYELLOW;

STICKLINE(超买,CLOSE,OPEN,10,0),COLORRED;

STICKLINE(超买,HIGH,LOW,0.10,0),COLORRED;

STICKLINE(超跌1,CLOSE,OPEN,10,0),COLORBLUE;

STICKLINE(超跌1,HIGH,LOW,0.10,0),COLORBLUE;

AA:=BARSLAST(REF(CROSS(RSI1,RSI2),1));

BB:=REF(C,AA+1)>C AND REF(RSI1,AA+1)<RSI1 AND CROSS(RSI1,RSI2) AND CROSS(DIFF,DEA) AND CROSS(80,WR1) ;

DRAWTEXT(FILTER(BB>0,5),LOW*1,'底背1'),COLORFFFF00;

CC:=BARSLAST(REF(CROSS(RSI2,RSI1),1));

DD:=REF(C,CC+1)<C AND REF(RSI1,CC+1)>RSI1 AND CROSS(RSI2,RSI1);

DRAWTEXT(FILTER(DD>0,5),HIGH*1.01,'顶背1'),COLORFF00FF;

EE:=BARSLAST(REF(CROSS(RSI1,20),1));

FF:=(REF(C,EE+1)>C AND REF(RSI1,EE+1)<RSI1 AND CROSS(RSI1,20) AND CROSS(80,WR1) ) OR (REF(C,EE+1)>C AND CROSS(RSI1,20) AND CROSS(BIAS,-6));

DRAWTEXT(FILTER(FF>0,5),LOW*1,'底背2'),COLORFF1111;

超跌反弹:=( CROSS(RSI1,20) AND CROSS(BIAS,-6)) OR ( CROSS(80,WR1) AND CROSS(BIAS,-6) ) OR ( CROSS(RSI1,20) AND CROSS(80,WR1));

DRAWTEXT(超跌反弹,LOW*1.0,'底部'),COLOR777777;

底1:=(CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND (BB);

底2:=(CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND FF;

底3:=(CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND 超跌反弹;

底4:=CROSS(RSI1,20) AND CROSS(BIAS,-6) AND CROSS(80,WR1);

DRAWTEXT(底1,LOW*1.0,'底1'),COLORYELLOW;

DRAWTEXT(底2,LOW*1.0,'底2'),COLORYELLOW;

DRAWTEXT(底3,LOW*1.0,'底3'),COLORYELLOW;

DRAWTEXT(底4,LOW*1.0,'底4'),COLORYELLOW;

弱转强:=CROSS(RSI1,20) AND CROSS(BIAS,-6);

强转弱:=CROSS(80,RSI1) AND CROSS(WR1,20);

DRAWICON(弱转强,LOW*1.0,1);

DRAWICON(强转弱,HIGH*1.001,2);




选股公式源码



{选股公式一:底部}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

超跌反弹:=( CROSS(RSI1,20) AND CROSS(BIAS,-6)) OR ( CROSS(80,WR1) AND CROSS(BIAS,-6) ) OR ( CROSS(RSI1,20) AND CROSS(80,WR1));

底部:超跌反弹;



{选股公式二:底背1}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

CC:=BARSLAST(REF(CROSS(RSI2,RSI1),1));

DD:=REF(C,CC+1)<C AND REF(RSI1,CC+1)>RSI1 AND CROSS(RSI2,RSI1);

底背1:FILTER(DD>0,5);



{选股公式三:底背2}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

EE:=BARSLAST(REF(CROSS(RSI1,20),1));

FF:=(REF(C,EE+1)>C AND REF(RSI1,EE+1)<RSI1 AND CROSS(RSI1,20) AND CROSS(80,WR1) ) OR (REF(C,EE+1)>C AND CROSS(RSI1,20) AND CROSS(BIAS,-6));

底背2:FILTER(FF>0,5);

{选股公式四:底1}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:= EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

GUP1:=(CLOSE*2+HIGH+LOW)/4;

SK:=EMA(GUP1,13)-EMA(GUP1,21);

SD:=EMA(SK,2);

多头能量:=2*(SK-SD)*3.8;

空头能量:=(-2)*(SK-SD)*3.8;

AA:=BARSLAST(REF(CROSS(RSI1,RSI2),1));

BB:=REF(C,AA+1)>C AND REF(RSI1,AA+1)<RSI1 AND CROSS(RSI1,RSI2) AND CROSS(DIFF,DEA) AND CROSS(80,WR1) ;

底1CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND (BB);



{选股公式五:底2}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

GUP1:=(CLOSE*2+HIGH+LOW)/4;

SK:=EMA(GUP1,13)-EMA(GUP1,21);

SD:=EMA(SK,2);

多头能量:=2*(SK-SD)*3.8;

空头能量:=(-2)*(SK-SD)*3.8;

EE:=BARSLAST(REF(CROSS(RSI1,20),1));

FF:=(REF(C,EE+1)>C AND REF(RSI1,EE+1)<RSI1 AND CROSS(RSI1,20) AND CROSS(80,WR1) ) OR (REF(C,EE+1)>C AND CROSS(RSI1,20) AND CROSS(BIAS,-6));

底2CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND FF;



{选股公式六:底3}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

GUP1:=(CLOSE*2+HIGH+LOW)/4;

SK:=EMA(GUP1,13)-EMA(GUP1,21);

SD:=EMA(SK,2);

多头能量:=2*(SK-SD)*3.8;

空头能量:=(-2)*(SK-SD)*3.8;

超跌反弹:=( CROSS(RSI1,20) AND CROSS(BIAS,-6)) OR ( CROSS(80,WR1) AND CROSS(BIAS,-6) ) OR ( CROSS(RSI1,20) AND CROSS(80,WR1));

底3CROSS(多头能量,空头能量) AND CROSS(SK,SD) ) AND 超跌反弹;



{选股公式七:底4}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

WR1:=100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));

WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

底4:CROSS(RSI1,20) AND CROSS(BIAS,-6) AND CROSS(80,WR1);



{选股公式八:红箭头}

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

弱转强:=CROSS(RSI1,20) AND CROSS(BIAS,-6);

红箭头:弱转强;
漂泊浪子 | 2023-4-2 19:15 | 显示全部楼层
学习了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则