macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
20
2024 / 11 / 20
2023-07-28 21:32:41 通达信指标网
{ 参数:N1:1 13 13, N2:1 34 34, N3:1 55 55 N4:1 89 89 }
VAR1:=IF(DATE>99991231,0,1);
VAR2:=ZIG(3,3)*VAR1>REF(ZIG(3,3),1)*VAR1 AND REF(ZIG(3,3),1)*VAR1<REF(ZIG(3,3),2)*VAR1;
VAR3:=ZIG(3,3)*VAR1<REF(ZIG(3,3),1)*VAR1 AND REF(ZIG(3,3),1)*VAR1>REF(ZIG(3,3),2)*VAR1;
VAR4:=BARSLAST(VAR2)*VAR1<BARSLAST(VAR3)*VAR1;
VAR5:=BARSLAST(VAR3)*VAR1<BARSLAST(VAR2)*VAR1;
QS1: EMA(ZIG(3,3)*VAR1,N1), , COLOR00FF00;
QS2: EMA(REF(ZIG(3,3),1)*VAR1,N2), , COLORWHITE;
QS3: EMA(REF(ZIG(3,3),2)*VAR1,N3), , COLORBLUE;
QS4: EMA(REF(ZIG(3,3),3)*VAR1,N4), , COLORRED;
☆QS: EMA(REF(ZIG(3,3),4)*VAR1,255), , COLORYELLOW;
STICKLINE(VAR4 AND OPEN<CLOSE,OPEN,CLOSE,7,1), , COLORRED;
STICKLINE(VAR4 AND OPEN>=CLOSE,OPEN,CLOSE,7,0), , COLORRED;
STICKLINE(VAR2 AND VAR4,OPEN,CLOSE,7,1), , COLORRED;
STICKLINE(VAR4 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), , COLORRED;
STICKLINE(VAR4 AND OPEN>CLOSE,LOW,HIGH,0.8,0), , COLORRED;
STICKLINE(VAR3 AND VAR5,OPEN,CLOSE,7,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,OPEN,CLOSE,7,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN<CLOSE,OPEN,CLOSE,7,1), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,OPEN,HIGH,0.8,1), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), , COLORFFCC99;
原文链接:https://www.tdxzb.com/?id=1524
本文版权:如无特别标注,本站文章均为原创。