大智慧极品kdj源码指标公式,大智慧涨停时间窗指标公式
admin888
|大智慧极品kdj源码指标公式,大智慧涨停时间窗指标公式
大智慧极品kdj源码指标公式
VAR1:=IF(OPEN<=REF(OPEN,1),0,maX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR3:=SUM(VAR1,5);
VAR4:=SUM(VAR2,5);
VAR5:=IF(VAR3>VAR4,(VAR3-VAR4)/VAR3,IF(VAR3=VAR4,0,(VAR3-VAR4)/VAR4));
VAR6:=MA(VAR5,5);
VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VARA:=SUM(VAR8,3);
VARB:=SUM(VAR9,3);
VARC:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VARD:=MA(VARC,3);
VARE:=HHV(CLOSE,2);
VAR10:=IF(VARF>=1,LLV(VARE,VARF),LOW);
VAR11:=VAR10+VAR10*VARF*0.5/100;
VAR13:=VAR10+VAR10*(VARF-1)*1.618/100;
山: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);
VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR16:=SUM(VAR8,3);
VAR17:=SUM(VAR9,3);
VAR18:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR19:=MA(VARC,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
买入或持股: STICKLINE(山>0,火,0,2,0), COLORRED;
VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR1C:=SUM(VAR8,3);
VAR1D:=SUM(VAR9,3);
VAR1E:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR1F:=MA(VARC,3);
下跌→抛出: STICKLINE(山>0,火,山,2,1), COLORF0F000;
VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR22:=SUM(VAR8,3);
VAR23:=SUM(VAR9,3);
VAR24:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR25:=MA(VARC,3);
观望: STICKLINE(山=0 AND 火=0,0,1,4,1), COLORBLUE;
VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR28:=SUM(VAR8,3);
VAR29:=SUM(VAR9,3);
VAR2A:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR2B:=MA(VARC,3);
植被: STICKLINE(山<火,火,山,1,0), COLOR00FF00;
VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR2E:=SUM(VAR8,3);
VAR2F:=SUM(VAR9,3);
VAR30:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR31:=MA(VARC,3);
VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VAR35:=SUM(VAR8,3);
VAR36:=SUM(VAR9,3);
VAR37:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
VAR38:=MA(VARC,3);
STICKLINE(REF(山,1)=0 AND 山>0,0,-1,2,0), COLORRED;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,REF(火,1),'调整'),COLORYELLOW ;
大智慧涨停时间窗指标公式
原理:个股涨停一段时间后,回落至涨停初最低价完成了吸筹、洗盘等步骤,并遭遇3,5,8,13,21天等时间窗口,有可能拐头上升,甚至再次涨停!
说明:主图,依据量柱涨停理念,分别在最低点和中点线,并加以涨停时间窗口。副图,每遇收盘价回落至涨停价最低价周围时显示“警戒”字样。同时遇时间窗口,则显示“时间窗警戒”。副图中加入本人比较喜欢的短期威廉指标,可以在回落时间窗点,并且wr>80时考虑买入(供参考,买卖靠个人!)。选股公式:个股涨停后收盘价回落至涨停初最低点,遇时间窗2,3,5,8,13日时选股(加2日选股,防强洗盘现象,去热度消退的21天选股)。选股出股后,再结合自己的理念公式买卖,比如本人提到的短期威廉指标。涨停跟踪,主图:ZT:=C/ref(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BArslAst(ZT);
CZ:=REF(H,BH)-REF(L,BH);
STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED;
STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE;
STICKLINE(ZT,REF(O,BH),REF(C,BH),7,0),COLORYELLOW;
DRAWTEXT(ZT,L*0.98,'涨停'),COLORf00ff0;;
varZT:=BARSLAST(C/REF(C,1)>1.097);
stickline(varZT=2,l*0.97,l*0.98,8,0),color0000ff;
drawtext(varZT=2,l*0.95,'3天'),coloryellow;
stickline(varZT=4,h*1.03,h*1.02,8,0),color9966ff;
drawtext(varZT=4,h*1.06,'5天'),coloryellow;
stickline(varZT=7,l*0.97,l*0.98,8,0),color00ffff;
drawtext(varZT=7,l*0.95,'8天'),coloryellow;
stickline(varZT=12,h*1.03,h*1.02,8,0),colorff33ff;
drawtext(varZT=12,h*1.06,'13天'),coloryellow;
stickline(varZT=20,l*0.97,l*0.98,8,0),color0066ff;
drawtext(varZT=20,l*0.95,'21天'),coloryellow;
stickline(varZT=33,h*1.03,h*1.02,8,0),color9932CD;
drawtext(varZT=33,h*1.06,'34天'),coloryellow;
stickline(varZT=54,l*0.97,l*0.98,8,0),color006600;
drawtext(varZT=54,l*0.95,'55天'),coloryellow;
stickline(varZT=88,h*1.03,h*1.02,8,0),color00ff00;
drawtext(varZT=88,h*1.06,'89天'),coloryellow;
stickline(varZT=143,l*0.97,l*0.98,8,0),colorccffff;
drawtext(varZT=143,l*0.95,'144天'),coloryellow;
stickline(varZT=232 ,h*1.03,h*1.02,8,0),colorff0033;
drawtext(varZT=232,h*1.06,'233天'),coloryellow;
stickline(varZT=376,l*0.97,l*0.98,8,0),colorff9966;
drawtext(varZT=376,l*0.95,'377 天'),coloryellow;
-------------------------------------------------------------涨停时间(窗),副图:N:=13;
WR大于80考虑买:100* (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),linethick0;
均价:amount/(vol*100),linethick0,coloryellow;
ZT:=C/ref(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
STICKLINE(ZT,0,L*0.7,4,0),COLORYELLOW;
DRAWTEXT(ZT,L*0.8,'涨停'),COLORf00ff0;;
varZT:=BARSLAST(C/REF(C,1)>1.097);
AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987);
stickline(AA,0,L*0.3,2,0),colorblue;
drawtext(AA,L*0.4,'警戒'),colorwhite;
stickline(AA and varzt=2,0,L*0.5,2,0),colorred;
drawtext(AA and varzt=2,L*0.5,'时间窗'),colorwhite;
stickline(AA and varzt=4,0,L*0.5,2,0),colorred;
drawtext(AA and varzt=4,L*0.5,'时间窗'),colorwhite;
stickline(AA and varzt=7,0,L*0.5,2,0),colorred;
drawtext(AA and varzt=7,L*0.5,'时间窗'),colorwhite;
stickline(AA and varzt=12,0,L*0.5,2,0),colorred;
drawtext(AA and varzt=12,L*0.5,'时间窗'),colorwhite;
stickline(AA and varzt=20,0,L*0.5,2,0),colorred;
drawtext(AA and varzt=20,L*0.5,'时间窗'),colorwhite;
-----------------------------------------------------------涨停时间窗选股公式:ZT:=C/ref(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
H1:=BH=1;
H2:=BH=2;
H4:=BH=4;
H7:=BH=7;
H12:=BH=12;
C1:=ALL(C>REF(L,BH),1);
C2:=ALL(C>REF(L,BH),2);
C4:=ALL(C>REF(L,BH),4);
C7:=ALL(C>REF(L,BH),7);
C12:=ALL(C>REF(L,BH),12);
AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987);
TJ1:=AA AND H1 AND C1;
TJ2:=AA AND H2 AND C2;
TJ4:=AA AND H4 AND C4;
TJ7:=AA AND H7 AND C7;
TJ12:=AA AND H12 AND C12;
XG:TJ1 OR TJ2 OR TJ4 OR TJ7 OR TJ12;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。