游资吸筹短线指标一目了然通达信公式 副图 源码附图
VARF1:=TROUGHBARS(3,15,1)<4;
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),NODRAW;
STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,75,0,1.6,0),COLORAA00BB;
DRAWTEXT(STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,75,0,1.6,0),65,'多空'),COLORAA00BB;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
PS1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(PS1,30,0,0.3,0),COLORLIBLUE;
DRAWTEXT(PS1,23,'操盘'),COLORLIBLUE;
{信号}
AA5X:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,NODRAW ;
低位转强:IF(CROSS(AA5X,20),45,0),STICK,COLOR008888,LINETHICK4;
DRAWTEXT((低位转强>0),45,'转强'),COLOR008888;
HJ_1:=REF(LOW,1);
HJ_2:=SMA(ABS(LOW-HJ_1),13,1)/SMA(MAX(LOW-HJ_1,0),13,1)*100;
HJ_3:=EMA(IF(CLOSE*1.2,HJ_2*13,HJ_2/13),13);
HJ_4:=LLV(LOW,34);
HJ_5:=HHV(HJ_3,34);
HJ_6:=IF(LLV(LOW,56),1,0);
HJ_7:=EMA(IF(LOW<=HJ_4,(HJ_3+HJ_5*2)/2,0),3)/618*HJ_6;
HJ_8:=HJ_7>REF(HJ_7,1);
HJ_9:=REF(LLV(LOW,100),3);
HJ_10:=REFDATE(HJ_9,DATE);
HJ_11:=LOW=HJ_10;
{分析家股票公式网}
HJ_12:=HJ_8 AND HJ_11;
HJ_13:=HJ_12>REF(HJ_12,1);
启动点:HJ_13>REF(HJ_13,1),NODRAW;
DRAWTEXT(启动点,10,'启'),COLOR99FFFF;
B3L:DRAWTEXT(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),20,'+20'),COLOR999999;
B6L:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),30,'+40'),COLOR999999;
B9L:DRAWTEXT(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),40,'+60'),COLOR999999;
B12:DRAWTEXT(CROSS(ZIG(3,16),REF(ZIG(3,16),1)),50,'+80'),COLOR666666;
B15:DRAWTEXT(CROSS(ZIG(3,20),REF(ZIG(3,20),1)),60,'+100'),COLOR666666;
S15:DRAWTEXT(CROSS(REF(ZIG(3,20),1),ZIG(3,20)),50,'-100'),COLOR666666;
S12:DRAWTEXT(CROSS(REF(ZIG(3,16),1),ZIG(3,16)),60,'-80'),COLOR666666;
S9:DRAWTEXT(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),70,'-60'),COLOR999999;
S6:DRAWTEXT(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),80,'-40'),COLOR999999;
S3:DRAWTEXT(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),90,'-20'),COLOR999999;
未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VARF1赋值:TROUGHBARS(3,15,1)<4
输出多空:EMA((收盘价-MA((2*收盘价+最高价+最低价)/4,30))/MA((2*收盘价+最高价+最低价)/4,30)*100,3),NODRAW
STICKLINE(VARF1=1的5过滤 AND 多空<-10,75,0,1.6,0),COLORAA00BB
DRAWTEXT(STICKLINE(VARF1=1的5过滤 AND 多空<-10,75,0,1.6,0),65,'多空'),COLORAA00BB
VAR200赋值:(收盘价-20日内最低价最低值)/(20日内最高价最高值-20日内最低价最低值)*100
VAR200的3日[1日权重]移动平均
VAR400赋值:VAR300的5日指数移动平均
操盘赋值:3*VAR300-2*VAR400
PS1赋值:操盘上穿VAR300 AND VAR300<2.1 AND C>O
当满足条件PS1时,在30和0之间画柱状线
当满足条件PS1时,在23和'操盘'位置书写文字
{信号}
AA5X赋值:3*SMA((收盘价-18日内最低价最低值)/(18日内最高价最高值-18日内最低价最低值)*100,21,1)-2*SMA(SMA((收盘价-18日内最低价最低值)/(18日内最高价最高值-18日内最低价最低值)*100,20,1),8,1),CIRCLEDOT,NODRAW
输出低位转强:IF(AA5X上穿20,45,0),STICK,COLOR008888,LINETHICK4
DRAWTEXT((低位转强>0),45,'转强'),COLOR008888
HJ_1赋值:1日前的最低价
HJ_2赋值:SMA(最低价-HJ_1的绝对值,13,1)/SMA(最低价-HJ_1和0较大值,13,1)*100
如果收盘价*1.2返回HJ_2*13否则返回HJ_2/13
HJ_4赋值:34日内最低价最低值
HJ_5赋值:34日内HJ_3最高值
HJ_6赋值:IF(56日内最低价最低值,1,0)
HJ_7赋值:EMA(IF(最低价<=HJ_4,(HJ_3+HJ_5*2)/2,0),3)/618*HJ_6
HJ_8赋值:HJ_7>1日前的HJ_7
HJ_9赋值:REF(100日内最低价最低值,3)
HJ_10:=REFDATE(HJ_9,DATE)
HJ_11:=最低价=HJ_10
{分析家股票公式网}
HJ_12:=HJ_8 AND HJ_11
HJ_13:=HJ_12>1日前的HJ_12
输出启动点:HJ_13>1日前的HJ_13,NODRAW
当满足条件启动点时,在10和'启'位置书写文字
输出B3L:DRAWTEXT(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),20,'+20'),COLOR999999
输出B6L:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),30,'+40'),COLOR999999
输出B9L:DRAWTEXT(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),40,'+60'),COLOR999999
输出B12:DRAWTEXT(CROSS(ZIG(3,16),REF(ZIG(3,16),1)),50,'+80'),COLOR666666
输出B15:DRAWTEXT(CROSS(ZIG(3,20),REF(ZIG(3,20),1)),60,'+100'),COLOR666666
输出S15:DRAWTEXT(CROSS(REF(ZIG(3,20),1),ZIG(3,20)),50,'-100'),COLOR666666
输出S12:DRAWTEXT(CROSS(REF(ZIG(3,16),1),ZIG(3,16)),60,'-80'),COLOR666666
输出S9:DRAWTEXT(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),70,'-60'),COLOR999999
输出S6:DRAWTEXT(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),80,'-40'),COLOR999999
输出S3:DRAWTEXT(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),90,'-20'),COLOR999999