【通达信免费源码】趋势彩带指标 副图 无未来函数 趋势 操盘控盘
M1:=18;{M1:1 18 18}
20,POINTDOT,COLOR990099;
50,POINTDOT,COLOR006666;
80,POINTDOT,COLOR009900;
Q1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Q2:=(CLOSE-LLV(LOW,M1))/(HHV(HIGH,M1)-LLV(LOW,M1))*100;
Q3:=SMA(Q2,9,1);
Q4:=SMA(Q3,3,1);
趋势:3Q3-2Q4,COLOR1010FF;
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED;
IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORGREEN;
Q5:=趋势>1*REF(趋势,1);
Q6:=LLVBARS(LOW,50);
Q7:=SUM(VOL,Q6);
Q8:=HHVBARS(HIGH,50);
Q9:=SUM(VOL,Q8);
Q10:=(CLOSE-REF(OPEN,Q8))/REF(OPEN,Q8)*100;
Q11:=HHV(趋势,5);
A1:EMA(Q3,3),COLOR33AA33;
A2:EMA(A1,3),COLOR44BB44;
A3:EMA(A2,3),COLOR55CC55;
A4:EMA(A3,3),COLOR66DD66;
A5:EMA(A4,3),COLOR66EE66;
A6:EMA(A5,3),COLOR66FF66;
A7:EMA(A4,3),COLOR33FF33;
IF(A1>=REF(A1,1),A1,DRAWNULL),COLOR3333AA;
IF(A2>=REF(A2,1),A2,DRAWNULL),COLOR4444BB;
IF(A3>=REF(A3,1),A3,DRAWNULL),COLOR5555CC;
IF(A4>=REF(A4,1),A4,DRAWNULL),COLOR6666DD;
IF(A5>=REF(A5,1),A5,DRAWNULL),COLOR6666EE;
IF(A6>=REF(A6,1),A6,DRAWNULL),COLOR6666FF;
IF(A7>=REF(A7,1),A7,DRAWNULL),COLOR3333FF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!