把三个条件合成一个选股公式
把三个条件合成一个选股公式
【股票资源馆】股票软件破解,大智慧软件破解,通达信软件破解,指南针软件破解,大智慧策略投资终端破解版,大智慧沪深10档L2数据,理想论坛,公式指标编写。
编写条件:
编写方法:
网友求助:
麻烦老师根据源码写个黄柱出现时的买点的思路,加多一个相反条件的卖点,因为我是用来看外汇的,谢谢!
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
ZY:=VAR8*58;
GZ:=REF(ZY,1);
XG:CROSS(GZ,ZY);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
ZY:=VAR8*58;
GZ:=REF(ZY,1);
XG:CROSS(GZ,ZY);
解答如下:
{加入卖点}
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
ZY:=VAR8*58;
GZ:=REF(ZY,1);
进吧:CROSS(GZ,ZY),COLORRED;
DRAWTEXT(进吧,进吧,'进吧'),COLOR00FFFF;
VAR9:=REF(H,1);
VAR12:=SMA(ABS(VAR9-H),13,1)/SMA(MAX(VAR9-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,38);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3)*10;
出啦:REF(VAR15,2)<REF(VAR15,1) AND VAR15<REF(VAR15,1),COLORGREEN;
DRAWTEXT(出啦,出啦,'出啦'),COLORFFFF00;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
ZY:=VAR8*58;
GZ:=REF(ZY,1);
进吧:CROSS(GZ,ZY),COLORRED;
DRAWTEXT(进吧,进吧,'进吧'),COLOR00FFFF;
VAR9:=REF(H,1);
VAR12:=SMA(ABS(VAR9-H),13,1)/SMA(MAX(VAR9-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,38);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3)*10;
出啦:REF(VAR15,2)<REF(VAR15,1) AND VAR15<REF(VAR15,1),COLORGREEN;
DRAWTEXT(出啦,出啦,'出啦'),COLORFFFF00;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}炒股教程
把最佳趋势公式中的笑脸做成选股
把最佳趋势公式中的笑脸做成选股