降龙伏魔之剑通达信公式 副图 源码附图

N:=6;
N1:=10;
TR1:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),12);
HD1:=H-REF(H,1);
LD1:=REF(L,1)-L;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE-LC),0),5,1)/SMA(ABS((CLOSE-LC)),5,1))*100);
VARD1:=EXPMEMA(IF(HD1>0&&HD1>LD1,HD1,0),12)*100/TR1;
VARD2:=EXPMEMA(IF(LD1>0&&LD1>HD1,LD1,0),12)*100/TR1;
TR2:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
VARD3:=VARD1>65 AND VARD1>REF(VARD1,1);
VARD4:=LLV(VARD1,0);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
VARD5:=BARSLAST(VARD4=VARD1);
VARD6:=(0-REF(VARD2,4))/(VARD4-REF(VARD2,VARD5))>2;
DMP:=SUM(IF(((HD>0) AND (HD>LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),10);
VARD7:=VARD1>REF(VARD1,1);
VARD8:=VOL>2*MA(VOL,30);
PDI:=((DMP*100)/TR);
MDI:=((DMM*100)/TR);
VARD9:=EXPMEMA(ABS(VARD2-VARD1)/(VARD2+VARD1)*100,6);
VARDA:=EXPMEMA(VARD3,6);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);
AV:=(RSI5+ADX);
VARDB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARDC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
0,COLORFF00FF;
VARDD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,
10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARDE:=0-(EMA(CLOSE,7)-EMA(CLOSE,21));
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5-WR10);
VARDF:=TROUGHBARS(3,15,1)<4;
VARD10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
阶段底部:=(AV+NEWVOL);
STICKLINE((阶段底部 >= 0),0,阶段底部,0.3,1),LINETHICK2,COLORCC6600;
STICKLINE((阶段底部<0),0,阶段底部,0.8,1),LINETHICK6,COLORRED;
VARD11:=IF(VARDF=1,50,0);
VARD12:=CROSS(VARD2,VARD1) AND CROSS(VARDA,VARD9);
趋势线:LLV(阶段底部,1),COLORFFFFFF;
STICKLINE((趋势线>230),250,趋势线,0.8,1),LINETHICK6,COLORFF00FF;
VARD13:=CROSS(VARD2,VARD1) AND CROSS(VARD9,VARDA);
VARD14:=VARDB AND VARDC AND VARDD AND VARD10 AND VARD6 AND VARD7 AND VARD8*50;
230,COLORFFFFFF;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VARD15:=BARSLAST(CROSS(VARD2,VARD1)=1);
VARD16:=BARSLAST(CROSS(VARD1,VARD2)=1);
VARD17:=HHV(VARD1,VARD16);
VARD18:=BARSLAST(VARD1=VARD17);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORYELLOW,NODRAW;
STICKLINE(0=0,0,0,1500,1),COLORRED;
STICKLINE(FILTER(VARDF=1,5) AND 多空<-10,50,0,10,0),COLORF00FF0;
STICKLINE(FILTER(VARDF=1,5),50,0,5,0),COLORYELLOW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORYELLOW;
VARD19:=VARD3 OR VARD12 OR VARD13*100;
VARD1A:=VARD13*100;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
DRAWTEXT(FILTER(VARDF=1,3),25,'降龙伏魔之剑'),COLORRED;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;
STICKLINE(多空<-10,0,多空,0.85,0),COLORYELLOW;
STICKLINE(多空>10,0,多空,0.95,0),COLORRED;



未来函数检测结果如下:
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图