简单350 发表于 2023-6-3 15:46:53

2023长线趋势跟踪 简单明确买卖《通达信+指标+公式+副图+源码》


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



CHP1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
长趋势:=DMA((2*CLOSE+LOW+HIGH)/4,CHP1);
CHP2:=(CLOSE/长趋势);
MA1:=MA(CHP2*(2*CLOSE+HIGH+LOW)/4,3);
CHP3:=((MA1-长趋势)/长趋势)/3;
TMP:=MA1-CHP3*MA1;
长趋势升:IF(TMP>长趋势 ,长趋势,DRAWNULL),LINETHICK4,COLORRED;
IF(TMP>长趋势,长趋势,DRAWNULL),COLORYELLOW,POINTDOT,LINETHICK4;
长趋势降:IF(TMP<=长趋势,长趋势,DRAWNULL),LINETHICK4,COLORGREEN;
IF(TMP<=长趋势,长趋势,DRAWNULL),COLORBLUE,POINTDOT,LINETHICK4;
CHP4:=CROSS(TMP,长趋势);
CHP5:=CROSS(长趋势,TMP);
DRAWICON(CHP4,长趋势-0.1,38);
DRAWICON(CHP5,长趋势+0.1,39);

选股公式源码



{选股公式:红三角图标}
CHP1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
长趋势:=DMA((2*CLOSE+LOW+HIGH)/4,CHP1);
CHP2:=(CLOSE/长趋势);
MA1:=MA(CHP2*(2*CLOSE+HIGH+LOW)/4,3);
CHP3:=((MA1-长趋势)/长趋势)/3;
TMP:=MA1-CHP3*MA1;
{长趋势升:IF(TMP>长趋势 ,长趋势,DRAWNULL),LINETHICK4,COLORRED;
IF(TMP>长趋势,长趋势,DRAWNULL),COLORYELLOW,POINTDOT,LINETHICK4;
长趋势降:IF(TMP<=长趋势,长趋势,DRAWNULL),LINETHICK4,COLORGREEN;
IF(TMP<=长趋势,长趋势,DRAWNULL),COLORBLUE,POINTDOT,LINETHICK4;}
CHP4:=CROSS(TMP,长趋势);
{DRAWICON(CHP4,长趋势-0.1,38);}
红三角图标:CHP4;
{卖出公式:绿三角图标}
CHP1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
长趋势:=DMA((2*CLOSE+LOW+HIGH)/4,CHP1);
CHP2:=(CLOSE/长趋势);
MA1:=MA(CHP2*(2*CLOSE+HIGH+LOW)/4,3);
CHP3:=((MA1-长趋势)/长趋势)/3;
TMP:=MA1-CHP3*MA1;
{长趋势升:IF(TMP>长趋势 ,长趋势,DRAWNULL),LINETHICK4,COLORRED;
IF(TMP>长趋势,长趋势,DRAWNULL),COLORYELLOW,POINTDOT,LINETHICK4;
长趋势降:IF(TMP<=长趋势,长趋势,DRAWNULL),LINETHICK4,COLORGREEN;
IF(TMP<=长趋势,长趋势,DRAWNULL),COLORBLUE,POINTDOT,LINETHICK4;}
CHP5:=CROSS(长趋势,TMP);
{DRAWICON(CHP5,长趋势+0.1,39);}
绿三角图标:CHP5;

卫蒙更夜沙 发表于 2023-6-3 21:03:10

感谢感谢

紫月幽魔 发表于 2023-6-9 16:29:00

居然有免费的,很好

古真八 发表于 2023-6-25 19:42:04

牛人一个

Miah34544 发表于 2023-7-12 17:32:40

好东西,收了

刘金栋 发表于 2023-7-31 00:33:07

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

泡泡的蓝天泡gs 发表于 2023-11-27 22:23:24

找到好贴不容易,我顶你了,谢了

Jordyn83572 发表于 2024-3-20 15:31:50

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

曾经我也说过曾c 发表于 2024-3-24 21:51:33

good!vevy good!
页: [1]
查看完整版本: 2023长线趋势跟踪 简单明确买卖《通达信+指标+公式+副图+源码》