按此公式编选股公式,只选出当日金叉股_k线图分析

将(一出现红绿柱为预警信号)

将(一出现红绿柱为预警信号)

【股票资源馆】炒股教程、黑马股票、股票资讯、期货外汇,大智慧沪深10档破解,高成功率股票指标,策略投资破解,财经股票论坛,东方财富破解版,东方财富专业破解版。

编写条件:

编写方法:

 网友求助:

求老师编一个日线选股公式,要求只选出当日收盘后,HL1当日金叉HL10的股票,公式如下:

VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR3:=(SMA(VAR2,3,1)-18)*1.55;

VAR4:=SMA(VAR3,3,1);

VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;

VAR6:=SMA(VAR5,10,1);

VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;

VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);

VARA:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VARB:=((VAR8-LLV(VAR9,64))/(HHV(VARA,64)-LLV(VAR9,64))*150+65-10)/2;

VARC:=SMA(VARB,3,1)*1.5-46;

VARD:=SMA(VARC,3,1);

VARE:=3*VARC-2*VARD;

VARF:=(VAR1+VAR2+VAR5)/3;

VAR10:=((VAR3+VAR3+VAR6+VARC)/4-15)*1.67;

VAR11:=((VAR4+VAR4+VAR7+VARD)/4-15)*1.67;

VAR12:=((VAR1+VAR5*2+VARF+VAR10+VAR11+VARB+VARC+VARD+VARE)/10-15)*1.67;

VAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;

VAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;

VAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;

VAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;

VAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;

VAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;

VAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;

VAR1A:=((VAR13*8+VAR14*8+VAR15*8+VAR16+VAR17+VAR18+VAR19)/28-0.1)*185;

VAR1B:=SMA(VAR1A,3,1);

VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;

HL1:MA((VAR3+VAR6+VAR1B*2)/4,1),LINETHICK1;

HL10:MA(HL1,10),COLORRED,LINETHICK3;

 
 
解答如下:
VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR3:=(SMA(VAR2,3,1)-18)*1.55;

VAR4:=SMA(VAR3,3,1);

VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;

VAR6:=SMA(VAR5,10,1);

VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;

VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);

VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);

VARA:=POW(MA(HIGH,5),2)+MA(HIGH,5);

VARB:=((VAR8-LLV(VAR9,64))/(HHV(VARA,64)-LLV(VAR9,64))*150+65-10)/2;

VARC:=SMA(VARB,3,1)*1.5-46;

VARD:=SMA(VARC,3,1);

VARE:=3*VARC-2*VARD;

VARF:=(VAR1+VAR2+VAR5)/3;

VAR10:=((VAR3+VAR3+VAR6+VARC)/4-15)*1.67;

VAR11:=((VAR4+VAR4+VAR7+VARD)/4-15)*1.67;

VAR12:=((VAR1+VAR5*2+VARF+VAR10+VAR11+VARB+VARC+VARD+VARE)/10-15)*1.67;

VAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;

VAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;

VAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;

VAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;

VAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;

VAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;

VAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;

VAR1A:=((VAR13*8+VAR14*8+VAR15*8+VAR16+VAR17+VAR18+VAR19)/28-0.1)*185;

VAR1B:=SMA(VAR1A,3,1);

VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;

HL1:=MA((VAR3+VAR6+VAR1B*2)/4,1);

HL10:=MA(HL1,10);

OK:CROSS(HL1,HL10);

 

 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程

改进攻主图的选股公式

改进攻主图的选股公式

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu