低买通达信 源码 主图 附图
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;
DD:=VAR8>5; {股票指标网}
买入:=IF((COUNT(DD,2)=2),-20,0);
VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);
VAR3S:=EMA(VAR2S,10);
VAR4S:=LLV(LOW,33);
VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);
主力进场:=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLOR00FFFF;
STICKLINE(VAR5S>REF(VAR5S,1),0,VAR5S,4,1 ),COLORRED;
洗盘:=IF(VAR5S<REF(VAR5S,1),VAR5S,0),COLORGREEN;
低买:IF((CROSS(洗盘,主力进场)AND 买入=-20),100,0),STICK,COLORFF9150,LINETHICK3;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR2赋值:1日前的最低价
VAR3赋值:SMA(最低价-VAR2的绝对值,3,1)/SMA(最低价-VAR2和0较大值,3,1)*100
如果收盘价*1.2返回VAR3*10否则返回VAR3/10
VAR5赋值:38日内最低价最低值
VAR6赋值:38日内VAR4最高值
VAR7赋值:IF(90日内最低价最低值,1,0)
VAR8赋值:EMA(IF(最低价<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7
DD赋值:VAR8>5
{股票指标网}
买入赋值:IF((统计2日满足DD的天数=2),-20,0)
VAR1S赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2S:=SMA(最低价-VAR1S的绝对值,13,1)/SMA(最低价-VAR1S和0较大值,10,1)
VAR3S:=VAR2S的10日指数移动平均
VAR4S:=33日内最低价最低值
如果最低价<=VAR4S返回VAR3S否则返回0
主力进场赋值:IF(VAR5S>1日前的VAR5S,VAR5S,0)*1.1,LINETHICK1,COLOR00FFFF
STICKLINE(VAR5S>1日前的VAR5S,0,VAR5S,4,1 ),画红色
洗盘赋值:IF(VAR5S<1日前的VAR5S,VAR5S,0),画绿色
输出
低买:IF((洗盘上穿主力进场AND 买入=-20),100,0),STICK,COLORFF9150, 线宽为3