同花顺顶底趋势指标公式
同花顺顶底趋势指标公式:
趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
,3,1),2,1),color7f52af;
趋势1:EMA(MA(趋势,5),3),colora6b8c1;
STICKLINE(趋势>=趋势1,趋势,趋势1,5,0),color7f52af;
STICKLINE(趋势<趋势1,趋势,趋势1,5,0),colora6b8c1;
STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,5,0),colorblue ;
STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,5,0),colorwhite;
STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,5,0),colorf00ff0 ;
STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,5,0),colorf0f000;
V1:=MA(C,5)=HHV(MA(C,5),20);
v2:=MA(C,5)>MA(C,20);
V3:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险:IF(v1 AND V2 AND V3,30,0),STICK,color00ff00;
V11:=MA(C,5)=HHV(MA(C,5),120);
v21:=MA(C,5)>MA(C,120);
V31:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险1:IF(v11 AND V21 AND V31,60,0),STICK,colorf0f000;
底部:5;
抄底:IF(CROSS(趋势,底部),60,0),STICK,coloryellow,linethick2;
DRAWTEXT(抄底,50,'抄底'),colorred;
天线:108,colorff9d00;
逃顶:IF(CROSS(天线,趋势),1,0),STICK,colorff9d00;
STICKLINE(CROSS(天线,趋势),90,108,3,0),colorff9d00;
DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),colorff9d00;
同花顺顶底趋势指标公式实例图解:
同花顺顶底趋势指标公式