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; 感谢感谢 居然有免费的,很好 牛人一个 好东西,收了 感谢感谢!楼主功德无量,哈哈! 找到好贴不容易,我顶你了,谢了 如果想获取全部资源,怎么操作? good!vevy good!
页:
[1]