首页 > 编程语言 >龙哥量化:通达信三角形态,划线主图指标公式源码

龙哥量化:通达信三角形态,划线主图指标公式源码

时间:2024-06-13 11:36:52浏览次数:18  
标签:BACKSET ISLASTBAR 龙哥 主图 VV2 源码 HD0304 BARSLAST REF

如果您需要代写公式, 请联系我。

龙哥QQ:591438821

龙哥微信:Long622889

A10304:=REF(HIGH,3)=HHV(HIGH,2*3+1); B10304:=FILTER(A10304,3); C10304:=BACKSET(B10304,3+1); D10304:=FILTER(C10304,3); A20304:=REF(LOW,3)=LLV(LOW,2*3+1); B20304:=FILTER(A20304,3); C20304:=BACKSET(B20304,3+1); D20304:=FILTER(C20304,3); E10304:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E20304:=(HIGH+LOW)/2; H10304:=(D10304 AND NOT(D20304 AND E10304>=E20304)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1; H20304:=D10304 AND NOT(D20304 AND E10304>=E20304); L10304:=D20304 AND NOT(D10304 AND E10304=E20304); X10304:=REF(BARSLAST(H10304),1)+1; F10304:=BACKSET(H10304 AND COUNT(L10304,X10304)>0,LLVBARS(IF(L10304,LOW,10000),X10304)); G10304:=F10304>REF(F10304,1); I10304:=BACKSET(G10304,2); LD0304:=I10304>REF(I10304,1); L20304:=LD0304 OR ISLASTBAR OR BARSCOUNT(CLOSE)=1; X20304:=REF(BARSLAST(L20304),1)+1; F2:=BACKSET(L20304 AND COUNT(H20304,X20304)>0,HHVBARS(IF(H20304,HIGH,0),X20304)); G20304:=F2>REF(F2,1); I2:=BACKSET(G20304,2); HD0304:=I2>REF(I2,1); J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD0304),BARSLAST(LD0304))+1); J2:=J1>REF(J1,1); A3:=H; B3:=REF(H,REF(BARSLAST(HD0304),1)+1)>REF(H,REF(BARSLAST(HD0304),1)+2+REF(BARSLAST(HD0304),REF(BARSLAST(HD0304),1)+2)); D3:=A3 AND B3 AND HD0304; E3:=BACKSET(D3,REF(BARSLAST(HD0304),1)+2); HH:=E3>REF(E3,1); A4:=L>REF(L,REF(BARSLAST(LD0304),1)+1); B4:=REF(L,REF(BARSLAST(LD0304),1)+1); D4:=A4 AND B4 AND LD0304; E4:=BACKSET(D4,REF(BARSLAST(LD0304),1)+2); LL:=E4>REF(E4,1); H3:=HH OR ISLASTBAR OR BARSCOUNT(C)=1; X3:=REF(BARSLAST(H3),1)+1; F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3)); G3:=F3>REF(F3,1); I3:=BACKSET(G3,2); LZ:=I3>REF(I3,1); L4:=LZ OR ISLASTBAR OR BARSCOUNT(C)=1; X4:=REF(BARSLAST(L4),1)+1; F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4)); G4:=F4>REF(F4,1); I4:=BACKSET(G4,2); HZ:=I4>REF(I4,1); K1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); K2:=K1>REF(K1,1); UU:=BACKSET(ISLASTBAR,BARSLAST(LD0304)+1); VV:=UU>REF(UU,1); WW:=BACKSET(VV,REF(BARSLAST(LD0304),1)+2); XX:=WW>REF(WW,1); UU2:=BACKSET(ISLASTBAR,BARSLAST(HD0304)+1); VV2:=UU2>REF(UU2,1); WW2:=BACKSET(VV2,REF(BARSLAST(HD0304),1)+2); XX20304:=WW2>REF(WW2,1); 前一低:=REF(L,BARSLAST(VV)),COLOR99FF66,LINETHICK2; 前二低:=REF(L,BARSLAST(XX)),COLORFF66FF,LINETHICK2; 前一高:=REF(H,BARSLAST(VV2)),COLOR99FF66,LINETHICK2; 前二高:=REF(H,BARSLAST(XX20304)),COLORFF66FF,LINETHICK2; 短高:=REF(H,BARSLAST(VV2)); 短低:=REF(L,BARSLAST(VV)); 短比:=(C-短低)/(短高-短低),NODRAW; 底:REF(L,BARSLAST(VV)),COLORRED,LINETHICK2; 顶:REF(H,BARSLAST(VV2)),COLORGREEN,LINETHICK2; STICKLINE(VV,顶,底,0,0),COLORFF6633,LINETHICK3; DRAWLINE(VV2,H,VV,L,0),COLORBLUE,LINETHICK3; DRAWLINE(VV2,H,VV,顶,0),COLORFF6633,LINETHICK3; DRAWTEXT(ISLASTBAR,顶,STRCAT((''),CON2STR(顶,2))),COLORGREEN; DRAWTEXT(ISLASTBAR,底,STRCAT((''),CON2STR(底,2))),COLORRED; STICKLINE(VV2 ,顶,底,0,0),COLORRED,LINETHICK3; DRAWLINE(VV,L,VV2,H,0),COLORRED,LINETHICK3; DRAWLINE(VV,L,VV2,底,0),COLORRED,LINETHICK3;

标签:BACKSET,ISLASTBAR,龙哥,主图,VV2,源码,HD0304,BARSLAST,REF
From: https://www.cnblogs.com/long136/p/18245552

相关文章

  • 龙哥量化:通达信线上持股主图指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889走势:=MA(CLOSE,1);阿花:=expma(C,5);观望:EXPMA(C,9),LINETHICK2,COLORYELLOW;AT:=IF(DATE>1110208,1,1);持股:(IF(观望>REF(观望,1),观望,DRAWNULL))*AT,LINETHICK2,COLORMAGENTA;持币:(IF(观望<REF(观望,1),......
  • 龙哥量化:通达信三天缩量涨停选股指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;XA_2:=NAMELIKE(1)ORNAMELIKE(2)ORNAMELIKE(3)ANDXA_1>=4.945;XA_3:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1)ORXA_2ANDNOT(DYNAINFO(4)=0);XA_4:=XA_3ANDOP......
  • 掌握高点击率主图的秘密:星参谋一键帮你搞定!
    ......
  • 龙哥量化:通达信量化MACD趋势指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:=EMA(DIFF,9);macd:=2*(DIFF-DEA),STICK;STICKLINE(DIFF<0,0,DIFF,2,0),COLORGREEN;STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;STICKLINE(DEA>=0,0,DEA,2,-1),CO......
  • 龙哥量化:通达信高位线主图指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889M1:=5;M2:=13;M3:=24;M4:=60;M5:=120;M6:=250;MA5:MA(CLOSE,M1);MA13:MA(CLOSE,M2);MA24:MA(CLOSE,M3);MA60:MA(CLOSE,M4);MA125:MA(CLOSE,M5);MA250:MA(CLOSE,M6);LT:=LLVBARS(L,60);LT1:=LLVBARS(L,60);LTT:=......
  • 龙哥量化:通达信资金进出强度副图指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*1......
  • 龙哥量化:通达信压力区间买卖点,买卖提示突破为主升浪
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889STICKLINE(C>=O,H,L,0,0),colorred;STICKLINE(C>=O,C,O,10,10),colorred;STICKLINE(C=OANDC<REF(C,1),H,L,0,0),colorcyan;STICKLINE(C=OANDC<REF(C,1),C,O,10,0),colorcyan;STICKLINE(C<O,H,L,0,0......
  • 龙哥量化:通达信新超买超卖指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889新超买超卖指标公式使用说明:1.适用于超跌反弹行情。2.个股大幅下跌后,连续出现黄区块表明进入超卖严重,一段时间内出现的次数越多连续时间越长,后面的行情越有期待。3.当出现买入信号,可以试探性的入场,同时设定......
  • 龙哥量化:通达信宝塔红升波段主图 指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR4:=......
  • 龙哥量化:通达信一定涨副图指标公式抄底类指标公式源码
    如果您需要代写公式,请联系我。龙哥QQ:591438821龙哥微信:Long622889VARR1:=EMA(HHV(HIGH,500),21);VARR2:=EMA(HHV(HIGH,250),21);VARR3:=EMA(HHV(HIGH,90),21);VARR4:=EMA(LLV(LOW,500),21);VARR5:=EMA(LLV(LOW,250),21);VARR6:=EMA(LLV(LOW,90),21);VARR7:=EMA((VARR4*0......