以下是同花顺多方趋势副图指标
同花顺多方趋势副图指标
源码
多方趋势:SMA(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),3,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;