小杨自创温度计趋势(源码 副图 同花顺 贴图)
源码:
多方趋势:((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)),COLOR0000FF;
空方趋势:(EMA(MA(多方趋势,5),7)),COLORF0F000;
量比:=V/REF(MA(V,13),1);
买:O/LLV(C,13)<1.05 AND 量比>2.2 AND C>REF(C,1),colorgreen,;
温度值:(C-LLV(C,21))/(HHV(C,21)-LLV(C,21))*100,coloryellow,;
STICKLINE((多方趋势 AND 空方趋势 <=温度值),温度值,多方趋势,3,0),COLOR0000FF;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),COLOR0000FF;
STICKLINE((温度值<=空方趋势),温度值,空方趋势,3,0),colorgreen;
STICKLINE((多方趋势>空方趋势),空方趋势,多方趋势,3,0),colormagenta;