正点财经首页     加入收藏
指标首页 通达信指标 同花顺指标 大智慧指标 飞狐指标 指标教程 指标实战 指标百科 股市学院
指标源码搜索: 热词:买卖  黑马  K线  牛股  量能  波段  顶底  抄底  成本  逃顶  MACD  涨停  换手率
你的位置: > 正点财经 > 炒股指标公式 > 通达信指标公式 > 正文

通达信买位线提示指标公式

通达信指标公式源码概况:
  • 指标类别: 通达信指标公式
  • 授权方式: 免费版
  • 指标评级: ★★★★★
  • 指标分类: 龙系
  • 画线方法: 副图
  • 日期:2024-09-29 来源:互联网
通达信指标公式源码介绍:

通达信买位线提示指标公式:

N:=3;
VAR1:=HHV(HIGH,21);
VAR2:=LLV(LOW,21);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
VAR6:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR7:=SMA(VAR6,3,1);
VAR8:=SMA(VAR7,3,1);
VAR9:=3*VAR7-2*VAR8;
VARA:=LLV(LOW,5);
VARB:=HHV(HIGH,5);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*100,4)*2;
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=3*VARC-2*VARD;
VARF:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR10:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR11:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR12:=(VARF-LLV(VAR10,64))/(HHV(VAR11,64)-LLV(VAR10,64))*150+65-10;
VAR13:=SMA(VAR12,3,1)*1.5-100;
VAR14:=SMA(VAR13,3,1);
VAR15:=3*VAR13-2*VAR14;
VAR16:=(HIGH+LOW+CLOSE*2)/4;
VAR17:=EMA(VAR16,13);
VAR18:=STD(VAR16,13);
VAR19:=(VAR16-VAR17)*100/VAR18;
VAR1A:=EMA(VAR19,5);
VAR1B:=EMA(VAR1A,13);
VAR1C:=EMA(VAR1A,13)+200-100;
VAR1D:=EMA(VAR1C,10);
VAR1E:=3*VAR1C-2*VAR1D;
VAR1F:=VAR7+VARC+VAR13+VAR1C;
VAR20:=VAR8+VARD+VAR14+VAR1D;
VAR21:=VAR9+VARE+VAR15+VAR1E;
VAR22:=(HIGH+LOW+CLOSE)/3;
VAR23:=AMOUNT/VOL/100;
VAR24:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR25:=(VAR22-MA(VAR22,34))/(0.015*AVEDEV(VAR22,34));
VAR26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR27:=(HIGH+LOW+CLOSE+VAR22)/4;
VAR28:=EMA(VAR27,24);
VAR29:=STD(VAR27,24);
VAR2A:=(VAR27-VAR28)/VAR29*100;
VAR2B:=(VAR22-MA(VAR22,24))/(0.015*AVEDEV(VAR22,24));
VAR2C:=EMA(VAR2A,5);
VAR2D:=(VAR23-MA(VAR23,21))/(0.015*AVEDEV(VAR23,21));
VAR2E:=(VAR24-MA(VAR24,90))/(0.015*AVEDEV(VAR24,90));
VAR2F:=((VAR2C+VAR2B+VAR25)/3+165)/4;
VAR30:=(EMA(EMA(EMA(VAR2F,15),10),5)-25)*2+VAR26;
VAR31:=(VAR1F+VAR20+VAR21*30)/32/5-15;
VAR32:=EMA(VAR31,13);
VAR33:=(VAR2F+VAR31)/2/1.1;
VAR34:=VAR33;
买位线: EMA(VAR34,2),COLORFFFF00;
趋势线:EMA(买位线,12),LINETHICK2;
VAR35:=EMA((VAR30+VAR32)/2,2),LINETHICK2;
VAR36:=EMA(趋势线,34);
{获利盘比例指标原码:}
获利盘:=WINNER(C)*100,COLOR00FFFF,LINETHICK1;
HLPMA5:=MA(获利盘,5),COLOR0000FF,LINETHICK2;
短套:=EMA(100*(1-WINNER(1.10*C)),1),COLORFFDD00,LINETHICK1;
中套:=EMA(100*(1-WINNER(1.2*C)),1),COLORFF0000 ,LINETHICK1;
长套:=EMA(100*(1-WINNER(1.5*C)),1),COLOR00FF00,LINETHICK2;
STICKLINE(CURRBARSCOUNT=20,80,90,100,1),COLOR0033FF;
STICKLINE(CURRBARSCOUNT=20,80,90,获利盘,0),COLOR003388;
STICKLINE(CURRBARSCOUNT=20,82,88,获利盘,0),COLOR0033AA;
STICKLINE(CURRBARSCOUNT=20,83.5,86.5,获利盘,0),COLOR0033CC;
STICKLINE(CURRBARSCOUNT=20,84.9,85.1,获利盘,0),COLOR0033FF;
DRAWTEXT(CURRBARSCOUNT=46,87,'获利:'),COLOR0033FF;
DRAWNUMBER(CURRBARSCOUNT=40,87,CONST(获利盘)),COLOR0033FF;
STICKLINE(CURRBARSCOUNT=20,20,30,100,1),COLORFFFF00;
STICKLINE(CURRBARSCOUNT=20,20,30,短套,0),COLOR888800;
STICKLINE(CURRBARSCOUNT=20,22,28,短套,0),COLORAAAA00;
STICKLINE(CURRBARSCOUNT=20,23.5,26.5,短套,0),COLORCCCC00;
STICKLINE(CURRBARSCOUNT=20,24.9,25.1,短套,0),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=46,30,'短套:'),COLORFFFF00;
DRAWNUMBER(CURRBARSCOUNT=40,30,CONST(短套)),COLORFFFF00;
STICKLINE(CURRBARSCOUNT=20,40,50,100,1),COLORFF0000;
STICKLINE(CURRBARSCOUNT=20,40,50,中套,0),COLOR880000;
STICKLINE(CURRBARSCOUNT=20,42,48,中套,0),COLORAA0000;
STICKLINE(CURRBARSCOUNT=20,43.5,46.5,中套,0),COLORCC0000;
STICKLINE(CURRBARSCOUNT=20,44.9,45.1,中套,0),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=46,48,'中套:'),COLORFF0000;
DRAWNUMBER(CURRBARSCOUNT=40,48,CONST(中套)),COLORFF0000;
STICKLINE(CURRBARSCOUNT=20,60,70,100,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=20,60,70,长套,0),COLOR008833;
STICKLINE(CURRBARSCOUNT=20,62,68,长套,0),COLOR00AA33;
STICKLINE(CURRBARSCOUNT=20,63.5,66.5,长套,0),COLOR00CC33;
STICKLINE(CURRBARSCOUNT=20,64.9,65.1,长套,0),COLOR00FF33;
DRAWTEXT(CURRBARSCOUNT=46,67,'长套:'),COLOR00FF00;
DRAWNUMBER(CURRBARSCOUNT=40,67,CONST(长套)),COLOR00FF00;
DRAWTEXT_FIX(1,0.0,0.0,0,'☆获利盘、长套、中套、短套比例为☆:'),COLORWHITE;

通达信买位线提示指标公式实例图解:

通达信买位线提示指标公式

通达信买位线提示指标公式

  • 风云榜
  • 总点击榜
  • 最新指标
月点击榜指标公式
更多指标百科
关于我们 | 商务合作 | 联系投稿 | 联系删稿 | 合作伙伴 | 法律声明 | 网站地图