去评论
彩虹桥投资充电站

通达信指标公式源码主力资金副图指标

冰川2017
2023/04/21 17:08:22
彩虹桥投资充电站,每天分享免费通达信指标

问题:怎样才能每天都收到这类文章!

答案:只需收藏本站每天查看免费指标栏目



MACD:"MACD.MACD",NODRAW;

W1:STICKLINE(MACD>0,MACD,0,3,1),COLORRED;

W2:STICKLINE(MACD<0,MACD,0,3,1),COLORCYAN;

VA1:=HHVBARS(MACD,BARSLAST(MACD<0)+1);

VA2:=CROSS(BACKSET(CROSS(0,MACD),REF(VA1,1)+2),0.5);

QG:=CROSS(BACKSET(CROSS(0,MACD) OR (ISLASTBAR AND MACD>0),REF(VA1,1)+2),0.5);

前高:DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORMAGENTA;

VA3:=LLVBARS(MACD,BARSLAST(MACD>0)+1);

VA4:=CROSS(BACKSET(CROSS(MACD,0),REF(VA3,1)+2),0.5);

BD:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));

前低:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);

BDTJ:=IF(MACD<0,FILTERX(MACD=LLV(MACD,BARSLAST(MACD>0)),

BARSCOUNT(C)),DRAWNULL);

TSBDTJ:=BARSLAST(BDTJ);

BDZH:=FILTERX(MACD
BDTS:=BARSLAST(BDZH);

本低:IF(BD+1>=1,CONST(LLV(MACD,BD+1)),DRAWNULL);

BDCL:=CROSS(COUNT(CROSS(MACD>本低/2 AND MACD<0,0.5),TSBDTJ)=1,0.5) AND TSBDTJ>=0;

终点:=IF(ISLASTBAR AND MACD>0 AND MACD=HHV(MACD,BARSLAST(MACD<0)),1,

IF(FILTERX(QG,BARSCOUNT(C)),2,DRAWNULL));

UU:=(终点=1 OR 终点=2) AND MACD>0;

ZZ:=FILTERX(UU,BARSCOUNT(C));

本高:DRAWLINE(ZZ,MACD,REF(ZZ,1),REF(MACD,1),1),COLORWHITE;

横线:=CONST(REF(MACD,BARSLAST(ZZ)));

WW:=MACD>横线;

起始点:=FILTERX(REFX(BARSLAST(WW),1)=1,BARSCOUNT(C));

天数:BARSLAST(起始点),COLORYELLOW,NODRAW;

上横线:DRAWLINE(起始点,横线,ZZ,横线,0),COLORGREEN,DOTLINE;

下横线:DRAWLINE(BDZH,CONST(LLV(MACD,BD+1)),BDTJ=1,MACD,0),COLOR8080FF,DOTLINE;

DRAWNUMBER(BDTJ,CONST(LLV(MACD,BD+1))*0.9,BDTS);

DRAWNUMBER(ZZ,上横线*1.1,天数);

TJ:=IF(起始点,BARSNEXT(ZZ),DRAWNULL);

红柱数量:IF(天数>0 AND 天数<=REF(TJ,天数),SUM(MACD>0,天数),DRAWNULL),COLORWHITE,NODRAW;

横线起始价:REF(C,天数),NODRAW;

空间评估:(横线起始价-C)/C*100,NODRAW;

TT:=BARSLAST(ZZ);

WQG:=CROSS(COUNT(CROSS(MACD<本高/2 AND MACD>0,0.5),ZZ)=1,0.5) AND ZZ>=0;

STICKLINE(MACD>前高 AND 本高>前高 AND BARSLAST(CROSS(MACD<本高/2,0.5))>0 AND

MACD>(前高+本高)/2,MACD,前高,1,0),COLORYELLOW;

前高本高二分位:IF(MACD>0 AND 本高!=前高,DRAWLINE(WQG,(前高+本高)/2,REF(WQG,1),REF((前高+本高)/2,1),1)

,DRAWNULL),COLORC0C000,DOTLINE;

AA:=STRCAT(STRCAT(STRCAT('〖','上升空间'),'〗'),CON2STR(IF(空间评估,空间评估,

DRAWNULL),2));

DRAWTEXT_FIX(C>0,0,1,0,STRCAT(AA,'﹪')),COLORWHITE;

DRAWTEXT(WQG,MACD*1.1,'本高成立'),COLORWHITE;

DRAWTEXT(BDCL,MACD*1.1,'本低成立'),COLORWHITE;

STICKLINE(MACD>前高,MACD,前高,1,0),COLORYELLOW;

STICKLINE(WQG,MACD,0,1,0),COLORGREEN;

STICKLINE(MACD<0 AND MACD<前低 AND 前低<0,MACD,前低,1,0),COLORBLUE;

B1:=IF(CROSS(MACD<0,0.5),BARSNEXT(BDTJ),DRAWNULL);

TSB1:=BARSLAST(MACD>0)-1;

STICKLINE(BARSLAST(BDCL)>=0 AND MACD<前低 AND MACD<0,MACD,前低,1,0),COLORGREEN;

STICKLINE(BDCL,MACD,0,1,0),COLORWHITE;

STICKLINE(MACD>前高 AND 本高>前高 AND BARSLAST(WQG)>0,

MACD,前高,1,0),COLORRED;

DRAWTEXT(VA2 AND VA2!=UU,(MACD/10)*9,'前');

DRAWTEXT(VA2 AND VA2!=UU,MACD/10,'高');

DRAWTEXT(ZZ,(MACD/10)*9,'本'),COLORWHITE;

DRAWTEXT(ZZ,MACD/10,'高'),COLORWHITE;

DRAWTEXT(BDTJ,(MACD/10)*9,'低'),COLORRED;

DRAWTEXT(BDTJ,MACD/10,'本'),COLORRED;

IF(BARSLAST(BDCL)>=0,本低/2,DRAWNULL),COLORRED,DOTLINE;

VARA1:=(DVOL/C)/2,NODRAW;

VARA2:=SUM(IF(VARA1>100 AND CLOSE>REF(CLOSE,1),VARA1,0),0);

VARA3:=SUM(IF(VARA1>100 AND CLOSE
VARA4:=SUM(IF(VARA1<100 AND CLOSE>REF(CLOSE,1),VARA1,0),0);

VARA5:=SUM(IF(VARA1<100 AND CLOSE
VARA6:=VARA2+VARA3+VARA4+VARA5;

机买:=(VARA2/VARA6)*100,LINETHICK2,COLORRED;

机卖:=(VARA3/VARA6)*100,LINETHICK2,COLORGREEN;

主力差:=机买-机卖,LINETHICK2,NODRAW;

强度:主力差-REF(主力差,1),NODRAW,COLOR6600FF;

STICKLINE(强度>1.5,-0.05,0,2,0),COLORMAGENTA;

近期:BARSLAST(强度>1.5),NODRAW,COLORGRAY;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。

=====================

提供服务如下:

1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用

2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标

3、修改 --- 按照客户“提供的修改要求”,修改技术指标



获取更多指标请随时联系:QQ:2137354986 或 微信:beyond202104
  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫