飞狐玄黄天地副图指标
源码
Var2:=WINNER(CLOSE*100/100)*100;
Var3:=EMA(Var2,10);
天:90;
地:50;
天地线:=ma(Var3,5);
STICKLINE(天地线>ref(天地线,1) ,天地线,ref(天地线,1),8 ,1),colorred;
STICKLINE(天地线<=ref(天地线,1) ,天地线,ref(天地线,1),8 ,1),colorgreen;
短线逃顶: IF( cross(59,Var3),20,0), stick,linethick3,colorred;
中线逃顶: IF( cross(69,Var3),40,0), stick,linethick3,coloryellow;
长线逃顶: IF( cross(89,Var3),60,0),stick,linethick3,colorblue;
drawtext(短线逃顶,10,'逃'),coloryellow;
drawtext(长线逃顶,20,'逃!!!'),coloryellow;
drawtext(中线逃顶,30,'逃???'),colorgreen;