预测12月9日即大盘周期高点位 玄学k高点主图指标
{指定时间上指高点}
WZ1:=H;
RQ001:=241008;
ZD001:=DATE=1000000+RQ001,NODRAW;
TZD001:=BARSLAST(ZD001);
STICKLINE(TZD001>=0,REF(WZ1,TZD001),REF(WZ1,TZD001),5,0),COLOR00FF00;
DRAWTEXT(TZD001=1-1,H*1.05,'高K1'),COLOR00FF00;
RQ002:=241108;
ZD002:=DATE=1000000+RQ002,NODRAW;
TZD002:=BARSLAST(ZD002);
STICKLINE(TZD002>=0,REF(WZ1,TZD002),REF(WZ1,TZD002),5,0),COLOR00FFFF;
DRAWTEXT(TZD002=1-1,H*1.05,'高K2'),COLOR00FFFF;
{庄}
VAR326:=IF(CLOSE AND MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.0 AND CLOSE,88,0);
VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
VAR001:=EMA(EMA(CLOSE,9),9);
KP:=(VAR001-REF(VAR001,1))/REF(VAR001,1)*1000;
VAR202:=100*WINNER(CLOSE*0.95);
GK:=VAR202>50 AND COST(85)<CLOSE AND KP>0;
AAB:=VAR327>90 ;
AB:=FILTER(VAR4AA>90,45) AND FILTER(VAR4AA>90,35) AND VAR327>90 ;
DRAWTEXT(AAB,LOW*2,'.'),COLOR000000;
DRAWTEXT(AAB,H*2,'.'),COLOR000000;
{获利筹码变色}
COST96:=EMA(COST(96),10),COLORRED,LINETHICK1;
{DRAWBAND(COST96,RGB(0,39,15),COST99,RGB(150,0,0));}
COST98:=EMA(COST(98),181),COLORC0C0C0,LINETHICK1;
COST99:=EMA(COST(99),10),COLORRED,DOTLINE;
ATT0:=IF(H>=REF(COST96,1),C,DRAWNULL),LINETHICK1,COLORFF00FF;
ATT1:=IF(H>=REF(COST96,1),C,DRAWNULL),LINETHICK1,COLOR008080;
STICKLINE(H>=COST96,C,O,0.5,0),COLOR408080;
STICKLINE(H>=COST99,C,O,0.5,0),COLORFF8000;
STICKLINE(C>=COST96,C,O,0.5,0),COLOR00FFFF;
STICKLINE(C>=COST99,C,O,0.5,0),COLORFF0000;
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
XA_1:=IF(DATE<=1200823,1,0);
{涨停后回落}
ZB3: STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND XA_1=1),H,MAX(C,O),0.01,0),COLORMAGENTA;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{指定时间上指高点}
WZ1赋值:H
RQ001赋值:241008
ZD001赋值:DATE=1000000+RQ001,NODRAW
TZD001赋值:上次ZD001距今天数
STICKLINE(TZD001>=0,TZD001日前的WZ1,TZD001日前的WZ1,5,0),COLOR00FF00
当满足条件TZD001=1-1时,在H*1.05和'高K1'位置书写文字
RQ002赋值:241108
ZD002赋值:DATE=1000000+RQ002,NODRAW
TZD002赋值:上次ZD002距今天数
STICKLINE(TZD002>=0,TZD002日前的WZ1,TZD002日前的WZ1,5,0),COLOR00FFFF
当满足条件TZD002=1-1时,在H*1.05和'高K2'位置书写文字
{庄}
VAR326赋值:IF(收盘价 AND 成交量的5日简单移动平均/240 AND 收盘价>1日前的收盘价*1.0 AND 收盘价,88,0)
VAR327赋值:IF(收盘价/ 1日前的收盘价>1.050 AND 成交量/当前流通股本*100<10 AND 收盘价<17 AND 最高价/收盘价<1.010 AND VAR326>0, 91, 0)
VAR3AA赋值:IF((收盘价>1日前的收盘价),88,0)
VAR4AA赋值:IF(((收盘价)/(1日前的收盘价)>1.05) AND ((最高价)/(收盘价)<1.01) AND (VAR3AA>0),91,0)
VAR001赋值:收盘价的9日指数移动平均,9)
KP赋值:(VAR001-1日前的VAR001)/1日前的VAR001*1000
VAR202赋值:100*收盘价*0.95计算的获利盘比例
GK赋值:VAR202>50 AND 获利盘为85%的成本分布<收盘价 AND KP>0
AAB赋值:VAR327>90
AB赋值:VAR4AA>90的45过滤 AND VAR4AA>90的35过滤 AND VAR327>90
当满足条件AAB时,在最低价*2和'.'位置书写文字
当满足条件AAB时,在H*2和'.'位置书写文字
{获利筹码变色}
COST96赋值:EMA(获利盘为96%的成本分布,10),画红色,LINETHICK1
{DRAWBAND(COST96,RGB(0,39,15),COST99,RGB(150,0,0))
}
COST98赋值:EMA(获利盘为98%的成本分布,181),COLORC0C0C0,LINETHICK1
COST99赋值:EMA(获利盘为99%的成本分布,10),画红色,DOTLINE
ATT0赋值:IF(H>=1日前的COST96,C,DRAWNULL),LINETHICK1,COLORFF00FF
ATT1赋值:IF(H>=1日前的COST96,C,DRAWNULL),LINETHICK1,COLOR008080
当满足条件H>=COST96时,在C和O之间画柱状线
当满足条件H>=COST99时,在C和O之间画柱状线
当满足条件C>=COST96时,在C和O之间画柱状线
当满足条件C>=COST99时,在C和O之间画柱状线
BK赋值:IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)))
如果DATE<=1200823返回1否则返回0
输出{涨停后回落}
ZB3: STICKLINE((H>=ZTPRICE(1日前的C,BK) AND C=ZTPRICE(1日前的收盘价,0.1) AND C