同花順紫風狂想曲趨勢買賣主圖指標公式
- 指標類別: 同花順指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2021-02-26 來源:互聯網
同花順紫風狂想曲趨勢買賣主圖指標公式:
紫風:=MA(C,1),color2FFFFF,LINETHICK1;
紫風5:MA(C,5),colorred,LINETHICK1;
紫風6:MA(MA(C,5),2),COLOR555555;
紫風7:MA(MA(MA(C,5),2),2),COLOR555555;
紫風8:MA(MA(MA(MA(C,5),2),2),2),COLOR555555;
紫風9:MA(MA(MA(MA(MA(C,5),2),2),2),2),COLOR555555;
FILLRGN(紫風5,紫風9,紫風5>紫風9 AND 紫風>紫風5,color0999ff,紫風5>紫風9 AND 紫風<紫風5 AND 紫風5>=REF(紫風5,1),COLOR0666CC,紫風5>紫風9 AND 紫風<紫風5 AND 紫風5<REF(紫風5,1),color222222);
FILLRGN(紫風5,紫風9,紫風5<紫風9 AND 紫風>紫風5,color009000,紫風5<紫風9 AND 紫風<紫風5,color222222,紫風5<紫風9,COLOR222222);
紫風20:MA(C,20),color111111,POINTDOT,LINETHICK1;
紫風21:MA(MA(C,20),2),color111111,POINTDOT,LINETHICK1;
紫風60:MA(C,60),color111111,POINTDOT,LINETHICK1;
紫風61:MA(MA(C,60),2),color111111,POINTDOT,LINETHICK1;
紫風62:MA(MA(MA(C,60),2),2),color111111,POINTDOT,LINETHICK1;
PARTLINE(紫風20,紫風5>=REF(紫風5,1),colorff9909,紫風5<REF(紫風5,1),colorff1101),LINETHICK1;
PARTLINE(紫風21,紫風5>=REF(紫風5,1),colorff9909,紫風5<REF(紫風5,1),colorff1101),LINETHICK1;
PARTLINE(紫風60,紫風60>=REF(紫風60,1),colorbrown,紫風60<REF(紫風60,1),color006000),LINETHICK1;
PARTLINE(紫風61,紫風60>=REF(紫風60,1),colorbrown,紫風60<REF(紫風60,1),color006000),LINETHICK1;
PARTLINE(紫風62,紫風60>=REF(紫風60,1),colorbrown,紫風60<REF(紫風60,1),color006000),LINETHICK1;
交易:=紫風5;
拉升:HHV(交易,13),color2fffff;
壓力:=HHV(交易,60),color009000;
支撐:LLV(交易,13),COLOR00f000,LINETHICK1;
STICKLINE(拉升>交易 AND 紫風>紫風5,拉升,紫風5,1,0),coloryellow;
STICKLINE(拉升>交易 AND 紫風<=紫風5,拉升,紫風5,1,0),color00c000;
底:LLV(LOW,60)*1.02,COLOR999999;
頂:=HHV(HIGH,60)*0.98,COLOR999999;
//STICKLINE(底,底,底,10,0),COLOR999999;
STICKLINE(頂,頂,頂,10,0),COLOR999999;
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORFF8808,LINETHICK1;
PARTLINE(DEA,紫風>DEA AND DEA>=REF(DEA,1),color7111ff,紫風<DEA AND DEA>=REF(DEA,1),COLORFFFFFF,紫風<DEA AND DEA<REF(DEA,1),colorFF9909,紫風>DEA AND DEA<REF(DEA,1),colorFF1101),LINETHICK2;
MID:=MA(CLOSE,20),color111111,POINTDOT,LINETHICK1;
UPPER:MID +2*STD(CLOSE,20),colorFF3303;
LOWER:MID - 2*STD(CLOSE,20),colorFF3303;
紫風120:MA(C,120),color111111,POINTDOT,LINETHICK1;
紫風121:MA(MA(C,120),2),color111111,POINTDOT,LINETHICK1;
紫風122:MA(MA(MA(C,120),2),2),color111111,POINTDOT,LINETHICK1;
紫風250:MA(C,250),color111111,POINTDOT,LINETHICK1;
紫風251:MA(MA(C,250),2),color111111,POINTDOT,LINETHICK1;
紫風252:MA(MA(MA(C,250),2),2),color111111,POINTDOT,LINETHICK1;
PARTLINE(紫風120,紫風120>=REF(紫風120,1),color7111cc,紫風120<REF(紫風120,1),color006000),LINETHICK1;
PARTLINE(紫風121,紫風120>=REF(紫風120,1),color7111cc,紫風120<REF(紫風120,1),color006000),LINETHICK1;
PARTLINE(紫風122,紫風120>=REF(紫風120,1),color7111cc,紫風120<REF(紫風120,1),color006000),LINETHICK1;
PARTLINE(紫風250,紫風250>=REF(紫風250,1),colorcc111c,紫風250<REF(紫風250,1),color006000),LINETHICK1;
PARTLINE(紫風251,紫風250>=REF(紫風250,1),colorcc111c,紫風250<REF(紫風250,1),color006000),LINETHICK1;
PARTLINE(紫風252,紫風250>=REF(紫風250,1),colorcc111c,紫風250<REF(紫風250,1),color006000),LINETHICK1;
同花順紫風狂想曲趨勢買賣主圖指標公式實例圖解:
同花順紫風狂想曲趨勢買賣主圖指標公式