在线检测未来函数

通达信牛股持股线主图指标公式

来源:Internet,编辑:股旁网,2023-06-20

{指标介绍:一、红线拿着,绿线减仓或跑路。二、股价回踩到这根线,还可以低吸。特别强势的股,不一定会回踩到这跟线的价格。}

MA5:MA(CLOSE,5);
{MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);}
趋势线:HHV(MA5,100),COLORGREEN,LINETHICK2;
X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
牛股持股线:IF((HHV(MA5,100)=MA5),HHV(MA5,100),DRAWNULL),COLORRED,LINETHICK3;

通达信牛股持股线主图指标公式

相关文章