通达信神龙战法升级版主图指标 加仓减仓一目了然 精心打造 直观清爽 源码附图

{七彩神龙G2}

CY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.1 ,CLOSE-(CLOSE-OPEN)/3,OPEN,2,0),COLORYELLOW;
ZT:STICKLINE(CLOSE/REF(CLOSE,1)>=1.0989 AND CLOSE=HIGH ,CLOSE,OPEN,2,0),COLORYELLOW;
DY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.05 AND CLOSE/REF(CLOSE,1)<1.0989,CLOSE,OPEN,2,0),COLORMAGENTA;
ZY:STICKLINE(CLOSE/REF(CLOSE,1)>=1.03 AND CLOSE/REF(CLOSE,1)<1.05,CLOSE,OPEN,2,0),COLORRED;
ZB:=HIGH=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;
ZQ:=100*(C-REF(C,12))/REF(C,12);
CQ:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
TD:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
QS:=MA(ATAN(TD-REF(TD,1)),3);
QS1:=IF((C>O OR C<O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
QS2:=IF((C>O OR C<O) AND H<REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
FJ:=MA(REF((QS1+QS2),1),26);QQS:=QS>FJ AND QS>REF(QS,1);
CN:=QQS AND CQ>200 AND ZQ>20 AND C>REF(C,1);
DRAWTEXT(CN,L*0.95,'|↖神龙'),COLORYELLOW ,LINETHICK2;
TT:=(EMA(C,5) * 7 + EMA(C,10) * 3) / 10,,NODRAW;
DRAWTEXT(FILTER(CROSS(TT,MA(H,30) * (1 + 13 / 100)),5),MA(H,30) * (1 + 13 / 100) * 0.96,'|↖捉大妖'),COLORYELLOW;
AAA:=(3*C+H+L+O)/6;
VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;
VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
BB:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3,COLORYELLOW,LINETHICK3;
IF((VAR1 <= REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;
IF((VAR1 >= REF(VAR1,1)),VAR1,DRAWNULL),COLORMAGENTA,LINETHICK3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
STICKLINE(BB>VAR1,BB,VAR1,0,-1),COLORBLUE;
DRAWICON(CROSS(VAR1,REF(VAR1,1)) AND MACD>REF(MACD,1),L*0.96,1),COLORRED;
DRAWTEXT(REF(VAR6,1)=REF(VAR1,1) AND VAR6<VAR1,L*0.98,'|↖加仓'),COLORYELLOW;
LC:=REF(CLOSE,1);LC1:=REF(CLOSE,1);
RSI1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
DRAWTEXT(CROSS(84,RSI),HIGH*1.023,'逃顶 '),COLORBLUE,LINETHICK2;
MA1:=MA(CLOSE,5);TJ:=HHV(H,30)=H;TJT:=BARSLAST(TJ);TJ1:=LLV(L,30)=L;TJ1T:=BARSLAST(TJ1);
DRAWLINE(H=HHV(H,30),HHV(H,30),L=LLV(L,30),LLV(LOW,30),0),COLORGREEN,LINETHICK1,DOTLINE;
NOTEXT2:DRAWLINE(H=HHV(H,30),HHV(H,30),L=LLV(L,30),REF(H,TJT),0),COLORRED,LINETHICK1;
STICKLINE(NOTEXT2 AND L=LLV(L,30) AND FILTERX(L=LLV(L,30),TJT+1),REF(L,TJ1T),REF(H,TJT),0,0),COLORMAGENTA;
买入:=IF(MA1>REF(MA1,1),MA1,DRAWNULL),LINETHICK1,COLORRED;
DF:=(HHV(H,30)-LLV(L,30))/HHV(H,30)*100;
DRAWTEXT(H=HHV(H,30) AND NOTEXT2,H*1.015,'下跌'),COLORGREEN;
DRAWTEXT( NOTEXT2 AND BARSLAST(H=HHV(H,30))=4 ,REF(H,BARSLAST(H=HHV(H,30)))*1.015,VAR2STR(DF,1)),COLORGREEN;
DRAWTEXT( NOTEXT2 AND BARSLAST(H=HHV(H,30))=8 ,REF(H,BARSLAST(H=HHV(H,30)))*1.015,'%'),COLORGREEN;
LT:=LLVBARS(L,60);
DRAWLINE(CURRBARSCOUNT=CONST(LT)+1,L,ISLASTBAR,REF(L,LT),0),COLORMAGENTA ,LINETHICK2,POINTDOT;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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