同花顺趋势准备副图指标
源码
Var1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋线1:=EMA(Var1,3) ;
Var2:=(趋线1-REF(趋线1,1))/REF(趋线1,1)*100;
清仓:IF(趋线1 =90 AND Var2 0,100,80),STICK,linethick3,COLOR00ff00;80,STICK,linethick3,COLOR000000;
准备:IF(趋线1 =13,20,0),STICK,linethick3,coloryellow;
买入:IF(趋线1 =13 AND Var2 13,50,0),STICK,linethick3,colorred;
0, linethick0, color999999;100, linethick0, color999999;
趋线:趋线1,linethick1,colorf0f000;