锅底撑压画线划线抄底指标爱划线的朋友肯定喜欢
LT:=LLVBARS(L,60);
LTT:=BArslAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
EXT1:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORRED,LINETHICK2;
TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED,LINETHICK2;
EXT2:DRAWLINE(LTT=0,(EXT1-L)*0.618+L,ISLASTBAR,REF((EXT1-L)*0.618+L,LTT),0)DOTLINE,COLORLIMAGENTA;
V1:=IF(C>O OR (C=O AND C>=REF(C,1)),vol,0);
V2:=IF(C<O OR (C=O AND C<REF(C,1)),VOL,0);
LJ:=SUM(V1,LTT)/SUM(V2,LTT);
XGG:=COUNT(crOSS(C>=EXT1,0.5),LTT+1)=1 AND CROSS(C>=EXT1,0.5) AND LJ>1.5;
DRAWICON(XGG,L,25);
STICKLINE(XGG,C,O,2,0),COLORYELLOW;
STICKLINE(XGG,H,L,0,0),COLORYELLOW;
DRAWTEXT(LTT=0,L*0.98,'←锅底'),COLORYELLOW;
T:=BARSLAST(CROSS(C,REF(H,TT)));
GL:=C/REF(H,TT);
TAK:=BARSLAST(GL=HHV(GL,T+1));
DF:=(C-REF(C,TAK+1))/REF(C,TAK+1)*100;
JL:=L/REF(H,TT);{股票指标网}
XGK:=DF<-8 AND JL<1.075 AND MIN(C,O)*1.005>=REF(H,TT);
XGT:=BARSLAST(COUNT(XGK,T+1)=1 AND XGK);
QFK:=BacKSET(XGT=0,TAK+1);
QFTK:=BARSLAST(CROSS(QFK=1,0.5));
XZF:=REFX(DF,BARSNEXT(XGT=0));
DRAWICON(CROSS(XGT=0,0.5),L*0.99,1);
DRAWTEXT(CROSS(XGT=0,0.5),L*0.980,'←回踩'),COLORYELLOW;
DRAWLINE(T=0,REF(H,TT),QFTK=0,REF(H,QFTK),0),DOTLINE,COLORYELLOW;
DRAWLINE(QFTK=0,REF(H,QFTK),XGT=0,REF(H,TT),0),DOTLINE,COLORYELLOW;
DRAWTEXT(TT=0,REF(H,TT)*1.05,VARCAT(VARCAT('支撑价:',VAR2STR(REF(H,TT),2)),'元'))COLORYELLOW;
DRAWLINE(QFTK=0,REF(H,QFTK)*1.05,QFTK=10,REF(H,QFTK)*1.05,0),COLORWHITE,LINETHICK3;
DRAWTEXT(QFTK=0,REF(H,QFTK)*1.01,VARCAT(VARCAT('信号处跌幅:',VAR2STR(XZF,2)),'%'))COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:DHIGH
该公式包含未来函数:BARSNEXT
该公式包含未来函数:REFX
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
LT赋值:LLVBARS(L,60)
LTT赋值:上次CURRBARSCOUNT=CONST(LT距今天数+1)
HT赋值:FIND最高价BARS(H,LT+1,60,1)
输出EXT1:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,HT日前的H,0),画红色,LINETHICK2
TT赋值:上次CURRBARSCOUNT=CONST(HT距今天数+1)
DRAWLINE(TT=0,H,LTT=0,L,0),画红色,LINETHICK2
输出EXT2:DRAWLINE(LTT=0,(EXT1-L)*0.618+L,ISLASTBAR,REF((EXT1-L)*0.618+L,LTT),0)DOTLINE,COLORLIMAGENTA
V1赋值:IF(C>O OR (C=O AND C>=1日前的C),成交量,0)
V2赋值:IF(C
LJ赋值:LTT的V1日累和/LTT的V2日累和
XGG赋值:统计LTT+1日满足C>=EXT1上穿0.5的天数=1 AND C>=EXT1上穿0.5 AND LJ>1.5
当满足条件XGG时,在L和25之间画图标
当满足条件XGG时,在C和O之间画柱状线
当满足条件XGG时,在H和L之间画柱状线
当满足条件LTT=0时,在L*0.98和'←锅底'位置书写文字
T赋值:上次CROSS(C,TT日前的H距今天数)
GL赋值:C/TT日前的H
TAK:=上次GL=T+1日内GL最高值距今天数
DF赋值:(C-TAK+1日前的C)/TAK+1日前的C*100
JL赋值:L/TT日前的H
{股票指标网}
XGK赋值:DF<-8 AND JL<1.075 AND C和O的较小值*1.005>=TT日前的H
XGT赋值:上次统计T+1日满足XGK的天数=1 AND XGK距今天数
QFK赋值:BACKSET(XGT=0,TAK+1)
QFTK:=上次QFK=1上穿0.5距今天数
XZF赋值:REFX(DF,BARSNEXT(XGT=0))
DRAWICON(XGT=0上穿0.5,L*0.99,1)
DRAWTEXT(XGT=0上穿0.5,L*0.980,'←回踩'),画黄色
DRAWLINE(T=0,TT日前的H,QFTK=0,QFTK日前的H,0),DOTLINE,画黄色
DRAWLINE(QFTK=0,QFTK日前的H,XGT=0,TT日前的H,0),DOTLINE,画黄色
DRAWTEXT(TT=0,TT日前的H*1.05,VARCAT(VARCAT('支撑价:',VAR2STR(TT日前的H,2)),'元'))画黄色
DRAWLINE(QFTK=0,QFTK日前的H*1.05,QFTK=10,QFTK日前的H*1.05,0),COLORWHITE,LINETHICK3
DRAWTEXT(QFTK=0,QFTK日前的H*1.01,VARCAT(VARCAT('信号处跌幅:',VAR2STR(XZF,2)),'%'))画黄色