当前位置: 首页 > news >正文

建站之星模块网站搭建

建站之星模块,网站搭建,艺术网站制作,软件开发合同模板下载指标名称:成交量分布指标 版本:MT4 ver. 1.32 之前发布的市场分布图不少朋友反馈不错,希望获得其它版本。 这个版本只有MT4的,MT5可以看之前版本,链接: “市场分布图”,精准把握价格动向 更直…

指标名称:成交量分布指标

版本:MT4 ver. 1.32

之前发布的市场分布图不少朋友反馈不错,希望获得其它版本。

这个版本只有MT4的,MT5可以看之前版本,链接

  • “市场分布图”,精准把握价格动向 +更直观了解市场  MT4/5免费公式!

市场分布图,也叫成交量分布指标,也有人叫它:订单流指标,但其实这个和订单流还是有区别的,尽管很像。但用法类似,都可以研究研究。

下面,我们来看看市场分布图第二版本,和之前发布的市场分布图类似,但是表现形式不一样,并且这个版本有两个版本,其中一个带箭头提示。

带箭头提示的版本如下:

图片

这两个版本,我都放在一起,大家慢慢学习研究。

参数:

图片

图片

部分代码展示:

//+------------------------------------------------------------------+
//|                                                    市场分布图第二版.mq4 |
//|                                Copyright © 2009-2024, www.QChaos.com |
//|                                          https://www.qchaos.com/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 量化混沌, www.qchaos.com"
#property link      "https://www.qchaos.com"
#property version   "1.32"#property description "---------------------------------------------"
#property description "EA、指标公式分享"
#property description "EA、指标编写业务承接"
#property description "---------------------------------------------"#property description "---------------------------------------------"#property indicator_chart_window#define PRICEIDX        0
#define TPOIDX          1
#define VOLIDX          2//---extern vars
extern int        LookBack                = 6;
extern bool       UseVolumeProfile        = true;
extern string     ProfileTimeframeInfo    = "use D, W, or M";
extern string     ProfileTimeframe        = "D";
extern int        DayStartHour            = 0;
extern double     VATPOPercent            = 70.0;
extern int        TickSize                = 1;
extern int        ExtendedPocLines        = 5;extern string     spr0                    = "on/off settings..";
extern bool       ShowPriceHistogram      = true;
extern bool       ShowValueArea           = true;
extern bool       ShowVAHVALLines         = true;
extern bool       ShowOpenCloseArrow      = true;extern string     spr1                    = "design & colors..";
extern double     VolAmplitudePercent     = 40.0;
extern int        HistoHeight             = 2;
extern color      HistoColor1             = C'55,100,135';
extern color      HistoColor2             = C'45,90,125';
extern color      OpenColor               = DarkGreen;
extern color      CloseColor              = Peru;
extern color      POCColor                = Peru;
extern color      VirginPOCColor          = Yellow;
extern color      VAColor                 = C'16,16,16';
extern color      VALinesColor            = C'64,64,64';
extern color      InfoColor               = Lime;extern string     spr2                    = "Profile Data.............";
extern int        DailyProfileDataTf      = 30;
extern int        WeeklyProfileDataTf     = 60;
extern int        MonthlyProfileDataTf    = 240;//---global vars
string            gsPref                  = "qc.mp.";
double            fpoint, gdOneTick, gdHistoRange;
int               fdigits, giStep, giProfileTf             = PERIOD_D1, giDataTf                = 0;//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
{       giDataTf = Period(); //defaultif (Point == 0.001 || Point == 0.00001) { fpoint = Point*10; fdigits = Digits - 1; }else { fpoint = Point; fdigits = Digits; }     if (ProfileTimeframe == "M" )   {gsPref      = gsPref + "2_0_" + ProfileTimeframe + "_"; giProfileTf = PERIOD_MN1;     HistoHeight = MathMax(HistoHeight, 8);giDataTf    = MonthlyProfileDataTf;}   else if (ProfileTimeframe == "W" ){gsPref      = gsPref + "3_0_" + ProfileTimeframe + "_"; giProfileTf = PERIOD_W1;     HistoHeight = MathMax(HistoHeight, 3);giDataTf    = WeeklyProfileDataTf;}else //default D1{gsPref      = gsPref + "4_0_" + ProfileTimeframe + "_"; giProfileTf = PERIOD_D1;HistoHeight = MathMax(HistoHeight, 1);giDataTf    = DailyProfileDataTf;}//----HistoHeight    = MathMax(HistoHeight, TickSize);gdOneTick      = TickSize/(MathPow(10,fdigits));gdHistoRange   = HistoHeight/(MathPow(10,fdigits)); giStep         = HistoHeight;return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
{delObjs();return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
{if ( !isOK() ) return(0);LookBack = MathMin( LookBack, iBarShift(NULL, giProfileTf, Time[Bars-1]) - 1 );LookBack = MathMin( LookBack, iBarShift(NULL, giProfileTf, iTime(NULL, giDataTf, iBars(NULL, giDataTf) - 1)) );int ibarproftf = 0, endbarproftf = 0;   //---create all profile on startup/new tfsrc bar//---and then only update the last tfsrc profileif ( newBarProfileTf() ) { delObjs(); endbarproftf = LookBack-1; } double     apricestep[][3]             // [ 3-->{price, count tpo, count vol} ], hh, ll                       // profile, maxvol, vah                          // Value Area High, val                          // Value Area Low, totaltpo                     // Total TPO, totalvol;                    // Total Voldatetime   dtproftf;int        startbar                     // startbar on giDataTf, endbar                       // endbar on giDataTf, countps, vahidx, validx  , maxtpo, maxtpoidx, maxvolidx;   //---main loop --> day by day, week by week, month by month...         for (ibarproftf = endbarproftf; ibarproftf >= 0; ibarproftf--)      {ArrayResize(apricestep, 0);getStartAndEndBar(ibarproftf, startbar, endbar);          if (startbar == -1) continue;getHHLL(startbar, endbar, hh, ll);getPriceTPO ( startbar, endbar, hh, ll, apricestep, countps, maxtpo, maxtpoidx, totaltpo, maxvol, maxvolidx, totalvol );                         //continue;    drawPriceHistoAndPOCLines ( startbar, endbar, ibarproftf, countps, apricestep, maxtpo, maxtpoidx, maxvol, maxvolidx );//continue;getValueArea ( countps, apricestep, maxtpo, maxtpoidx, totaltpo, maxvol, maxvolidx, totalvol, vah, vahidx, val, validx );      //continue;drawValueArea ( startbar, endbar, ibarproftf, countps, apricestep, vah, vahidx, val, validx );}//end for (ibartf = endbartf; ibartf >= 0; ibartf--)    //update time ExtendedPocLines   if (newBar()) {for (int i=1; i<=ExtendedPocLines; i++){ObjectSet(gsPref + "#" + i +".1.1.poc",       OBJPROP_TIME2, Time[0] + 10*Period()*60 );     ObjectSet(gsPref + "#" + i +".1.0.poc.price", OBJPROP_TIME1, Time[0] + 13*Period()*60 );}   }

http://www.hkea.cn/news/399967/

相关文章:

  • 创业初期要建立公司的网站吗seo排名优化代理
  • 做网站全屏尺寸是多少钱站长工具查询系统
  • 做企业平台的网站有哪些手机网站制作教程
  • 免费行情的软件大全下载北京公司排名seo
  • 网站联系方式要素qq群推广链接
  • div css 网站模板免费的云服务器有哪些
  • 35互联做网站好吗网店运营工作内容
  • 网站建设模拟软件营销培训课程内容
  • 深圳建网站兴田德润专业2023年最新新闻简短摘抄
  • 学校网站怎么查询录取百度相册登录入口
  • 自助建设彩票网站网址查询工具
  • 怎么创建网页的快捷方式seo入门版
  • 互联网企业网站网络优化
  • 山东手工活外发加工网四川二级站seo整站优化排名
  • 行业门户网站开发百度竞价怎么做效果好
  • 适合前端做项目的网站百度网盘搜索
  • 下载网站怎么下载广州网站定制多少钱
  • 西安攻略旅游自由行怎么玩北京seo软件
  • 汉川网站建设sem代运营
  • 装酷网装修平台东莞seo外包
  • 专门做图片的网站吗如何建网站要什么条件
  • 卢氏县住房和城乡建设局网站站长统计 站长统计
  • 济南 网站制作旺道营销软件
  • 新上线网站如何做搜索引擎站长素材网站
  • 做网站编辑深圳疫情防控最新消息
  • PHP网站开发项目式教程google下载手机版
  • 国外专门用于做网站图片的做网站要多少钱
  • 网站维护费用计入什么科目媒介星软文平台官网
  • 网站建设seo 视频做网站哪个平台好
  • 旅行社网站建设方案论文百度seo公司