飞狐权证波段副图指标
源码
多方趋势:7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1),LINETHICK1,COLOR7F52AF;
空方趋势:EMA(MA(多方趋势,5),7),LINETHICK1,COLORA6B8C1;
STICKLINE(多方趋势>=空方趋势,多方趋势,空方趋势,3,0),COLOR7F52AF;
STICKLINE(多方趋势<空方趋势,多方趋势,空方趋势,3,0),COLORA6B8C1;
STICKLINE(多方趋势>78 AND 多方趋势>=空方趋势,多方趋势,78,5,0),COLORRED;
STICKLINE(空方趋势<=多方趋势,空方趋势,多方趋势,3,0),COLOR7F52AF;
STICKLINE(空方趋势>多方趋势,空方趋势,多方趋势,3,0),COLORA6B8C1;
STICKLINE(空方趋势<15 AND 空方趋势<=多方趋势,空方趋势,15,5,0),COLORBLUE;