黑马坑回调买通达信公式 副图 源码附图
VARC:=LOW;
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100;
VARF:=MA(VARE/10,3);
VAR10:=LLV(LOW,30);
VAR11:=HHV(VARF,30);
光头就买:MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3);
VAR1B:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2B:=SMA(ABS(LOW-VAR1B),13,1)/SMA(MAX(LOW-VAR1B,0),10,1);
VAR3B:=EMA(VAR2B,10);
VAR4B:=LLV(LOW,33);
VAR5B:=EMA(IF(LOW<=VAR4B,VAR3B,0),3)*3;
主力进场:IF(VAR5B>REF(VAR5B,1),VAR5B,0),COLORRED,LINETHICK6;
STICKLINE(VAR5B>REF(VAR5B,1),0,VAR5B,3,0 ),COLORRED;
洗盘:IF(VAR5B<REF(VAR5B,1),VAR5B,0),COLORGREEN;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);{股票指标网}
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORGREEN;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORRED;
找主力吸筹提款:VAR5>REF(VAR5,4) AND C>REF(C,1),COLORFFFF00;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VARC赋值:最低价
VARD赋值:1日前的最低价
VARE赋值:SMA(VARC-VARD的绝对值,3,1)/SMA(VARC-VARD和0较大值,3,1)*100
VARF赋值:VARE/10的3日简单移动平均
VAR10赋值:30日内最低价最低值
VAR11赋值:30日内VARF最高值
输出光头就买:MA(IF(最低价<=VAR10,(VARF+VAR11*2)/2,0),3)
VAR1B赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2B赋值:SMA(最低价-VAR1B的绝对值,13,1)/SMA(最低价-VAR1B和0较大值,10,1)
VAR3B赋值:VAR2B的10日指数移动平均
VAR4B赋值:33日内最低价最低值
如果最低价<=VAR4B返回VAR3B否则返回0
输出主力进场:IF(VAR5B>1日前的VAR5B,VAR5B,0),画红色,LINETHICK6
STICKLINE(VAR5B>1日前的VAR5B,0,VAR5B,3,0 ),画红色
输出洗盘:IF(VAR5B<1日前的VAR5B,VAR5B,0),画绿色
VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR3赋值:VAR2的10日指数移动平均
{股票指标网}
VAR4赋值:33日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
STICKLINE(VAR5>1日前的VAR5,0,VAR5,6,0 ),画绿色
STICKLINE(VAR5<1日前的VAR5,0,VAR5,6,0),画红色
输出找主力吸筹提款:VAR5>4日前的VAR5 AND C>1日前的C,COLORFFFF00