首页 > 编程语言 >通达信趋势箱体主图公式源码

通达信趋势箱体主图公式源码

时间:2024-03-09 16:01:32浏览次数:36  
标签:箱底 STICKLINE 买进 主图 COLOR00FFFF 通达信 源码 MA15 REF

{ 通达信趋势箱体主图公式源码 }


上收:=C;
上开:=O;
上高:=H;
上低:=L;
上箱顶:MA(REF(HHV(上收,21),1),4),COLORFF00FF,LINETHICK2;
下箱底:MA(REF(LLV(上收,21),1),5),COLOR00FF00 ,LINETHICK2 ;
 趋势生命线:MA(CLOSE,55),LINETHICK0,COLORFF0000;
 FF:=EMA(CLOSE,2);
 MA15:=EMA(CLOSE,21);
 AA:=(CLOSE - MA15);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,3.5,5),LINETHICK2,COLORRED;
STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,3.5,5),LINETHICK2,COLOR00FF00;
STICKLINE(C< 下箱底 AND C<=O,C,O,3.5,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C>O,C,O,3.5,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C<=O,C,O,1.5,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C<=O,H,L,0,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C>O,C,H,0,0),COLOR00FFFF;
STICKLINE(C< 下箱底 AND C>O,O,L,0,0),COLORRED;
 短线精灵:=(上开+上高+上低)/3;
遍地黄金:=EMA(短线精灵,2);
黄金遍地:遍地黄金,COLOR808088,LINETHICK0;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.03;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件 AND  FF>下箱底 AND C>REF(下箱底,1),L,L*0.998,5,0),COLOR00FFFF,LINETHICK2;
STICKLINE(C>=买进价 AND C>=O,C,O,3.5,0),COLORRED;
STICKLINE(C>=买进价 AND C>=O,C,O,0.2,0),COLOR00FFFF;
STICKLINE(C>=买进价 AND C>=O,C,O,0.2,0),COLOR00FFFF;
STICKLINE(C>=买进价 AND C>=O,H,L,0,0),COLOR00FFFF;
STICKLINE(C>买进价 AND C<=O,H,L,0,0),COLOR00FF00;
 VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
 VAR2:=SMA(VAR1,3,1);
 VAR3:=SMA(VAR2,3,1);
 VAR4:=SMA(VAR3,3,1);
 DRAWTEXT(FILTER((CROSS(VAR3,VAR4) AND VAR3< 40),34),下箱底,'买进'),COLORF00FF0;
 DRAWTEXT(FILTER((CROSS(VAR4,VAR3) AND VAR4>75),34) ,上箱顶*1.02,'卖岀'),COLORF0F000;
 

 

标签:箱底,STICKLINE,买进,主图,COLOR00FFFF,通达信,源码,MA15,REF
From: https://www.cnblogs.com/zhibiao/p/18062839

相关文章

  • 通达信价值引力副图指标公式源码
    {通达信价值引力副图指标公式源码}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),COLOR1E1E6......
  • 通达信建仓牛熊争霸副图源码
    {通达信建仓牛熊争霸副图源码}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)......