首页 > 编程语言 >通达信价值引力副图指标公式源码

通达信价值引力副图指标公式源码

时间:2024-03-09 16:01:11浏览次数:43  
标签:引力 0.00 DRAWTEXT K1 MACD1 通达信 源码 REF SMA

{ 通达信价值引力副图指标公式源码 }


VARA:=EMA(REF(CLOSE,1),4);
色彩峰:(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
{STICKLINE(色彩峰,0,150,5,0),COLORDDA85C;}
{STICKLINE(色彩峰,0,-50,5,0),COLORE7B400;}
STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR1E1E64;
AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.618),2);
VARA1:=VOL/CAPITAL/100< 0.015;
VARA2:=C/REF(C,1)> 1.05 AND C>O;
VARA3:=CLOSE<=1.47*LLV(CLOSE,58) AND CLOSE<=15;
VARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
VARZ:=IF(VARA1 AND VARA2 AND VARA4<40,1,0);
PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RSV:=SMA(PF1,9,1);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD1:=2000* (2*(DIFF-DEA))/EMA(C,30);
FASTK1:=SMA(RSV,3,1);
K1:=SMA(FASTK1,2,1), COLORYELLOW;
D1:=SMA(K1,5,1),COLOR006CB5;
T3:=(K1-D1)>REF((K1-D1),5);
STICKLINE(MACD1>=0,0,MACD1,4,0) ,COLOR666666;
STICKLINE(MACD1>=0 AND MACD1>REF(MACD1,1),0,MACD1,3,0),COLORAAAAAA;
STICKLINE(MACD1<0,0, 0.3*MACD1,4,0), COLOR666666;
STICKLINE(MACD1<0 AND MACD1>REF(MACD1,1),0,0.3*MACD1,3,0),COLOR9A9A9A;
RSV2:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
FASTK:=SMA(RSV2,3,1);
K:SMA(FASTK,2,1), COLORYELLOW;
D:=SMA(K,5,1),COLOR006CB5;
多方拱桥:IF(K1>=D1,D1,DRAWNULL),NODRAW,COLORRED;
空方拱桥:IF(K1<=D1,D1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(K1>=D1,D1,K1,3,0),COLORRED;
STICKLINE(K1<=D1,D1,K1,3,0),COLORBLUE;
跟庄多头:IF(K>=D,D,DRAWNULL),NODRAW,COLORMAGENTA;
跟庄空头:IF(K<=D,D,DRAWNULL),NODRAW,COLORLICYAN;
STICKLINE(K>=D,D,K,1,0),COLORMAGENTA;
STICKLINE(K<=D,D,K,1,0),COLORWHITE;
{短进:DRAWICON(CROSS(MACD1,150),150,1);}
DRAWTEXT(色彩峰<3.5,-30,'■'),COLORDBDBDB;
DRAWTEXT(色彩峰<3.5,-30,'?'),COLORC18E68;
DRAWTEXT(CROSS(色彩峰,90),98,'?'),COLORFFFFFF;
DRAWICON(CROSS(MACD1,150),150,1);
出航:FILTER(MACD1<0 AND MACD1>REF(MACD1,1) AND 色彩峰<20,5), COLORBROWN;
DRAWICON(MACD1>0 AND MACD1>REF(MACD1,1)*2 AND REF(MACD1,1)>0,0,9);
DRAWTEXT(FILTER(MACD<0 AND MACD>REF(MACD,1) AND 色彩峰<20,5) AND T3,-1,'▲'),COLORFFFFFF;
抛压筹码:IF(色彩峰>0,色彩峰,DRAWNULL),NODRAW,COLOR1E1E64;
主控力度:IF(MACD1>=0,MACD1,DRAWNULL),NODRAW ,COLOR666666;
价值引力:IF(MACD1<0,MACD1,DRAWNULL),NODRAW ,COLOR666666;
DRAWTEXT_FIX(1,0.00,0.00,0,'【红】多方拱桥'),COLORRED;
DRAWTEXT_FIX(1,0.10,0.00,0,'【白】空方拱桥'),COLORWHITE;
DRAWTEXT_FIX(1,0.20,0.00,0,'【粉】跟庄多头'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.30,0.00,0,'【蓝】跟庄空头'),COLORBLUE;
DRAWTEXT_FIX(1,0.40,0.00,0,'【紫】抛压筹码'),COLOR1E1E64;
DRAWTEXT_FIX(1,0.50,0.00,0,'【灰】主控力度'),COLOR666666;
DRAWTEXT_FIX(1,0.60,0.00,0,'【-灰】价值引力'),COLOR666666;

 

标签:引力,0.00,DRAWTEXT,K1,MACD1,通达信,源码,REF,SMA
From: https://www.cnblogs.com/zhibiao/p/18062842

相关文章

  • 通达信建仓牛熊争霸副图源码
    {通达信建仓牛熊争霸副图源码}LC:=REF(CLOSE,1);rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;卖点:=crOSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;卖:IF(卖点,6.5,0),stICK,COLORGREEN,LINETHICK4;赚钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*......
  • 通达信特快列车主图 源码主图指标公式
    {通达信特快列车主图源码主图指标公式}A5:MA(C,5),COLOR00FFFF; A20:MA(C,20),COLORFF00FF;A30:MA(C,30),COLOR00FF00;M5:=ATAN((A5/REF(A5,1)-1)*100)*180/3.14159;M20:=ATAN((A20/REF(A20,1)-1)*100)*180/3.14159;M30:=ATAN((A30/REF(A30,1)-1)*100)*180/3.14159;Q......
  • 通达信主力进场副图指标公式信号简单清楚,毫不含糊
    {通达信主力进场副图指标公式信号简单清楚,毫不含糊}主力进场,信号简单清楚,毫不含糊,红柱表示准备拦住表示出手。源码{主力进场}VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);VAR5:=LLV(L......
  • 通达信金股分时分时副图判断机构买盘掌握精准介入时机
    {通达信金股分时分时副图判断机构买盘掌握精准介入时机} 成交额:=V*C/100,NODRAW;A2:=SUM((IF(((成交额/8>20)AND(CLOSE>(REF(CLOSE,1)))),成交额,0)),0); A3:=SUM((IF(((成交额/8>20)AND(CLOSE<(REF(CLOSE,1)))),成交额,0)),0); A4:=SUM((IF(((成交额/8......
  • spdlog 源码解析
    spdlog是开源、高性能、跨平台,支持header-only/compiled的C++日志库。本文主要目的是对spdlogv1.13.0的源码进行分析(编译运行环境为6.5.0-18-generic#18~22.04.1-Ubuntu),以探讨spdlog如何构建高性能、可扩展的日志框架的。github链接gabime/spdlog:FastC++loggingli......
  • 通达信牛熊趋势共振主图指标公式源码
    {通达信牛熊趋势共振主图指标公式源码}HH:=HHV(H,9);LL:=LLV(L,9);FG:=(HH-LL)/100;RSV:=(C-LL)/(HH-LL)*100;K1:=SMA(RSV,3,1);DA:=SMA(K1,3,1);J1:=3*K1-2*DA;K:K1*FG+LL,NODRAW;D:DA*FG+LL,NODRAW;J:=J1*FG+LL;DRAWBAND(K,RGB(250,0,0),D,RGB(0,180,0));ZIF:=EM......
  • 通达信六道轮回主图指标公式源码附图
    {通达信六道轮回主图指标公式源码附图}VAR1:=1;VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);VAR3:=EMA(CLOSE,3);VAR4:=(2*CLOSE+LOW+HIGH)/4*VAR1;VAR5:=VAR2-VAR3;风险线:EMA(VAR4,45)*1.15;必卖线:EMA(VAR4,55)*1.3;底线:EMA(VAR4,40)*0.85;铁底线:EMA(VAR4,88)*0.7,C......
  • 通达信K线解盘预测指标公式源码
    {通达信K线解盘预测指标公式源码}STICKLINE(CURRBARSCOUNT=118,100,0,200,0),COLORWHITE;{均线}MA1:=MA(C,5),NODRAW;均价:=(OPEN+HIGH+LOW+CLOSE*2)/5,NODRAW;突破:=均价+HIGH-LOW,NODRAW;阻力:=均价*2-LOW,NODRAW;支撑:=均价*2-HIGH,NODRAW;下降:=均价-HIGH+LOW,NODR......
  • 通达信波段低位主图指标公式源码
    {通达信波段低位主图指标公式源码}MA3:MA(C,3),COLORRED,LINETHICK3;MA5:MA(C,5),COLORWHITE;MA10:MA(C,10),COLORGREEN;MA20:MA(C,20),COLORYELLOW,LINETHICK3;NOTEXT1:IF(SAR.sar>=H,SAR.SAR,DRAWNULL),CIRCLEDOT,COLORGREEN;NOTEXT2:IF(SAR.SAR<=L,SAR.SAR,DRAWNULL)......
  • 通达信山谷淘金指标公式源码副图
    {通达信山谷淘金指标公式源码副图}DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,'',0),LINETHICK2;DRAWTEXT_FIX(1,0,0.1,0,'山谷淘金'),COLOR00FFFF;VAR1:=REF(LOW,1);VAR2:=SMA(Abs(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;VAR3:=EMA(IF(CLOSE*1.3,VAR2*......