把当天主力持仓线上穿强弱界的时候做出预警
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(买线>=卖线,REFDATE(HHV(30,0),DATE),REFDATE(LLV(10,0),DATE),6,0),COLOR001050;STICKLINE(买线<卖线,REFDATE(HHV(30,0),DATE),REFDATE(LLV(10,0),DATE),6,0),COLOR404050;主力持仓:EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORFF00FF,LINETHICK1;顶部线:100,COLORRED;强势线:80,DOTLINE,COLORFF849D;强弱界:60,DOTLINE,COLORFF7600;探底线:10,COLORBLUE;信号:=CROSS(主力持仓,探底线);上穿:IF(信号,20,0),LINETHICK1,COLORLIBLUE;H1:=C>EXPMA(CLOSE,18) AND HREF(EXPMA(CLOSE,18),1) AND REF(H,1)REF(EXPMA(CLOSE,18),2) AND REF(H,2)REF(EXPMA(CLOSE,18),3) AND REF(H,3)REF(EXPMA(CLOSE,18),4) AND REF(H,4)

解答:

 主力持仓:=EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);

信号:CROSS(主力持仓,60);
 

选股票看什么指标最好 >股票指标网