通达信盘龙通道主图指标 胜率86.66% 源码 附图

T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0));

XA_1:=STRCAT(HYBLOCK,1);

XA_2:=STRCAT(XA_1,DYBLOCK);

XA_3:=STRCAT(XA_2,1);

通道:(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25),DOTLINE,COLORYELLOW;

盘龙:XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,COLORRED,LINETHICK2;

通道2:EMA(盘龙,25),COLORCYAN,LINETHICK2;

DRAWBAND(盘龙,RGB(55,0,0),通道2,RGB(0,91,0));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

STICKLINE(盘龙>LOW AND 盘龙<HIGH,盘龙,MIN(MIN(OPEN,CLOSE),盘龙),3,0),COLORYELLOW;

STICKLINE(盘龙>MIN(CLOSE,OPEN) AND 盘龙<MAX(CLOSE,OPEN),盘龙,MIN(OPEN,CLOSE),0,0),COLORYELLOW;

STICKLINE(盘龙>HIGH,OPEN,CLOSE,3,0),COLORYELLOW;

STICKLINE(盘龙>HIGH,HIGH,LOW,0,0),COLORYELLOW;

XA_4:=100*XMA(XMA(CLOSE-REF(CLOSE,1),6),6)/XMA(XMA(ABS(CLOSE-REF(CLOSE,1)),6),6);

XA_5:=LLV(XA_4,2)=LLV(XA_4,7) AND COUNT(XA_4<0,2) AND CROSS(XA_4,MA(XA_4,2));

XA_6:=盘龙>HIGH AND XA_5 AND LOW<=盘龙 AND CLOSE!=LOW;

XA_7:=(HIGH+LOW+CLOSE)/3;

XA_8:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

XA_9:=IF(CAPITAL=0,XA_8*(XA_7-MIN(CLOSE,OPEN)),XA_8*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW));

XA_10:=IF(CAPITAL=0,XA_8*(MIN(OPEN,CLOSE)-LOW),XA_8*IF(HIGH=LOW,1,XA_7-MIN(CLOSE,OPEN)));

XA_11:=IF(CAPITAL=0,XA_8*(HIGH-MAX(OPEN,CLOSE)),XA_8*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)));

XA_12:=IF(CAPITAL=0,XA_8*(MAX(CLOSE,OPEN)-XA_7),XA_8*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-XA_7));

XA_13:=(XA_9+XA_10-(XA_11+XA_12))/IF(CAPITAL=0,10000,10000);

XA_14:=SMA(IF(CLOSE>=REF(CLOSE,1),XA_13,(-XA_13)/100),2,1);

XA_15:=SMA(XA_14*120/FROMOPEN*5,2,1);

XA_16:=SMA(XA_15,5,1);

XA_17:=SMA(XA_16,5,1);

XA_18:=CURRBARSCOUNT=1 AND CLOSE<REF(CLOSE,1);

XA_19:=REF(XA_14,1)-XA_18;

XA_20:=CLOSE>OPEN AND XA_19<0.02 AND MA(CLOSE,5)>MA(CLOSE,60) AND CLOSE/REF(CLOSE,1)>=1.02 AND HIGH<通道;

XA_21:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

XA_22:=SMA(XA_21,3,1);

XA_23:=SMA(XA_22,3,1);

XA_24:=3*XA_22-2*XA_23;

XA_25:=MA(CLOSE,5);

XA_26:=MA(CLOSE,10);

XA_27:=MA(CLOSE,20);

XA_28:=MA(CLOSE,30);

XA_29:=MA(CLOSE,60);

XA_30:=XA_25/LOW;

XA_31:=HIGH/XA_25;

XA_32:=XA_30>1.1 AND CLOSE>OPEN;

XA_33:=XA_31>1.1 AND CLOSE<OPEN;

XA_34:=XA_30>1.05 AND CLOSE>OPEN AND CLOSE<XA_25 AND CLOSE<XA_26 AND CLOSE<XA_27 AND CLOSE<XA_29;

XA_35:=XA_31>1.05 AND CLOSE<OPEN;

XA_36:=XA_29/CLOSE;

XA_37:=XA_32>0 AND XA_34>0 AND XA_36>1.5 AND XA_24>XA_22;

STICKLINE(XA_37,OPEN,CLOSE,2,0),COLORFF00FF;

XA_38:=HIGH>XA_26*1.15 AND CLOSE<OPEN;

CTA:=REF(C,1)<盘龙 AND REF(C,2)<盘龙 AND O<盘龙 AND C>盘龙;

卖:DRAWICON(FILTER(XA_38>0,1),HIGH*1.02,6);

买:DRAWICON(CTA,LOW*1.02,42);


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:XMA
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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