分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]箱体主图,比较新颖 (通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-05-07 00:15:52
软件简介:

 箱体主图,这个公式的表达比较新颖,大家可以参考一下。

HH:=HHV(H,30);
 LL:=LLV(L,30);
上涨:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(L==LL)+1)),NODRAW,COLOR0000FF;
下跌:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H==HH)+1)),NODRAW,COLOR00FF00;
 ↑空间%:=(C/REF(L,上涨)-1)*100,NODRAW,COLOR00FFFF;
最高%:=(HH/REF(L,上涨)-1)*100,NODRAW,COLORFF00FF;
 ↓空间%:=(C/REF(H,下跌)-1)*100,NODRAW,COLOR888899;
最低%:=(LL/REF(H,下跌)-1)*100,NODRAW,COLORFF0000;
判断:=下跌 OR 上涨 OR 上涨==0 OR 下跌==0;
天线:=IFF(判断,REFDATE(REF(H,下跌),DATE),DRAWNULL),POINTDOT,LINETHICK3,COLOR00FF00;
地线:=IFF(判断,REFDATE(REF(L,上涨),DATE),DRAWNULL),POINTDOT,LINETHICK3,COLOR0000FF;
中线:=IFF(判断,REFDATE((天线-地线)*0.5+地线,DATE),DRAWNULL),POINTDOT,LINETHICK3,COLORWHITE;
低吸:=IFF(判断,REFDATE((天线-地线)*0.191+地线,DATE),DRAWNULL),POINTDOT,LINETHICK3,COLOR0066FF;
关注:=IFF(判断,REFDATE((天线-地线)*0.382+地线,DATE),DRAWNULL),POINTDOT,LINETHICK3,COLOR00CCFF;
警示:=IFF(判断,REFDATE((天线-地线)*0.618+地线,DATE),DRAWNULL),POINTDOT,LINETHICK3,COLORCCFF00;
风险:=IFF(判断,REFDATE((天线-地线)*0.809+地线,DATE),DRAWNULL),POINTDOT,LINETHICK3,COLOR66FF00;
 STICKLINE(1,地线,地线+(中线-地线)*(20/20),12,0),COLOR000000;
 STICKLINE(1,地线,地线+(中线-地线)*(19/20),12,0),COLOR000008;
 STICKLINE(1,地线,地线+(中线-地线)*(18/20),12,0),COLOR000010;
 STICKLINE(1,地线,地线+(中线-地线)*(17/20),12,0),COLOR000018;
 STICKLINE(1,地线,地线+(中线-地线)*(16/20),12,0),COLOR000020;
 STICKLINE(1,地线,地线+(中线-地线)*(15/20),12,0),COLOR000028;
 STICKLINE(1,地线,地线+(中线-地线)*(14/20),12,0),COLOR000030;
 STICKLINE(1,地线,地线+(中线-地线)*(13/20),12,0),COLOR000038;
 STICKLINE(1,地线,地线+(中线-地线)*(12/20),12,0),COLOR000040;
 STICKLINE(1,地线,地线+(中线-地线)*(11/20),12,0),COLOR000048;
 STICKLINE(1,地线,地线+(中线-地线)*(10/20),12,0),COLOR000050;
 STICKLINE(1,地线,地线+(中线-地线)*(9/20),12,0),COLOR000058;
 STICKLINE(1,地线,地线+(中线-地线)*(8/20),12,0),COLOR000060;
 STICKLINE(1,地线,地线+(中线-地线)*(7/20),12,0),COLOR000068;
 STICKLINE(1,地线,地线+(中线-地线)*(6/20),12,0),COLOR000070;
 STICKLINE(1,地线,地线+(中线-地线)*(5/20),12,0),COLOR000078;
 STICKLINE(1,地线,地线+(中线-地线)*(4/20),12,0),COLOR000080;
 STICKLINE(1,地线,地线+(中线-地线)*(3/20),12,0),COLOR000088;
 STICKLINE(1,地线,地线+(中线-地线)*(2/20),12,0),COLOR000090;
 STICKLINE(1,地线,地线+(中线-地线)*(1/20),12,0),COLOR000098;
 STICKLINE(1,天线,天线-(天线-中线)*(20/20),12,0),COLOR000000;
 STICKLINE(1,天线,天线-(天线-中线)*(19/20),12,0),COLOR080800;
 STICKLINE(1,天线,天线-(天线-中线)*(18/20),12,0),COLOR101000;
 STICKLINE(1,天线,天线-(天线-中线)*(17/20),12,0),COLOR181800;
 STICKLINE(1,天线,天线-(天线-中线)*(16/20),12,0),COLOR202000;
 STICKLINE(1,天线,天线-(天线-中线)*(15/20),12,0),COLOR282800;
 STICKLINE(1,天线,天线-(天线-中线)*(14/20),12,0),COLOR303000;
 STICKLINE(1,天线,天线-(天线-中线)*(13/20),12,0),COLOR383800;
 STICKLINE(1,天线,天线-(天线-中线)*(12/20),12,0),COLOR404000;
 STICKLINE(1,天线,天线-(天线-中线)*(11/20),12,0),COLOR484800;
 STICKLINE(1,天线,天线-(天线-中线)*(10/20),12,0),COLOR505000;
 STICKLINE(1,天线,天线-(天线-中线)*(9/20),12,0),COLOR585800;
 STICKLINE(1,天线,天线-(天线-中线)*(8/20),12,0),COLOR606000;
 STICKLINE(1,天线,天线-(天线-中线)*(7/20),12,0),COLOR686800;
 STICKLINE(1,天线,天线-(天线-中线)*(6/20),12,0),COLOR707000;
 STICKLINE(1,天线,天线-(天线-中线)*(5/20),12,0),COLOR787800;
 STICKLINE(1,天线,天线-(天线-中线)*(4/20),12,0),COLOR808000;
 STICKLINE(1,天线,天线-(天线-中线)*(3/20),12,0),COLOR888800;
 STICKLINE(1,天线,天线-(天线-中线)*(2/20),12,0),COLOR909000;
 STICKLINE(1,天线,天线-(天线-中线)*(1/20),12,0),COLOR989800;
 STICKLINE(判断,天线,天线*1.003,20,0),COLOR00C6FF;
 STICKLINE(判断,地线,地线*0.997,20,0),COLOR00C6FF;
外框定位:=FILTER(BACKSET(ISLASTBAR,30),30);
 STICKLINE(外框定位,天线,地线,2,0),COLOR00C6FF;
 STICKLINE(BACKSET(外框定位,8),风险*1.001,风险*0.999,12,0),COLOR00C6FF;
 STICKLINE(BACKSET(外框定位,8),低吸*1.001,低吸*0.999,12,0),COLOR00C6FF;
 STICKLINE(BACKSET(外框定位,8),关注*1.001,关注*0.999,12,0),COLOR00C6FF;
 STICKLINE(BACKSET(外框定位,8),警示*1.001,警示*0.999,12,0),COLOR00C6FF;
 STICKLINE(BACKSET(外框定位,1),中线*1.001,中线*0.999,12,0),COLOR00C6FF;
 STICKLINE(EXIST(外框定位,20),风险*1.001,风险*0.999,12,0),COLOR00C6FF;
 STICKLINE(EXIST(外框定位,20),低吸*1.001,低吸*0.999,12,0),COLOR00C6FF;
 STICKLINE(EXIST(外框定位,10),关注*1.001,关注*0.999,12,0),COLOR00C6FF;
 STICKLINE(EXIST(外框定位,10),警示*1.001,警示*0.999,12,0),COLOR00C6FF;
 STICKLINE(EXIST(外框定位,5),中线*1.001,中线*0.999,12,0),COLOR00C6FF;
 STICKLINE(判断 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
 STICKLINE(判断 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
 STICKLINE(判断 AND CLOSE>OPEN,CLOSE,OPEN,2,1),COLORRED;
 STICKLINE(判断 AND CLOSE==OPEN,HIGH,LOW,0,0),COLORWHITE;
 STICKLINE(判断 AND CLOSE==OPEN,CLOSE,OPEN,2,0),COLORWHITE;
 STICKLINE(判断 AND CLOSE<OPEN,HIGH,LOW,0,0),COLORGREEN;
 STICKLINE(判断 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORGREEN;
操盘线:=EMA(EMA(EMA(CLOSE,2),2),2);
趋势线:(MA(操盘线,3)),COLORCYAN,LINETHICK3;
 IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK3;
 IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORBLACK;
 
 
 
 MID_DX:=(3*C+L+H)/5;
乾坤线:WMA(MID_DX,20),COLOR00C6FF;
 STICKLINE(上涨==0,天线,天线-0.90*(天线-H),0,0),COLORRED;
 STICKLINE(下跌==0,地线,地线+0.90*(L-地线),0,0),COLORGREEN;
 STICKLINE(上涨==0,H,L,0,0),COLORRED;
 STICKLINE(上涨==0,C,O,3,0),COLORRED;
 STICKLINE(下跌==0,H,L,0,0),COLORCYAN;
 STICKLINE(下跌==0,C,O,3,0),COLORCYAN;
 TRAND:=IFF(REF(乾坤线,1)>REF(乾坤线,2),1,0);
 TRAND1:=REF(CLOSE,1)>=REF(地线,1) AND REF(CLOSE,1)<REF(低吸,1),NODRAW;
 TRAND2:=REF(CLOSE,1)>=REF(低吸,1) AND REF(CLOSE,1)<REF(关注,1),NODRAW;
 TRAND3:=REF(CLOSE,1)>=REF(关注,1) AND REF(CLOSE,1)<REF(中线,1),NODRAW;
 TRAND4:=REF(CLOSE,1)>=REF(中线,1) AND REF(CLOSE,1)<REF(警示,1),NODRAW;
 TRAND5:=REF(CLOSE,1)>=REF(警示,1) AND REF(CLOSE,1)<REF(风险,1),NODRAW;
 TRAND6:=REF(CLOSE,1)>=REF(风险,1) AND REF(CLOSE,1)<REF(天线,1),NODRAW;
 TEMP:=IFF(TRAND4 AND TRAND==0,中线,IFF(TRAND4 AND TRAND==1,警示,IFF(TRAND5 AND TRAND==0,警示,IFF(TRAND5 AND TRAND==1,风险,IFF(TRAND6 AND TRAND==0,风险,IFF(TRAND6 AND TRAND==1,天线,DRAWNULL))))));
今日目标:=IFF(TRAND1 AND TRAND==0,地线,IFF(TRAND1 AND TRAND==1,低吸,IFF(TRAND2 AND TRAND==0,低吸,IFF(TRAND2 AND TRAND==1,关注,IFF(TRAND3 AND TRAND==0,关注,IFF(TRAND3 AND TRAND==1,中线,TEMP)))))),N
[url=http://www.70822.com/soft/sort013/sort05/down-155736.html]箱体主图,比较新颖 (通达信公式 主图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒