捉庄副图,与其它技术指标结合看盘,单独使用效果不佳,容易套牢
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;VAR2C:=(HIGH+LOW+CLOSE*2)/4;VAR3C:=EMA(VAR2C,7);VAR4C:=STD(VAR2C,7);VAR5C:=(VAR2C-VAR3C)*100/VAR4;VAR6C:=EMA(VAR5C,3);WW:(EMA(VAR6C,5)+100)/2-3,COLORFF00FF;MM:HHV(WW,3),COLORFF3333;AAA:=AMOUNT/VOL/100;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系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
VAR2C:=(最高价+最低价+收盘价*2)/4
VAR3C:=VAR2C的7日指数移动平均
VAR4C:=VAR2C的7估算标准差
VAR5C:=(VAR2C-VAR3C)*100/VAR4
VAR6C赋值:VAR5C的3日指数移动平均
输出WW:(VAR6C的5日指数移动平均+100)/2-3,COLORFF00FF
输出MM:3日内WW最高值,COLORFF3333
AAA赋值:成交额/成交量/100