通达信苍狼建仓副图指标

[复制链接]
查看29 | 回复0 | 2022-7-24 05:05:12 | 显示全部楼层 |阅读模式

{苍狼建仓}
CC:=REF(CLOSE,1);
 RSI5:=((SMA(MAX((CLOSE - CC),0),5,1) / SMA(ABS((CLOSE - CC)),5,1)) * 100);
 TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
 HH:=(HIGH - REF(HIGH,1));
 DD:=(REF(LOW,1) - LOW);
 DMP:=SUM(IF(((HH > 0) AND (HH > DD)),HH,0),10);
 DMM:=SUM(IF(((DD > 0) AND (DD > HH)),DD,0),10);
 PDI:=((DMP * 100) / TR1);
 MDI:=((DMM * 100) / TR1);
 ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
 AV:=(RSI5 + ADX);
 DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
 WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
 NEWVOL:=(RSI5 - WR10);
买入点:=(AV + NEWVOL);
最佳买入:=IF(CROSS(买入点,0),50,0),STICK,COLORRED;
 AA1:=SMA(最佳买入,3,1);
 AA2:=SMA(AA1,3,1),COLOR0000FF;
 AA3:=SMA(AA2,3,1),COLOR00FFFF;
苍狼建仓:IF(CROSS(AA2,AA3) AND (AA2<40),5,0*10000),COLORCYAN,NODRAW;
 STICKLINE(苍狼建仓,20,50,2,0),COLORCYAN;

635100253.jpg

635100253.jpg

回复

使用道具 举报

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

本版积分规则