蓝海1 发表于 2014-8-21 10:46:04

求高手把这个阻力指标数字显示方式改下,挡住K线看不了

/*
   Generated by EX4-TO-MQ4 decompiler FREEWARE V4.0.451.1 [-]
   Website: http://www.metaquotes.net
   E-mail : support@metaquotes.net
*/

#property indicator_chart_window
#property indicator_buffers 3
#property indicator_color1 Black
#property indicator_color2 Black
#property indicator_color3 Black

int gia_76 = {12390576, 13, 16, 94, 76, 1, 1682524};
int gia_80 = {51, 64, 19, 76, 22, 44, 6, 97, 53, 16, 17, 18, 23, 20};
int gi_unused_84 = -1;
int gi_unused_88 = -1;
int gi_unused_92 = 0;
int gi_unused_96 = 0;
int gi_unused_100 = 0;
int gi_unused_104 = 0;
int gia_unused_108;
int gia_unused_112;
int gia_unused_116;
int gia_unused_120;
string gs_unused_124 = "2010.12.30";
string gs_unused_132 = "0987654321123456789009876543211234567890";
extern bool Corner_Right_Top = FALSE;
extern bool 详细资料_Enabled = FALSE;
extern bool K线时间_Enabled = FALSE;
extern bool 黄金分割_Enabled = TRUE;
extern bool 货币强弱_Enabled = FALSE;
extern bool 昨天价值_Enabled = FALSE;
extern bool 混沌理论_Enabled = FALSE;
extern bool 道氏理论_Enabled = FALSE;
extern int gm_144 = 0;
extern int MAType7_12 = 0;
extern int ct_12 = 0;
extern int cn_12 = 1;
int g_period_188 = 50;
extern int MAType5 = 1;
extern int MAType = 1;
extern int MAPeriod5 = 15;
bool gi_204 = FALSE;
bool gi_208 = FALSE;
extern int Corner_lower_right = 3;
extern int 移动上下 = 10;
extern int 移动左右 = 15;
extern int iFrame = 1440;
extern int 昨天价值_Shift = 100;
extern color CommentLabel_color = SkyBlue;
extern color K线时间_color = Yellow;
extern color cPivot = Yellow;
extern color cRS1 = Green;
extern color cRS2 = Green;
extern color cRS3 = Red;
int g_datetime_256;
bool gi_260 = FALSE;
string gsa_264[] = {"GBPJPY"};
string gsa_268[] = {"EURUSD", "GBPUSD", "AUDUSD", "USDJPY", "USDCHF", "USDCAD", "EURJPY", "EURGBP", "EURCHF", "EURAUD", "GBPJPY", "GBPCHF", "NZDJPY", "NZDUSD"};
string gsa_272[] = {"USD", "EUR", "GBP", "CHF", "CAD", "AUD", "JPY", "NZD"};
int gia_276[] = {115, 100, 85, 70, 55, 40, 25, 10};
string gsa_280 = {"BUY ", "SELL "};
int gia_284 = {0, 3, 10, 25, 40, 50, 60, 75, 90, 97};
int gi_288;
int gi_292;
double gda_296[];
double gda_300[];
double gda_304[];
double gda_308[];
double gda_312[];
double gda_316[];
double gda_320[];
double gda_324[];
double gda_328[];
double g_ibuf_332[];
double g_ibuf_336[];
double g_ibuf_340[];
int gia_344[];
int g_ma_method_348;
string gs_352;
double g_ibuf_360[];
extern int AllBars = 240;
extern int BarsForFract = 0;
int gi_372 = 0;
double gd_376 = 0.0;
int gi_384 = -1;
int gi_388 = -1;
int gi_392 = 0;
double gd_396 = 0.0;
double gd_404 = 0.0;
double gd_412 = 0.0;
int gi_420 = 0;
int gi_424 = 300;
int gi_428 = 0;
int gi_432 = 0;
double gd_436 = 0.0;
int gi_unused_444;
int gi_unused_448;
extern int NumberOfDays = 50;
extern string Begin_1 = "08:00";
extern string End_1 = "15:00";
extern color Color_1 = Black;
extern string Begin_2 = "15:00";
extern string End_2 = "20:00";
extern color Color_2 = Black;
extern bool HighRange = FALSE;
string gs_unused_500 = "02:00";
string gs_unused_508 = "17:00";
int gi_unused_516 = 15631086;
string gs_unused_520 = "15:00";
int gi_unused_528 = 14381203;
string gs_unused_532 = "10:00";
int gi_unused_540 = 16748574;
string gs_unused_544 = "08:00";
int gi_unused_552 = 3937500;
bool gi_unused_556 = TRUE;

// E37F0136AA3FFAF149B351F6A4C948E9
int init() {
   IndicatorBuffers(3);
   SetIndexBuffer(0, g_ibuf_332);
   SetIndexBuffer(1, g_ibuf_336);
   SetIndexBuffer(2, g_ibuf_340);
   ArraySetAsSeries(g_ibuf_340, TRUE);
   SetIndexStyle(0, DRAW_NONE, STYLE_SOLID);
   SetIndexArrow(0, 233);
   SetIndexStyle(1, DRAW_NONE, STYLE_SOLID);
   SetIndexArrow(1, 234);
   f0_13();
   for (int count_0 = 0; count_0 < NumberOfDays; count_0++) {
      f0_9("PWT1" + count_0, Color_1);
      f0_9("PWT2" + count_0, Color_2);
   }
   Comment("");
   SetIndexStyle(0, DRAW_NONE);
   SetIndexArrow(0, 164);
   SetIndexBuffer(0, g_ibuf_360);
   SetIndexEmptyValue(0, 0.0);
   gi_288 = ArrayRange(gsa_268, 0);
   gi_292 = ArrayRange(gsa_272, 0);
   int li_4 = ArrayRange(gia_276, 0);
   if (gi_292 != li_4) Print("The size of array aMajor is not equals to aMajorPos");
   ArrayResize(gda_296, gi_292);
   ArrayResize(gda_300, gi_288);
   ArrayResize(gda_304, gi_288);
   ArrayResize(gda_308, gi_288);
   ArrayResize(gda_312, gi_288);
   ArrayResize(gda_316, gi_288);
   ArrayResize(gda_320, gi_288);
   ArrayResize(gda_324, gi_288);
   ArrayResize(gda_328, gi_288);
   f0_8();
   f0_11();
   if (gi_260) {
      while (true) {
         if (IsConnected()) f0_15();
         if (!IsConnected()) f0_2();
         WindowRedraw();
         Sleep(1000);
      }
   }
   IndicatorBuffers(3);
   SetIndexBuffer(2, g_ibuf_332);
   SetIndexBuffer(1, g_ibuf_336);
   SetIndexBuffer(0, g_ibuf_340);
   SetIndexStyle(2, DRAW_NONE, 12, 10);
   SetIndexStyle(1, DRAW_NONE, 12, 10);
   SetIndexStyle(0, DRAW_NONE, 12, 10);
   switch (MAType) {
   case 1:
      gs_352 = "EMA";
      g_ma_method_348 = 1;
      break;
   case 2:
      gs_352 = "SMMA";
      g_ma_method_348 = 2;
      break;
   case 3:
      gs_352 = "LWMA";
      g_ma_method_348 = 3;
      break;
   case 4:
      gs_352 = "LSMA";
      break;
   default:
      gs_352 = "SMA";
      g_ma_method_348 = 0;
   }
   IndicatorShortName(gs_352 + " (" + g_period_188 + ") ");
   return (0);
}

// 4B8C3DE28A86BF6C14EF6A39D5392FE7
double f0_3(int ai_0, int ai_4) {
   double ld_8;
   double ld_16;
   int li_24 = ai_0;
   double ld_28 = 0;
   for (int li_36 = li_24; li_36 >= 1; li_36--) {
      ld_8 = li_24 + 1;
      ld_8 /= 3.0;
      ld_16 = 0;
      ld_16 = (li_36 - ld_8) * (Close);
      ld_28 += ld_16;
   }
   double ld_ret_40 = 6.0 * ld_28 / (li_24 * (li_24 + 1));
   return (ld_ret_40);
}

// 52D46093050F38C27267BCE42543EF60
int deinit() {
   f0_13();
   Comment("");
   ObjectDelete("P LINE");
   ObjectDelete("R1 LINE");
   ObjectDelete("R2 LINE");
   ObjectDelete("R3 LINE");
   ObjectDelete("S1 LINE");
   ObjectDelete("S2 LINE");
   ObjectDelete("S3 LINE");
   ObjectDelete("PIVOTTEXT");
   ObjectDelete("R1TEXT");
   ObjectDelete("R1TEXT");
   ObjectDelete("R3TEXT");
   ObjectDelete("S1TEXT");
   ObjectDelete("S2TEXT");
   ObjectDelete("S3TEXT");
   ObjectsDeleteAll(0, OBJ_LABEL);
   ObjectsDeleteAll(0, OBJ_TEXT);
   ObjectDelete("S0");
   ObjectDelete("S1");
   ObjectDelete("S2");
   ObjectDelete("S3");
   ObjectDelete("S4");
   ObjectDelete("S0");
   ObjectDelete("R1");
   ObjectDelete("R2");
   ObjectDelete("R3");
   ObjectDelete("S4");
   ObjectDelete("PIVIOT");
   ObjectDelete("Support 0");
   ObjectDelete("Support 1");
   ObjectDelete("Support 2");
   ObjectDelete("Support 3");
   ObjectDelete("Support 4");
   ObjectDelete("Resistance 0");
   ObjectDelete("Resistance 1");
   ObjectDelete("Resistance 2");
   ObjectDelete("Resistance 3");
   ObjectDelete("Resistance 4");
   Comment(" ");
   return (0);
}

// 8999422E13CFB690048C3B2961EC2F9D
void f0_7() {
   ObjectDelete("TL1");
   ObjectDelete("TL2");
   ObjectDelete("MIDL");
}

// 9F92396C933453E2D1202389D9EFB0E5
void f0_9(string a_name_0, color a_color_8) {
   ObjectCreate(a_name_0, OBJ_RECTANGLE, 0, 0, 0, 0, 0);
   ObjectSet(a_name_0, OBJPROP_STYLE, STYLE_SOLID);
   ObjectSet(a_name_0, OBJPROP_COLOR, a_color_8);
   ObjectSet(a_name_0, OBJPROP_BACK, TRUE);
}

// C221A17B360C36A473B962FBBDF51DA3
void f0_13() {
   for (int count_0 = 0; count_0 < NumberOfDays; count_0++) {
      ObjectDelete("PWT1" + count_0);
      ObjectDelete("PWT2" + count_0);
   }
}

// D954202506588335BC40071F1425E064
double f0_14(int ai_0, int a_period_4) {
   return (iMA(NULL, 0, a_period_4, 0, MAType5, PRICE_WEIGHTED, ai_0));
}

// EA2B2676C28C0DB26D39331A336C6B92
int start() {
   int datetime_0;
   double lda_4[];
   double lda_8[];
   int li_unused_12;
   int li_16;
   string ls_unused_20;
   color color_28;
   int li_unused_32;
   double lda_36;
   double ld_40;
   double ld_48;
   double ld_56;
   double ima_64;
   double ima_72;
   int ind_counted_80;
   if (MAType7_12 != 663) {
      datetime_0 = TimeCurrent();
      for (int count_84 = 0; count_84 < NumberOfDays; count_84++) {
         f0_6(datetime_0, "PWT1" + count_84, Begin_1, End_1);
         f0_6(datetime_0, "PWT2" + count_84, Begin_2, End_2);
         for (datetime_0 = f0_12(datetime_0); TimeDayOfWeek(datetime_0) > 5; datetime_0 = f0_12(datetime_0)) {
         }
      }
   }
   int ind_counted_88 = IndicatorCounted();
   if (ind_counted_88 < 0) return (-1);
   int li_92 = 0;
   int period_96 = MathSqrt(MAPeriod5);
   int li_100 = Bars - ind_counted_88 + MAPeriod5 + 1;
   if (li_100 > Bars) li_100 = Bars;
   ArrayResize(lda_4, li_100);
   ArraySetAsSeries(lda_4, TRUE);
   ArrayResize(lda_8, li_100);
   ArraySetAsSeries(lda_8, TRUE);
   for (li_92 = 0; li_92 < li_100; li_92++) lda_4 = 2.0 * f0_14(li_92, MAPeriod5 / 2) - f0_14(li_92, MAPeriod5);
   for (li_92 = 0; li_92 < li_100 - MAPeriod5; li_92++) g_ibuf_340 = iMAOnArray(lda_4, 0, period_96, 0, MAType5, li_92);
   for (li_92 = li_100 - MAPeriod5; li_92 >= 0; li_92--) {
      lda_8 = lda_8;
      if (g_ibuf_340 > g_ibuf_340) lda_8 = 1;
      if (g_ibuf_340 < g_ibuf_340) lda_8 = -1;
      if (lda_8 > 0.0) {
         g_ibuf_332 = g_ibuf_340;
         if (lda_8 < 0.0) g_ibuf_332 = g_ibuf_340;
         g_ibuf_336 = EMPTY_VALUE;
      } else {
         if (lda_8 < 0.0) {
            g_ibuf_336 = g_ibuf_340;
            if (lda_8 > 0.0) g_ibuf_336 = g_ibuf_340;
            g_ibuf_332 = EMPTY_VALUE;
         }
      }
   }
   int ind_counted_104 = IndicatorCounted();
   int timeframe_108 = 0;
   double ld_112 = 0;
   double ld_120 = 0;
   double ld_128 = 0;
   double ld_136 = 0;
   double ld_144 = 0;
   double price_152 = 0;
   double price_160 = 0;
   double price_168 = 0;
   double price_176 = 0;
   double price_184 = 0;
   double price_192 = 0;
   double iopen_200 = iOpen(NULL, PERIOD_D1, 0);
   double iclose_208 = iClose(NULL, PERIOD_D1, 0);
   double ld_216 = (Ask - Bid) / Point;
   double ihigh_224 = iHigh(NULL, PERIOD_D1, 0);
   double ilow_232 = iLow(NULL, PERIOD_D1, 0);
   if (!gi_260) f0_15();
   if (gi_204) {
      ld_112 = High;
      ld_120 = Low;
      ld_128 = Close;
      ld_136 = Open;
   } else {
      switch (iFrame) {
      case 1:
         timeframe_108 = 1;
         break;
      case 5:
         timeframe_108 = 5;
         break;
      case 15:
         timeframe_108 = 15;
         break;
      case 30:
         timeframe_108 = 30;
         break;
      case 60:
         timeframe_108 = 60;
         break;
      case 240:
         timeframe_108 = 240;
         break;
      case 1440:
         timeframe_108 = 1440;
         break;
      case 10080:
         timeframe_108 = 10080;
         break;
      case 43200:
         timeframe_108 = 43200;
         break;
      default:
         timeframe_108 = 1440;
      }
      ld_112 = iHigh(NULL, timeframe_108, 1);
      ld_120 = iLow(NULL, timeframe_108, 1);
      ld_128 = iClose(NULL, timeframe_108, 1);
      ld_136 = iOpen(NULL, timeframe_108, 0);
   }
   ld_144 = (ld_112 + ld_120 + ld_128) / 3.0;
   price_176 = 2.0 * ld_144 - ld_120;
   price_152 = 2.0 * ld_144 - ld_112;
   price_184 = ld_144 + (price_176 - price_152);
   price_160 = ld_144 - (price_176 - price_152);
   price_192 = ld_112 + 2.0 * (ld_144 - ld_120);
   price_168 = ld_120 - 2.0 * (ld_112 - ld_144);
   int li_244 = Time + 60 * Period() - TimeCurrent();
   double ld_248 = li_244 / 60.0;
   int li_256 = li_244 % 60;
   li_244 = (li_244 - li_244 % 60) / 60;
   ObjectDelete("time");
   if (K线时间_Enabled == TRUE) {
      if (ObjectFind("time") != 0) {
         ObjectCreate("time", OBJ_TEXT, 0, Time, Close + 0.0005);
         ObjectSetText("time", "               <--" + li_244 + ":" + li_256, 11, "Verdana", K线时间_color);
      } else ObjectMove("time", 0, Time, Close + 0.0005);
   }
   double ima_260 = iMA(Symbol(), 0, 1, 0, MODE_EMA, PRICE_CLOSE, 0);
   string dbl2str_268 = DoubleToStr(ima_260, Digits);
   if (StringFind(Symbol(), "JPY", 0) != -1) {
      li_unused_12 = 100;
      li_16 = 2;
   } else {
      li_unused_12 = 10000;
      li_16 = 4;
   }
   int li_276 = 0;
   int li_280 = 0;
   int li_284 = 0;
   int li_288 = 0;
   int li_unused_292 = 0;
   int li_296 = 0;
   bool li_300 = FALSE;
   int li_304 = 0;
   li_276 = (iHigh(NULL, PERIOD_D1, 1) - iLow(NULL, PERIOD_D1, 1)) / Point;
   for (li_304 = 1; li_304 <= 5; li_304++) li_280 = li_280 + (iHigh(NULL, PERIOD_D1, li_304) - iLow(NULL, PERIOD_D1, li_304)) / Point;
   for (li_304 = 1; li_304 <= 10; li_304++) li_284 = li_284 + (iHigh(NULL, PERIOD_D1, li_304) - iLow(NULL, PERIOD_D1, li_304)) / Point;
   for (li_304 = 1; li_304 <= 20; li_304++) li_288 = li_288 + (iHigh(NULL, PERIOD_D1, li_304) - iLow(NULL, PERIOD_D1, li_304)) / Point;
   li_280 /= 5;
   li_284 /= 10;
   li_288 /= 20;
   li_300 = li_276;
   li_296 = (li_276 + li_280 + li_284 + li_288) / 4;
   string ls_unused_308 = "";
   string ls_unused_316 = "";
   string dbl2str_324 = "";
   string dbl2str_332 = "";
   string dbl2str_340 = "";
   string dbl2str_348 = "";
   string dbl2str_356 = "";
   string ls_unused_364 = "";
   string ls_unused_372 = "";
   string ls_380 = "";
   dbl2str_332 = DoubleToStr((iclose_208 - iopen_200) / Point, 0);
   dbl2str_324 = DoubleToStr(ld_216, Digits - 4);
   dbl2str_348 = DoubleToStr(li_296, Digits - 4);
   dbl2str_340 = DoubleToStr(li_300, Digits - 4);
   ls_380 = (iHigh(NULL, PERIOD_D1, 1) - iLow(NULL, PERIOD_D1, 1)) / Point;
   dbl2str_356 = DoubleToStr((ihigh_224 - ilow_232) / Point, 0);
   if (iclose_208 >= iopen_200) {
      ls_unused_364 = "-";
      color_28 = Lime;
   }
   if (iclose_208 < iopen_200) {
      ls_unused_364 = "-";
      color_28 = Red;
   }
   if (dbl2str_348 > ls_380) {
      ls_unused_372 = "-";
      li_unused_32 = 65280;
   }
   if (dbl2str_348 < ls_380) {
      ls_unused_372 = "-";
      li_unused_32 = 17919;
   }
   g_datetime_256 = iTime(NULL, PERIOD_H4, 0) - 60 * Period();
   if (黄金分割_Enabled == TRUE) {
      ObjectCreate("R1 line", OBJ_TREND, 0, g_datetime_256, price_176, Time, price_176);
      ObjectSet("R1 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("R1 line", OBJPROP_WIDTH, 1);
      ObjectSet("R1 line", OBJPROP_COLOR, cRS1);
      ObjectCreate("R1 label", OBJ_TEXT, 0, g_datetime_256, price_176, Time, price_176);
      ObjectSetText("R1 label", "" + DoubleToStr(price_176, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("R1 label", OBJPROP_COLOR, cRS1);
      ObjectCreate("S1 line", OBJ_TREND, 0, g_datetime_256, price_152, Time, price_152);
      ObjectSet("S1 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("S1 line", OBJPROP_WIDTH, 1);
      ObjectSet("S1 line", OBJPROP_COLOR, cRS1);
      ObjectCreate("S1 label", OBJ_TEXT, 0, g_datetime_256, price_152, Time, price_152);
      ObjectSetText("S1 label", "" + DoubleToStr(price_152, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("S1 label", OBJPROP_COLOR, cRS1);
      ObjectCreate("R2 line", OBJ_TREND, 0, g_datetime_256, price_184, Time, price_184);
      ObjectSet("R2 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("R2 line", OBJPROP_WIDTH, 1);
      ObjectSet("R2 line", OBJPROP_COLOR, cRS2);
      ObjectCreate("R2 label", OBJ_TEXT, 0, g_datetime_256, price_184, Time, price_184);
      ObjectSetText("R2 label", "" + DoubleToStr(price_184, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("R2 label", OBJPROP_COLOR, cRS2);
      ObjectCreate("S2 line", OBJ_TREND, 0, g_datetime_256, price_160, Time, price_160);
      ObjectSet("S2 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("S2 line", OBJPROP_WIDTH, 1);
      ObjectSet("S2 line", OBJPROP_COLOR, cRS2);
      ObjectCreate("S2 label", OBJ_TEXT, 0, g_datetime_256, price_160, Time, price_160);
      ObjectSetText("S2 label", "" + DoubleToStr(price_160, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("S2 label", OBJPROP_COLOR, cRS2);
      ObjectCreate("R3 line", OBJ_TREND, 0, g_datetime_256, price_192, Time, price_192);
      ObjectSet("R3 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("R3 line", OBJPROP_WIDTH, 1);
      ObjectSet("R3 line", OBJPROP_COLOR, cRS3);
      ObjectCreate("R3 label", OBJ_TEXT, 0, g_datetime_256, price_192, Time, price_192);
      ObjectSetText("R3 label", "" + DoubleToStr(price_192, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("R3 label", OBJPROP_COLOR, cRS3);
      ObjectCreate("S3 line", OBJ_TREND, 0, g_datetime_256, price_168, Time, price_168);
      ObjectSet("S3 line", OBJPROP_STYLE, STYLE_DOT);
      ObjectSet("S3 line", OBJPROP_WIDTH, 1);
      ObjectSet("S3 line", OBJPROP_COLOR, cRS3);
      ObjectCreate("S3 label", OBJ_TEXT, 0, g_datetime_256, price_168, Time, price_168);
      ObjectSetText("S3 label", "" + DoubleToStr(price_168, li_16), 8, "Arial", CLR_NONE);
      ObjectSet("S3 label", OBJPROP_COLOR, cRS3);
   }
   if (昨天价值_Enabled == TRUE) {
      ObjectCreate("老船长 Label", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("老船长 Label", "老船长欢迎您!", 9, "Verdana", CommentLabel_color);
      ObjectSet("老船长 Label", OBJPROP_XDISTANCE, 昨天价值_Shift + 150);
      ObjectSet("老船长 Label", OBJPROP_YDISTANCE, 2);
      ObjectSet("老船长 ", OBJPROP_YDISTANCE, 2);
      ObjectCreate("www.sigmatory.com", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("www.sigmatory.com", " www.sigmatory.com", 9, "Verdana", CommentLabel_color);
      ObjectSet("www.sigmatory.com", OBJPROP_YDISTANCE, 2);
      ObjectSet("www.sigmatory.com", OBJPROP_XDISTANCE, 昨天价值_Shift + 280);
   }
   if (详细资料_Enabled == TRUE) {
      ObjectCreate("开盘 Label", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("开盘 Label", "开盘", 9, "Verdana", CommentLabel_color);
      ObjectSet("开盘 Label", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("开盘 Label", OBJPROP_XDISTANCE, 移动左右 + 742);
      ObjectSet("开盘 Label", OBJPROP_YDISTANCE, 移动上下 + 2);
      ObjectCreate("开盘 Value", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("开盘 Value", " " + DoubleToStr(ld_136, li_16), 9, "Verdana Bold", Orange);
      ObjectSet("开盘 Value", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("开盘 Value", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("开盘 Value", OBJPROP_YDISTANCE, 移动上下 + 2);
      ObjectCreate("今高 Label", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("今高 Label", "今高", 9, "Verdana", CommentLabel_color);
      ObjectSet("今高 Label", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("今高 Label", OBJPROP_XDISTANCE, 移动左右 + 742);
      ObjectSet("今高 Label", OBJPROP_YDISTANCE, 移动上下 + 17);
      ObjectCreate("今高 Value", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("今高 Value", " " + DoubleToStr(ihigh_224, li_16), 9, "Verdana Bold", Orange);
      ObjectSet("今高 Value", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("今高 Value", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("今高 Value", OBJPROP_YDISTANCE, 移动上下 + 17);
      ObjectCreate("今低 Label", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("今低 Label", "今低", 9, "Verdana", CommentLabel_color);
      ObjectSet("今低 Label", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("今低 Label", OBJPROP_XDISTANCE, 移动左右 + 742);
      ObjectSet("今低 Label", OBJPROP_YDISTANCE, 移动上下 + 32);
      ObjectCreate("今低 Value", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("今低 Value", " " + DoubleToStr(ilow_232, li_16), 9, "Verdana Bold", Orange);
      ObjectSet("今低 Value", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("今低 Value", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("今低 Value", OBJPROP_YDISTANCE, 移动上下 + 32);
      ObjectCreate("open", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("open", "开盘涨跌", 9, "Verdana", color_28);
      ObjectSet("open", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("open", OBJPROP_XDISTANCE, 移动左右 + 722);
      ObjectSet("open", OBJPROP_YDISTANCE, 移动上下 + 49);
      ObjectCreate("open1", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("open1", "" + dbl2str_332 + "", 9, "Verdana Bold", color_28);
      ObjectSet("open1", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("open1", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("open1", OBJPROP_YDISTANCE, 移动上下 + 49);
      ObjectCreate("today1", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("today1", "今高低", 9, "Verdana", WhiteSmoke);
      ObjectSet("today1", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("today1", OBJPROP_XDISTANCE, 移动左右 + 732);
      ObjectSet("today1", OBJPROP_YDISTANCE, 移动上下 + 66);
      ObjectCreate("today2", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("today2", "" + dbl2str_356 + "", 9, "Verdana", Yellow);
      ObjectSet("today2", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("today2", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("today2", OBJPROP_YDISTANCE, 移动上下 + 66);
      ObjectCreate("MMLEVELS1", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("MMLEVELS1", "点差", 9, "Arial", CommentLabel_color);
      ObjectSet("MMLEVELS1", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("MMLEVELS1", OBJPROP_XDISTANCE, 移动左右 + 742);
      ObjectSet("MMLEVELS1", OBJPROP_YDISTANCE, 移动上下 + 81);
      ObjectCreate("MMLEVELS2", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("MMLEVELS2", "" + dbl2str_324 + "", 12, "Arial Bold", Gold);
      ObjectSet("MMLEVELS2", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("MMLEVELS2", OBJPROP_XDISTANCE, 移动左右 + 682);
      ObjectSet("MMLEVELS2", OBJPROP_YDISTANCE, 移动上下 + 81);
      ObjectCreate("Signalprice", OBJ_LABEL, 0, 0, 0);
      ObjectSetText("Signalprice", "" + dbl2str_268 + "", 18, "Arial", Orange);
      ObjectSet("Signalprice", OBJPROP_CORNER, Corner_Right_Top);
      ObjectSet("Signalprice", OBJPROP_XDISTANCE, 移动左右 + 696);
      ObjectSet("Signalprice", OBJPROP_YDISTANCE, 移动上下 + 103);
   }
   ArrayCopyRates(lda_36, Symbol(), PERIOD_D1);
   if (DayOfWeek() == 1) {
      if (TimeDayOfWeek(iTime(Symbol(), PERIOD_D1, 1)) == 5) {
         ld_40 = lda_36;
         ld_48 = lda_36;
         ld_56 = lda_36;
      } else {
         for (int li_388 = 5; li_388 >= 0; li_388--) {
            if (TimeDayOfWeek(iTime(Symbol(), PERIOD_D1, li_388)) == 5) {
               ld_40 = lda_36;
               ld_48 = lda_36;
               ld_56 = lda_36;
            }
         }
      }
   } else {
      ld_40 = lda_36;
      ld_48 = lda_36;
      ld_56 = lda_36;
   }
   double ld_392 = ld_48 - ld_56;
   double ld_400 = (ld_48 + ld_56 + ld_40) / 3.0;
   double ld_408 = ld_400 + 1.382 * ld_392;
   double ld_416 = ld_400 + 1.0 * ld_392;
   double ld_424 = ld_400 + 0.75 * ld_392;
   double ld_432 = ld_400 + ld_392 / 2.0;
   double ld_440 = ld_400 + 0.236 * ld_392;
   double ld_448 = ld_400 - 0.236 * ld_392;
   double ld_456 = ld_400 - ld_392 / 2.0;
   double ld_464 = ld_400 - 0.75 * ld_392;
   double ld_472 = ld_400 - 1.0 * ld_392;
   double ld_480 = ld_400 - 1.382 * ld_392;
   f0_10(ld_408, "R4", Lime, 0);
   f0_0("上反转位", ld_408, Lime);
   f0_10(ld_416, "R3", Lime, 0);
   f0_0("压力 4", ld_416, Lime);
   f0_10(ld_424, "R2", Lime, 0);
   f0_0("压力 3", ld_424, Lime);
   f0_10(ld_432, "R1", Lime, 0);
   f0_0("压力 2", ld_432, Lime);
   f0_10(ld_440, "R0", Lime, 0);
   f0_0("压力 1", ld_440, Lime);
   f0_10(ld_400, "PIVIOT", Yellow, 1);
   f0_0("多空分界线", ld_400, Yellow);
   f0_10(ld_448, "S0", Red, 0);
   f0_0("支撑 1", ld_448, Red);
   f0_10(ld_456, "S1", Red, 0);
   f0_0("支撑 2", ld_456, Red);
   f0_10(ld_464, "S2", Red, 0);
   f0_0("支撑 3", ld_464, Red);
   f0_10(ld_472, "S3", Red, 0);
   f0_0("支撑 4", ld_472, Red);
   f0_10(ld_480, "S4", Red, 0);
   f0_0("下反转位", ld_480, Red);
   int li_488 = IndicatorCounted();
   if (li_488 < 0) return (-1);
   if (li_488 > 0) li_488--;
   int li_492 = Bars - li_488;
   for (int li_496 = li_492; li_496 >= 0; li_496--) {
      if (MAType == 4) {
         ima_64 = f0_3(g_period_188, li_496);
         ima_72 = f0_3(g_period_188, li_496 + 1);
      } else {
         ima_64 = iMA(NULL, 0, g_period_188, 0, g_ma_method_348, PRICE_CLOSE, li_496);
         ima_72 = iMA(NULL, 0, g_period_188, 0, g_ma_method_348, PRICE_CLOSE, li_496 + 1);
      }
      g_ibuf_340 = ima_64;
      g_ibuf_336 = ima_64;
      g_ibuf_332 = ima_64;
      if (ima_72 > ima_64) g_ibuf_336 = EMPTY_VALUE;
      else {
         if (ima_72 < ima_64) g_ibuf_332 = EMPTY_VALUE;
         else {
            g_ibuf_332 = EMPTY_VALUE;
            g_ibuf_336 = EMPTY_VALUE;
         }
      }
   }
   if (gm_144 != 112168456 || gm_144 != 2010) {
      ind_counted_80 = IndicatorCounted();
      if (AllBars == 0 || Bars < AllBars) gi_424 = Bars;
      else gi_424 = AllBars;
      if (BarsForFract > 0) gi_428 = BarsForFract;
      else {
         switch (Period()) {
         case PERIOD_M1:
            gi_428 = 12;
            break;
         case PERIOD_M5:
            gi_428 = 48;
            break;
         case PERIOD_M15:
            gi_428 = 24;
            break;
         case PERIOD_M30:
            gi_428 = 24;
            break;
         case PERIOD_H1:
            gi_428 = 12;
            break;
         case PERIOD_H4:
            gi_428 = 15;
            break;
         case PERIOD_D1:
            gi_428 = 10;
            break;
         case PERIOD_W1:
            gi_428 = 6;
            break;
         default:
            f0_7();
            return (-1);
         }
      }
      gi_372 = 2;
      gi_384 = -1;
      gi_388 = -1;
      gi_392 = 0;
      while (gi_384 == -1 || gi_388 == -1 && gi_372 < gi_424) {
         if (gi_392 < 1 && gi_372 == iLowest(Symbol(), Period(), MODE_LOW, gi_428 * 2 + 1, gi_372 - gi_428)) {
            if (gi_392 == 0) {
               gi_392 = -1;
               gi_384 = gi_372;
               gd_396 = Low;
            } else {
               gi_388 = gi_372;
               gd_404 = Low;
            }
         }
         if (gi_392 > -1 && gi_372 == iHighest(Symbol(), Period(), MODE_HIGH, gi_428 * 2 + 1, gi_372 - gi_428)) {
            if (gi_392 == 0) {
               gi_392 = 1;
               gi_384 = gi_372;
               gd_396 = High;
            } else {
               gi_388 = gi_372;
               gd_404 = High;
            }
         }
         gi_372++;
      }
      if (gi_384 == -1 || gi_388 == -1) {
         f0_7();
         return (-1);
      }
      gd_376 = (gd_404 - gd_396) / (gi_388 - gi_384);
      gd_396 -= gi_384 * gd_376;
      gi_384 = 0;
      gi_432 = 0;
      gd_436 = 0;
      if (gi_392 == 1) {
         gd_412 = Low - 2.0 * gd_376;
         for (gi_420 = 3; gi_420 <= gi_388; gi_420++)
            if (Low < gd_412 + gd_376 * gi_420) gd_412 = Low - gi_420 * gd_376;
         if (Low < gd_412) {
            gi_432 = 0;
            gd_436 = gd_412;
         }
         if (Low < gd_412 + gd_376) {
            gi_432 = 1;
            gd_436 = gd_412 + gd_376;
         }
         if (High > gd_396) {
            gi_432 = 0;
            gd_436 = gd_396;
         }
         if (High > gd_396 + gd_376) {
            gi_432 = 1;
            gd_436 = gd_396 + gd_376;
         }
      } else {
         gd_412 = High - 2.0 * gd_376;
         for (gi_420 = 3; gi_420 <= gi_388; gi_420++)
            if (High > gd_412 + gd_376 * gi_420) gd_412 = High - gi_420 * gd_376;
         if (Low < gd_396) {
            gi_432 = 0;
            gd_436 = gd_396;
         }
         if (Low < gd_396 + gd_376) {
            gi_432 = 1;
            gd_436 = gd_396 + gd_376;
         }
         if (High > gd_412) {
            gi_432 = 0;
            gd_436 = gd_412;
         }
         if (High > gd_412 + gd_376) {
            gi_432 = 1;
            gd_436 = gd_412 + gd_376;
         }
      }
      gd_404 = gd_396 + gi_424 * gd_376;
      gi_unused_444 = Time;
      gi_unused_448 = Time;
      if (gd_436 != 0.0) g_ibuf_360 = gd_436;
      f0_7();
      Comment(" Channel size = ", DoubleToStr(MathAbs(gd_412 - gd_396) / Point, 0), " Slope = ", DoubleToStr((-gd_376) / Point, 2));
   }
   return (0);
}

// FAD58DE7366495DB4650CFEFAC2FCD61
void f0_15() {
   double ld_0;
   int count_8;
   string symbol_12;
   double ld_20;
   for (int index_28 = 0; index_28 < gi_288; index_28++) {
      RefreshRates();
      if (gi_208) symbol_12 = gsa_268 + 109;
      else symbol_12 = gsa_268;
      ld_0 = f0_4(symbol_12);
      gda_300 = MarketInfo(symbol_12, MODE_HIGH);
      gda_304 = MarketInfo(symbol_12, MODE_LOW);
      gda_308 = MarketInfo(symbol_12, MODE_BID);
      gda_312 = MarketInfo(symbol_12, MODE_ASK);
      gda_320 = MathMax((gda_300 - gda_304) / Point, 1);
      gda_316 = (gda_308 - gda_304) / gda_320 / Point;
      gda_324 = f0_5(100.0 * gda_316);
      gda_328 = 24 - gda_324;
   }
   for (int index_32 = 0; index_32 < gi_292; index_32++) {
      count_8 = 0;
      ld_20 = 0;
      for (index_28 = 0; index_28 < gi_288; index_28++) {
         if (StringSubstr(gsa_268, 0, 3) == gsa_272) {
            count_8++;
            ld_20 += gda_324;
         }
         if (StringSubstr(gsa_268, 3, 3) == gsa_272) {
            count_8++;
            ld_20 += gda_328;
         }
         if (count_8 > 0) gda_296 = NormalizeDouble(ld_20 / count_8, 1);
         else gda_296 = -1;
      }
   }
   f0_2();
   for (index_32 = 0; index_32 < gi_292; index_32++) f0_1(index_32, gda_296);
}

// 9290872FB2F495FD85CB1F466D98C4C3
void f0_8() {
   string ls_0;
   string ls_8;
   string ls_16;
   int arr_size_24 = ArraySize(gsa_264);
   for (int count_28 = 0; count_28 < arr_size_24; count_28++) {
      ls_0 = gsa_264;
      ls_8 = StringSubstr(ls_0, 0, 3);
      ls_16 = StringSubstr(ls_0, 3, 3);
      gia_344 = -1;
      gia_344 = -1;
      for (int index_32 = 0; index_32 < gi_292; index_32++) {
         if (ls_8 == gsa_272) gia_344 = index_32;
         if (ls_16 == gsa_272) gia_344 = index_32;
      }
      if (gia_344 == -1 || gia_344 == -1) Print("Currency Pair : ", ls_0, " is not tradeable, check array definition!");
   }
}

// 7439F21E440F650B67FCE3BC9F3C24F5
double f0_4(string as_unused_0) {
   string ls_8;
   double ld_ret_16 = 0.0001;
   double ld_ret_24 = 0.01;
   if (StringSubstr(ls_8, 3, 3) == "JPY") return (ld_ret_24);
   return (ld_ret_16);
}

// 85C85746BAE96CF451F9C7CAE586D46E
int f0_5(double ad_0) {
   int li_ret_8 = -1;
   if (ad_0 <= gia_284) li_ret_8 = 0;
   else {
      for (int li_12 = 1; li_12 < 24; li_12++) {
         if (ad_0 < gia_284) {
            li_ret_8 = li_12 - 1;
            break;
         }
      }
      if (li_ret_8 == -1) li_ret_8 = 24;
   }
   return (li_ret_8);
}

// B6ED9622D8254A44DF149A6B47536276
void f0_11() {
   ObjectsDeleteAll(0, OBJ_LABEL);
   for (int count_0 = 0; count_0 < gi_292; count_0++) WindowRedraw();
}

// 3DE09822C4DD732E300F76E7EFBD1762
void f0_2() {
   for (int index_0 = 0; index_0 < gi_292; index_0++) {
      ObjectSet(gsa_272 + "_1", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_2", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_3", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_4", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_5", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_6", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_7", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_8", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_9", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_10", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_11", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_12", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_13", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_14", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_15", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_16", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_17", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_18", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_19", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_20", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_21", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_22", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_23", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_24", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_25", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_26", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_27", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_28", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_29", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "_30", OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272, OBJPROP_COLOR, CLR_NONE);
      ObjectSet(gsa_272 + "p", OBJPROP_COLOR, CLR_NONE);
   }
}

// 373DCE9A3EEC90592F732651A785701E
void f0_1(int ai_0, double ad_4) {
   if (ad_4 > 0.0) ObjectSet(gsa_272 + "_27", OBJPROP_COLOR, Red);
   if (ad_4 > 1.0) ObjectSet(gsa_272 + "_26", OBJPROP_COLOR, Red);
   if (ad_4 > 2.0) ObjectSet(gsa_272 + "_25", OBJPROP_COLOR, Red);
   if (ad_4 > 3.0) ObjectSet(gsa_272 + "_27", OBJPROP_COLOR, Crimson);
   if (ad_4 > 4.0) ObjectSet(gsa_272 + "_26", OBJPROP_COLOR, Crimson);
   if (ad_4 > 5.0) ObjectSet(gsa_272 + "_25", OBJPROP_COLOR, Crimson);
   if (ad_4 > 6.0) ObjectSet(gsa_272 + "_24", OBJPROP_COLOR, OrangeRed);
   if (ad_4 > 7.0) ObjectSet(gsa_272 + "_23", OBJPROP_COLOR, OrangeRed);
   if (ad_4 > 8.0) ObjectSet(gsa_272 + "_22", OBJPROP_COLOR, OrangeRed);
   if (ad_4 > 9.0) ObjectSet(gsa_272 + "_21", OBJPROP_COLOR, Chocolate);
   if (ad_4 > 10.0) ObjectSet(gsa_272 + "_20", OBJPROP_COLOR, Chocolate);
   if (ad_4 > 11.0) ObjectSet(gsa_272 + "_19", OBJPROP_COLOR, Chocolate);
   if (ad_4 > 12.0) ObjectSet(gsa_272 + "_18", OBJPROP_COLOR, DarkOrange);
   if (ad_4 > 13.0) ObjectSet(gsa_272 + "_17", OBJPROP_COLOR, DarkOrange);
   if (ad_4 > 14.0) ObjectSet(gsa_272 + "_16", OBJPROP_COLOR, DarkOrange);
   if (ad_4 > 15.0) ObjectSet(gsa_272 + "_15", OBJPROP_COLOR, Orange);
   if (ad_4 > 16.0) ObjectSet(gsa_272 + "_14", OBJPROP_COLOR, Orange);
   if (ad_4 > 17.0) ObjectSet(gsa_272 + "_13", OBJPROP_COLOR, Orange);
   if (ad_4 > 18.0) ObjectSet(gsa_272 + "_12", OBJPROP_COLOR, Gold);
   if (ad_4 > 19.0) ObjectSet(gsa_272 + "_11", OBJPROP_COLOR, Gold);
   if (ad_4 > 20.0) ObjectSet(gsa_272 + "_10", OBJPROP_COLOR, Gold);
   if (ad_4 > 21.0) ObjectSet(gsa_272 + "_9", OBJPROP_COLOR, YellowGreen);
   if (ad_4 > 22.0) ObjectSet(gsa_272 + "_8", OBJPROP_COLOR, YellowGreen);
   if (ad_4 > 23.0) ObjectSet(gsa_272 + "_7", OBJPROP_COLOR, YellowGreen);
   if (ad_4 > 24.0) ObjectSet(gsa_272 + "_6", OBJPROP_COLOR, LimeGreen);
   if (ad_4 > 25.0) ObjectSet(gsa_272 + "_5", OBJPROP_COLOR, LimeGreen);
   if (ad_4 > 26.0) ObjectSet(gsa_272 + "_4", OBJPROP_COLOR, LimeGreen);
   if (ad_4 > 27.0) ObjectSet(gsa_272 + "_3", OBJPROP_COLOR, Lime);
   if (ad_4 > 28.0) ObjectSet(gsa_272 + "_2", OBJPROP_COLOR, Lime);
   if (ad_4 > 29.0) ObjectSet(gsa_272 + "_1", OBJPROP_COLOR, Lime);
   ObjectSet(gsa_272, OBJPROP_COLOR, SkyBlue);
   ObjectSetText(gsa_272 + "p", DoubleToStr(ad_4, 1), 8, "Arial Bold", Silver);
}

// 0C1D683D2D0E9F7703E0ECC21D055CFF
void f0_0(string a_name_0, double a_price_8, color a_color_16) {
   if (ObjectFind(a_name_0) != 0) {
      ObjectCreate(a_name_0, OBJ_TEXT, 0, Time, a_price_8);
      ObjectSetText(a_name_0, a_name_0, 9, "Arial", CLR_NONE);
      ObjectSet(a_name_0, OBJPROP_COLOR, a_color_16);
      return;
   }
   ObjectMove(a_name_0, 0, Time, a_price_8);
}

// A14A3F6EA4198632C3E25F65D397E2B2
void f0_10(double a_price_0, string a_name_8, color a_color_16, int ai_20) {
   if (ObjectFind(a_name_8) != 0) {
      ObjectCreate(a_name_8, OBJ_HLINE, 0, Time, a_price_0, Time, a_price_0);
      if (ai_20 == 1) ObjectSet(a_name_8, OBJPROP_STYLE, STYLE_SOLID);
      else ObjectSet(a_name_8, OBJPROP_STYLE, STYLE_DOT);
      ObjectSet(a_name_8, OBJPROP_COLOR, a_color_16);
      ObjectSet(a_name_8, OBJPROP_WIDTH, 1);
      return;
   }
   ObjectDelete(a_name_8);
   ObjectCreate(a_name_8, OBJ_HLINE, 0, Time, a_price_0, Time, a_price_0);
   if (ai_20 == 1) ObjectSet(a_name_8, OBJPROP_STYLE, STYLE_SOLID);
   else ObjectSet(a_name_8, OBJPROP_STYLE, STYLE_DOT);
   ObjectSet(a_name_8, OBJPROP_COLOR, a_color_16);
   ObjectSet(a_name_8, OBJPROP_WIDTH, 1);
}

// 88F07BF2A3E2A04159AC984719B3F549
void f0_6(int ai_0, string a_name_4, string as_12, string as_20) {
   int str2time_28 = StrToTime(TimeToStr(ai_0, TIME_DATE) + " " + as_12);
   int str2time_32 = StrToTime(TimeToStr(ai_0, TIME_DATE) + " " + as_20);
   int shift_36 = iBarShift(NULL, 0, str2time_28);
   int shift_40 = iBarShift(NULL, 0, str2time_32);
   double high_44 = High;
   double ld_52 = Low;
   if (!HighRange) {
      high_44 = 0;
      ld_52 = 2.0 * ld_52;
   }
   ObjectSet(a_name_4, OBJPROP_TIME1, str2time_28);
   ObjectSet(a_name_4, OBJPROP_PRICE1, high_44);
   ObjectSet(a_name_4, OBJPROP_TIME2, str2time_32);
   ObjectSet(a_name_4, OBJPROP_PRICE2, ld_52);
}

// C0B2CEC1981A4CBAB25ED762129C0CE8
int f0_12(int ai_0) {
   int li_4 = TimeYear(ai_0);
   int li_8 = TimeMonth(ai_0);
   int li_12 = TimeDay(ai_0);
   int hour_16 = TimeHour(ai_0);
   int minute_20 = TimeMinute(ai_0);
   li_12--;
   if (li_12 == 0) {
      li_8--;
      if (li_8 == 0) {
         li_4--;
         li_8 = 12;
      }
      if (li_8 == 1 || li_8 == 3 || li_8 == 5 || li_8 == 7 || li_8 == 8 || li_8 == 10 || li_8 == 12) li_12 = 31;
      if (li_8 == 2) {
         if (MathMod(li_4, 4) == 0.0) li_12 = 29;
         else li_12 = 28;
      }
      if (li_8 == 4 || li_8 == 6 || li_8 == 9 || li_8 == 11) li_12 = 30;
   }
   return (StrToTime(li_4 + "." + li_8 + "." + li_12 + " " + hour_16 + ":" + minute_20));
}


G36 发表于 2014-8-21 13:01:18

好像改不了 只能向左不能向右

蓝海1 发表于 2014-8-21 13:11:29

G36 发表于 2014-8-21 13:01
好像改不了 只能向左不能向右

能把文字改成数字也好

digit 发表于 2014-8-22 15:36:55

Here you go   

杰才88 发表于 2014-8-23 03:08:47

谢谢分享!···············

蓝海1 发表于 2014-8-23 21:16:39

digit 发表于 2014-8-22 15:36
Here you go

谢谢,这样很好

[潜力]两面糊- 发表于 2014-8-24 10:15:42

谢谢分享

sun001002003 发表于 2015-1-1 22:41:19

把显示的东西改成别的颜色就可以了

chenzhongde 发表于 2015-1-3 12:23:14

跟原版一样还是经过指标改良了?

古月大师 发表于 2015-1-14 21:58:55

研究研究

gexiong 发表于 2015-4-4 02:09:16

死死死死死死死死死

gexiong 发表于 2015-4-4 02:15:43

fsdfsdfsdf

wellweihai 发表于 2015-5-3 11:41:22

这个我感觉还是自己 分析来的安全吧

feixinniao 发表于 2016-1-2 08:38:31

啊撒旦范德萨范德萨范德萨法撒旦发

solo_lee 发表于 2016-5-17 23:17:57


谢谢分享
页: [1] 2
查看完整版本: 【已解决】求高手把这个阻力指标数字显示方式改下,挡住K线看不了