客服热线:18391752892

请牛版高手们帮我把时间也显示出来!

   日期:2019-01-12     浏览:602    
马上注册,结交更多好友,下载更多资源

您需要 登录 才可以下载或查看,没有帐号?注册 现在只有高低点价格,希望能帮我把当时的时间也显示在一起。谢谢了!!
 
 #property indicator_chart_window
 #property indicator_buffers 8
 #property indicator_color1 Blue
 #property indicator_color2 Red
 #property indicator_color3 White
 #property indicator_color4 Yellow
 #property indicator_color5 Blue
 #property indicator_color6 Red
 #property indicator_color7 Black
 #property indicator_color8 Black
 extern int bars_start = 0;
 extern int bars_end = 1000;
 extern int band = 60;
 double g_ibuf_88[];
 double g_ibuf_92[];
 double g_ibuf_96[];
 double g_ibuf_100[];
 double g_ibuf_104[];
 double g_ibuf_108[];
 int init() {
   string ls_unused_0;
   SetIndexBuffer(0, g_ibuf_88);
   SetIndexStyle(0, DRAW_LINE);
   SetIndexBuffer(1, g_ibuf_92);
   SetIndexStyle(1, DRAW_LINE);
   SetIndexBuffer(2, g_ibuf_96);
   SetIndexStyle(2, DRAW_LINE);
   SetIndexBuffer(3, g_ibuf_100);
   SetIndexStyle(3, DRAW_LINE);
   SetIndexBuffer(4, g_ibuf_104);
   SetIndexStyle(4, DRAW_LINE);
   SetIndexBuffer(5, g_ibuf_108);
   SetIndexStyle(5, DRAW_LINE);
   SetLevelValue(0, 100);
   SetLevelValue(1, -100);
   return (0);
 }
 int start() {
   int l_lowest_28 = iLowest(NULL, 0, MODE_LOW, bars_end - bars_start, bars_start);
   int l_highest_24 = iHighest(NULL, 0, MODE_HIGH, bars_end - bars_start, bars_start);
   int li_unused_0 = Time[l_highest_24];
   int li_unused_4 = Time[l_lowest_28];
   double ld_8 = High[l_highest_24];
   double ld_16 = Low[l_lowest_28];
   ObjectCreate( 低点价位 , OBJ_TEXT, 0, Time[0], 3);
   ObjectSetText( 低点价位 , 低点: + DoubleToStr(ld_16, 4), 12, Times New Roman , Fuchsia);
   ObjectMove( 低点价位 , 0, Time[0], WindowPriceMax() - (band + 20) * Point);
   ObjectCreate( 高点价位 , OBJ_TEXT, 0, Time[0], 3);
   ObjectSetText( 高点价位 , 高点: + DoubleToStr(ld_8, 4), 12, Times New Roman , Fuchsia);
   ObjectMove( 高点价位 , 0, Time[0], WindowPriceMax() - 20.0 * Point);
   return (0);
 }
外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!


特别提示:本信息由相关企业自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。


0相关评论
相关行情
推荐行情
点击排行