同花順星空斷層多空趨勢買賣主圖指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2021-02-25 來源:互聯(lián)網(wǎng)
同花順星空斷層多空趨勢買賣主圖指標公式:
A5:MA(C,5),color999999,POINTDOT,LINETHICK1;
A20:MA(C,20),colorblue;
A60:=MA(C,60),color0111FF;
A1:=MA(C,1);
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORFF7FFF,LINETHICK1;
PARTLINE(A60,A60>REF(A60,1),color0111FF,A60<REF(A60,1),color009000);
FILLRGN(A5,DEA,DEA>REF(DEA,1) AND A1>A5,color0999ff,DEA>REF(DEA,1) AND A1<A5 AND A5>=REF(A5,1),COLOR222222,DEA>REF(DEA,1) AND A1<A5 AND A5<REF(A5,1),color222222);
FILLRGN(A5,DEA,DEA<REF(DEA,1) AND A1>A5,color009000,DEA<REF(DEA,1) AND A1<A5,color222222,DEA<REF(DEA,1),COLOR222222);
PARTLINE(DEA,A1>=DEA,colorFFFFFF,A1<DEA,colorFF9909),LINETHICK2;
PARTLINE(A5,A5>=REF(A5,1),color111FFF,A5<REF(A5,1),Color00f000),LINETHICK2;
N=20;
P=2;
MID:=MA(CLOSE,N),color999999,POINTDOT,LINETHICK1;
UPPER:=MID + P*STD(CLOSE,N),color999999;
LOWER:=MID - P*STD(CLOSE,N),color999999;
PARTLINE(UPPER,A1>=UPPER,color009000,A1<UPPER,Color999999),LINETHICK1;
PARTLINE(LOWER,A1<=LOWER,color009000,A1>LOWER,Color999999),LINETHICK1;
同花順星空斷層多空趨勢買賣主圖指標公式實例圖解:
同花順星空斷層多空趨勢買賣主圖指標公式