将散户坐轿出现白色箭头或追涨信号改个选股公式
2019/12/7 18:55:35
公式编写说明:
{注:主力、散户线看中线运行趋势和强弱状态,散户线在上,慎入。当买进信号出现时,若4条线基本同时向上发散,为最佳介入时机。}Var1:=((EMA(C,3)-EMA(C,6))*5);Var2:=(EMA(Var1,7)+EMA(C,5));Var3:=(2*CLOSE+HIGH+LOW)/4;Var4:=LLV(LOW,34);Var5:=HHV(HIGH,34);主力:EMA((Var3-Var4)/(Var5-Var4)*100,13),linethick3,COLORRED;散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;Var6:=CROSS(主力,散户) AND 主力<22 AND Var2>REF(Var2,1);Var7:MA(WINNER(C)*100,5),COLORRED;Var8:MA(WINNER(C)*100,13),COLORYELLOW;Var9:=MA(WINNER(C)*100,34);AA:=BARSLAST(CROSS(Var8,Var7))>=7;BB:=Var8>REF(Var8,1)AND CROSS(Var7,Var8)AND AA AND Var7<30 AND Var7<Var9;CC:=(Var7<REF(Var7,3)OR Var7<REF(Var7,2))AND Var7>REF(Var7,1)AND Var9-Var7>18 AND Var7<30;STICKLINE((Var9<5 OR Var9>REF(Var9,1))AND CROSS(Var7,Var8)AND Var7<Var9 AND Var7<30,0,Var9+8,8,1);DRAWTEXT((Var9<5 OR Var9>REF(Var9,1))AND CROSS(Var7,Var8)AND Var7<Var9 AND Var7<30,Var9+10,'追涨');DRAWICON(FILTER(BB OR CC,5)AND C> REF(C,1),Var7,1);DRAWICON(FILTER((Var7>REF(Var7,3)OR Var7>REF(Var7,2))AND Var7<REF(Var7,1)AND (Var7-Var9>18 OR Var7>85),5),Var7+3,2);IF(CROSS(Var7,Var8)AND Var8<Var9 AND Var2>REF(Var2,1)OR Var6,10,0),COLORAACCFF,LINETHICK2;如图在出现白色箭头为10或者出现追涨的时候出信号
公式源码回答:
VAR1:=((EMA(C,3)-EMA(C,6))*5);
VAR2:=(EMA(VAR1,7)+EMA(C,5));
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
主力:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK3,COLORRED;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;
VAR6:=CROSS(主力,散户) AND 主力<22 AND VAR2>REF(VAR2,1);
VAR7:=MA(WINNER(C)*100,5),COLORRED;
VAR8:=MA(WINNER(C)*100,13),COLORYELLOW;
VAR9:=MA(WINNER(C)*100,34);
AA:=BARSLAST(CROSS(VAR8,VAR7))>=7;
BB:=VAR8>REF(VAR8,1)AND CROSS(VAR7,VAR8)AND AA AND VAR7<30 AND VAR7<VAR9;
CC:=(VAR7<REF(VAR7,3)OR VAR7<REF(VAR7,2))AND VAR7>REF(VAR7,1)AND VAR9-VAR7>18 AND VAR7<30;
xg:IF(CROSS(VAR7,VAR8)AND VAR8<VAR9 AND VAR2>REF(VAR2,1)OR VAR6,10,0);
投 股票网 www .tou18.cn
股市公式下载推荐