首页 > 编程语言 >通达信封神买点指标公式源码副图

通达信封神买点指标公式源码副图

时间:2024-02-09 15:13:30浏览次数:30  
标签:HHV 买点 LLV 通达 源码 LOW CLOSE 100 SMA

{ 股票指标 }

短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORmaGENTA;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
VARD:=SMA(((CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11)))*(100),4,1);
VARE:=SMA(((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12)))*(100),4,1);
VARF:=SMA(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*(100),4,1);
VAR10:=SMA(((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14)))*(100),4,1);
VAR11:=SMA(((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100),4,1);
VAR12:=SMA(((CLOSE-LLV(LOW,16))/(HHV(HIGH,16)-LLV(LOW,16)))*(100),4,1);
VAR13:=SMA(((CLOSE-LLV(LOW,17))/(HHV(HIGH,17)-LLV(LOW,17)))*(100),4,1);
VAR14:=SMA(((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18)))*(100),4,1);
VAR17:=SMA(((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100),4,1);
VAR18:=(HIGH+LOW+CLOSE)/(3);
VAR19:=(VAR18-MA(VAR18,14))/((0.015)*(AVEDEV(VAR18,14)));
VAR1A:=(VAR18-MA(VAR18,70))/((0.015)*(AVEDEV(VAR18,70)));
VAR1B:=IF((VAR19>=150) AND (VAR19<200) AND (VAR1A>=150) AND (VAR1A<200),(-10),0);
VAR1C:=IF((VAR19<=(-150)) AND (VAR19>(-200)) AND (VAR1A<=(-150)) AND (VAR1A>(-200)),10,0);
VAR1D:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
VAR1E:=100-Abs(VAR1D);
警1:IF((BARSCOUNT(CLOSE)<70),120,IF((VAR1A>=200) AND (VAR19>=150),(-15),VAR1B)+120),LINETHICK2,COLORCCFF66;
警2:IF((BARSCOUNT(CLOSE)<13),100,IF((VAR1E<88) AND (VAR1D>0),85,100)),LINETHICK2,COLORBLUE;
警3:IF((BARSCOUNT(CLOSE)<13),(-100),0-IF((VAR1E<92) AND (VAR1D<0),85,100)),LINETHICK2,COLORGREEN;
警4:IF((BARSCOUNT(CLOSE)<70),(-120),IF((VAR1A<=(-200)) AND (VAR19<=(-150)),15,VAR1C)-120),LINETHICK2,COLORCCFFCC;
{警戒区}
VAR50:=(HIGH+LOW+CLOSE)/3;
VAR60:=(VAR50-MA(VAR50,10))/(0.015*AVEDEV(VAR50,10));
VAR70:=(VAR50-MA(VAR50,30))/(0.015*AVEDEV(VAR50,30));
VAR80:=IF(VAR60>=150 AND VAR60<200 AND VAR70>=150 AND VAR70<200,100,0);
VAR90:=IF(VAR60<=-150 AND VAR60>-200 AND VAR70<=-150 AND VAR70>-200,-100,VAR80);
VARK1:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
VARK2:=EMA(VARK1,3), COLORBLacK,COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:crOSS(J,J1) AND AA;
stICKLINE(买点,0,-30,-12,0),COLOR0000FF;
STICKLINE(买点,-30,-60,-10,0),COLORWHITE;
STICKLINE(买点,-60,-80,-6,0),COLORYELLOW;
DRAWTEXT(买点,-40,'封神'),COLORFF00FF;
N:=5;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:8,COLORGREEN,LINETHICK0;
上升在即: IF(CROSS(VAR1,VAR2),-100,0),STICK,COLOR0000CC,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),-100,'买'),COLOR00FFFF;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;

 

标签:HHV,买点,LLV,通达,源码,LOW,CLOSE,100,SMA
From: https://www.cnblogs.com/zhibiao/p/18012483

相关文章

  • 通达信小牛抄底选股指标公式源码副图
    {股票指标}X:=REF(((HHV(HIGH,55)-LLV(LOW,55))/LLV(LOW,55)),1)<=(25/100)ANDCLOSE>=REF(HHV(HIGH,55),1)ANDBARSCOUNT(CLOSE)>55;X1:=Abs(ma(C,10)/MA(C,20)-1)<0.01;X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;X4:=O/......
  • 通达信分时量能起爆指标公式源码副图
    {股票指标}M12:=36;N1:=13;N:=100;M:=5;SHORT:=21;LONG:=44;MID:=11;N2:=11;NN:=2400;HD:=HHV(V,NN);LD:=LLV(V,NN);最高:=CONst(HD),NODRAW;最低:=CONST(LD),NODRAW;HLmaX:=最高;HLMIN:=最低;HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2*1......
  • 通达信冲天短进指标公式源码副图
    {股票指标}DRAWGBK(C>0,RGB(88,0,120),RGB(0,0,10),0,'1',0);V1:="cci";V2:="kdj.K";V3:="macd.DIF";V4:="mtm";V5:="rsi";V6:="bias.BIAS2";V7:="acCER";V8:="CYF";......
  • 通达信黑马量柱指标公式源码副图
    {股票指标}M1:=3;{预估成交量}TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);预估成交量:IF((CURRBARSCOUNT=1ANDDYNAINFO(8)>1),vol*(TOTAL+3)/(......
  • 通达信势压托K线主图指标公式源码
    {股票指标}AMV0:=vol*(O+C+H+L)/4;势:Ema(AMV0,21)/EMA(VOL,21);压:6*HHV(势,2)-5*势;托:2*势-压;stICKLINE(CLOSE>0,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(CLOSE>势,OPEN,CLOSE,3,1),COLORRED;STICKLINE(CLOSE=势,OPEN,CLOSE,3,1),COLORRED;STICKLINE(CLOSE>势,LO......
  • 通达信多空助力副图指标公式源码
    {股票指标}M:=34;N:=7;ZX:=MA(CLOSE,M);阻力线:(ZX+N*STD(CLOSE,M)),DOTLINE,LINETHICK1,COLORFFFF20;拉升力:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,47))*0.6*CLOSE;拉升力A:=SMA(拉升力,6.3,1);波峰波谷:=SMA(拉升力A,3,1),COLOR09FFFF;拉升力B:=3*拉升力A-......
  • 通达信龙头二波选股指标公式源码副图
    {股票指标}LC:=REF(CLOSE,1);操作线:=SMA(maX(CLOSE-LC,0),2,1)/SMA(Abs(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;震仓线:=45,COLORMAGENTA;抄底线:=20,COLORGREEN;涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);PP:=操作线<震仓线ANDREF(操作线,1)>震仓线;PP3:=操作线<抄底......
  • 通达信强劲攻势指标公式源码副图
    {股票指标}DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);A1:=(CLOSE-REF(LLV(LOW,15),3))/(REF(HHV(HIGH,15),3)-REF(LLV(LOW,15),3))*100;A2:=SMA(A1,3.1,1);A3:=Sma(A2,3.1,1);出击:(A2*A2+A3*A3)/100,COLORYELLOW,LINETHICK2;特强线:IF(出击>REF(出击,1)*1.01ANDC>R......
  • 通达信游资专用抓牛主图指标公式源码副图
    {股票指标}N:=5;P1:=32;P2:=100;P3:=20;P4:=80;K:=0;K2:=30;K3:=90;AAK:=REF(H,N)=HHV(H,2*N+1);HAN:=DATE<1301230;QY:=BacKSET(AAK,N+1);CC:=FILTER(QY,N)ANDH=HHV(H,N+1);DDD:=BArslAst(CC),NODRAW;GDTS:=IF(CC,CURRBARSCOUNT,0),NODRAW;DINGBUTS:=IF(D......
  • 通达信量化资金波段套装指标 专吃波段 适合上班族 某私募团内部公式 源码文件分享
    {股票指标} 本公式由一个量化波段主图,一个量化资金流幅图,一个量化资金警戒幅图,一个量化资金流选股公式组成使用方法:1、安装好公式后,调用组合好2、看量化资金警戒幅图近期是否有量堆出现,量堆越密集红柱逐个升高为佳3、观察量化资金流幅图是否翻红4、观察量化波段主图是......