首页
学习
活动
专区
圈层
工具
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

显示当月(周、日)高低点支撑阻力位的指标源码

量化团队将不定期的公布一些经典技术指标改版或者源码公式

今日为用户公开的技术指标源码:

显示当月(周、日)以及前n月(周、日)高低点支撑阻力位的指标(源码)

显示当前这一个月(周、日)的最高及最低点的支撑阻力位

指标可以在主图上显示当前这一个月(周、日)的最高及最低点的支撑阻力位。

也可以显示前n个月(周、日)的最高及最低点的支撑阻力位(具体显示多少个月(周、日),请自行设置)。

可以隐藏开关需要的周期高低点显示

源码获取方式

请加入我们的知识星球获取

部分源码展示

#property indicator_chart_window

extern int  CountDays=10;

extern bool Show_CurrDaily = true;extern int Shift_CurrDaily_LABEL = 0;extern bool Show_CurrWeekly = true;extern int Shift_CurrWeekly_LABEL = 0;extern bool Show_CurrMonthly = true;extern int Shift_CurrMonthly_LABEL = 0;extern color line_color_CurrDailyUPPER = Lime;extern color line_color_CurrDailyLOWER = Magenta;extern color line_color_CurrWeeklyUPPER = YellowGreen;extern color line_color_CurrWeeklyLOWER = Pink;extern color line_color_CurrMonthlyUPPER = Green;extern color line_color_CurrMonthyLOWER = Red;extern int CurrDaily_LineStyle = 2;extern int CurrWeekly_LineStyle = 3;extern int CurrMonthly_LineStyle = 4;

extern bool Show_PreviousDaily = true;extern bool Xtend_Prev_DailyLine = false;extern bool Show_PreviousWeekly = true;extern bool Xtend_Prev_WeeklyLine = false;extern bool Show_PreviousMonthly = true;extern bool Xtend_Prev_MonthlyLine = false;extern color line_color_PreviousDaily = Aqua;extern color line_color_PreviousWeekly = Yellow;extern color line_color_PreviousMonthly = Orange;extern int PreviousLine_Style = 2;extern int Shift_Prev_LABEL = 10;

extern bool Show_CurrRectangles_Display = false;extern bool Show_Rectangles = true;extern bool Rectangle_Curr_DayPeriod_only = false;extern bool Show_Daily_Rectangle = true;extern color Daily_Rectangle_color = Navy;extern bool Show_Weekly_Rectangle = true;extern color Weekly_Rectangle_color = Blue;extern bool Show_Monthly_Rectangle = true;extern color Monthly_Rectangle_color = Maroon;

extern bool Show_Daily_Pivots = false;extern color Daily_Pivot_color = Aqua;extern int Daily_Pivot_LineWidth = 1; extern bool Show_Weekly_Pivots = false;extern color Weekly_Pivot_color = Yellow;extern int Weekly_Pivot_LineWidth = 1;extern bool Show_Monthly_Pivots = false;extern color Monthly_Pivot_color = Orange;extern int Monthly_Pivot_LineWidth = 1;

#define Curr_DG "Curr_DG"

#define Curr_WG "Curr_WG"

#define Curr_MG "Curr_MG"

  • 发表于:
  • 原文链接https://page.om.qq.com/page/OTp2TkOYf-rq2C_zCSZZLveQ0
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券