通达信苍狼建仓指标公式
2020/9/26 18:01:47
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;
看股吧 公式 www.kanguba.c om
其它股票公式列表