小雨敲窗y 发表于 2023-6-3 21:16:07

2023趋势反弹买点 静候拉升时机《通达信+指标+公式+副图+源码》


副图公式 源码支持手机/电脑



趋势线: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),COLORFF00FF;
条件0:IF(趋势线<=10,12,0),LINETHICK2,COLORFF00FF;
CHP1:=HHV(HIGH,9)-LLV(LOW,9);
CHP2:=HHV(HIGH,9)-CLOSE;
CHP3:=CLOSE-LLV(LOW,9);
CHP4:=CHP2/CHP1*100-70;
CHP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
CHP6:=(2*CLOSE+HIGH+LOW)/4;
CHP7:=SMA(CHP3/CHP1*100,3,1);
CHP8:=LLV(LOW,34);
CHP9:=SMA(CHP7,3,1)-SMA(CHP4,9,1);
CHP10:=IF(CHP9>100,CHP9-100,0);
CHP11:=HHV(HIGH,34);
CHP12:=EMA((CHP6-CHP8)/(CHP11-CHP8)*100,13);
CHP13:=EMA(0.667*REF(CHP12,1)+0.333*CHP12,2);
CHP13,COLOR000000;
DRAWBAND(CHP12,RGB(255,0,0),CHP13,RGB(256,200,0));
CHA1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
CHA2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
CHA3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
CHA4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);
CHA5:=CHA1 AND CHA2>0.5 AND CHA3>0.3 AND CHA4;
CHA6:=COUNT(CHA5,20)=1;
条件1:=CHA6 AND CHA5;
STICKLINE(条件1,0,20,4,0),COLOR009999;
STICKLINE(条件1,0,20,2,0),COLOR00BBBB;
STICKLINE(条件1,0,20,1,0),COLOR00DDDD;
STICKLINE(条件1,0,20,0.4,0),COLOR00FFFF;
DRAWTEXT(条件1,22,'反弹'),COLOR00BBFF;
CHP2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CHP2W,3);
CHP3W:=EMA(CHP2W,7);
M1:= EMA(CHP3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
条件2:IF((MB1),20,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'抄底'),COLORRED;
DRAWICON(CROSS(80,趋势线),80,2);
买点:条件0 AND 条件2;
STICKLINE(买点,0,30,4,0),COLOR000099;
STICKLINE(买点,0,30,2,0),COLOR0000BB;
STICKLINE(买点,0,30,1,0),COLOR0000DD;
STICKLINE(买点,0,30,0.4,0),COLOR0000FF;
条件3:=CROSS(趋势线,CHP12) AND CHP12<60;
DRAWTEXT(条件3,趋势线,'拉升'),COLORFFFFFF;

选股公式源码



{选股公式一:反弹}
CHA1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
CHA2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
CHA3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
CHA4:=HHVBARS(HIGH,50)<LLVBARS(LOW,100);
CHA5:=CHA1 AND CHA2>0.5 AND CHA3>0.3 AND CHA4;
CHA6:=COUNT(CHA5,20)=1;
条件1:=CHA6 AND CHA5;
反弹:条件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),COLORFF00FF;
条件0:=IF(趋势线<=10,12,0),LINETHICK2,COLORFF00FF;
CHP2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CHP2W,3);
CHP3W:=EMA(CHP2W,7);
M1:= EMA(CHP3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
条件2:=IF((MB1),20,0),LINETHICK2,COLORRED;
买点:条件0 AND 条件2;
{选股公式三:抄底}
CHP2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(CHP2W,3);
CHP3W:=EMA(CHP2W,7);
M1:= EMA(CHP3W,5);
抄底:CROSS(MW,M1) AND M1<20;

{选股公式四:拉升}
趋势线:=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),COLORFF00FF;
CHP1:=HHV(HIGH,9)-LLV(LOW,9);
CHP2:=HHV(HIGH,9)-CLOSE;
CHP3:=CLOSE-LLV(LOW,9);
CHP4:=CHP2/CHP1*100-70;
CHP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
CHP6:=(2*CLOSE+HIGH+LOW)/4;
CHP7:=SMA(CHP3/CHP1*100,3,1);
CHP8:=LLV(LOW,34);
CHP9:=SMA(CHP7,3,1)-SMA(CHP4,9,1);
CHP10:=IF(CHP9>100,CHP9-100,0);
CHP11:=HHV(HIGH,34);
CHP12:=EMA((CHP6-CHP8)/(CHP11-CHP8)*100,13);
条件3:=CROSS(趋势线,CHP12) AND CHP12<60;
拉升:条件3;

摩羯座那个 发表于 2023-6-21 21:34:42

不错的内容!

四轮day 发表于 2023-7-2 09:10:30

这是什么东东啊

胡胡胡美丽_ss 发表于 2023-7-13 23:22:45

群众力量就是大,分享万岁!

直子的爱本 发表于 2023-7-22 21:01:09

无量天尊!

湿湿二 发表于 2023-7-30 13:40:13

感谢感谢!楼主功德无量,哈哈!

挣扎的烟头寥 发表于 2023-8-16 13:15:56

如果想获取全部资源,怎么操作?

123457176 发表于 2023-8-18 10:52:30

已收藏!

木之宫龙毕 发表于 2023-8-21 10:03:55

已收藏,以后会常来!

成功源于创新蠢 发表于 2023-8-28 16:32:30

点赞楼主!
页: [1] 2
查看完整版本: 2023趋势反弹买点 静候拉升时机《通达信+指标+公式+副图+源码》