未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
指标源码:
原理解析:
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