[C++] 纯文本查看 复制代码
#property indicator_chart_window
extern bool show_comments = FALSE;
extern bool bml_25_lines = TRUE;
extern color bml_25_color = DarkSlateGray;
extern int bml_25_style = 0;
extern bool bml_50_lines = TRUE;
extern color bml_50_color = DarkSlateGray;
extern int bml_50_style = 1;
extern int beginer = 0;
extern int periodtotake = 64;
extern int SomeVar = 0;
int gi_unused_116 = 0;
int gi_unused_120 = 0;
int gi_124 = 0;
int g_timeframe_128 = 0;
double gd_132 = 0.0;
double g_low_140 = 0.0;
double g_high_148 = 0.0;
double gd_156 = 0.0;
double gd_164 = 0.0;
double g_price_172 = 0.0;
double g_price_180 = 0.0;
double g_price_188 = 0.0;
double g_price_196 = 0.0;
double g_price_204 = 0.0;
double g_price_212 = 0.0;
double g_price_220 = 0.0;
double g_price_228 = 0.0;
double g_price_236 = 0.0;
double g_price_244 = 0.0;
double g_price_252 = 0.0;
double g_price_260 = 0.0;
double g_price_268 = 0.0;
double g_price_276 = 0.0;
double g_price_284 = 0.0;
double g_price_292 = 0.0;
double g_price_300 = 0.0;
double g_price_308 = 0.0;
double g_price_316 = 0.0;
double g_price_324 = 0.0;
double g_price_332 = 0.0;
double g_price_340 = 0.0;
double g_price_348 = 0.0;
double g_price_356 = 0.0;
double g_price_364 = 0.0;
double g_price_372 = 0.0;
double g_price_380 = 0.0;
double g_price_388 = 0.0;
double g_price_396 = 0.0;
double g_price_404 = 0.0;
double g_price_412 = 0.0;
double g_price_420 = 0.0;
double g_price_428 = 0.0;
double g_price_436 = 0.0;
double g_price_444 = 0.0;
double g_price_452 = 0.0;
double g_price_460 = 0.0;
double g_price_468 = 0.0;
double g_price_476 = 0.0;
double g_price_484 = 0.0;
double g_price_492 = 0.0;
double g_price_500 = 0.0;
double g_price_508 = 0.0;
double g_price_516 = 0.0;
double g_price_524 = 0.0;
double g_price_532 = 0.0;
double g_price_540 = 0.0;
double g_price_548 = 0.0;
double g_price_556 = 0.0;
double gd_564 = 0.0;
double gd_572 = 0.0;
double gd_580 = 0.0;
double gd_588 = 0.0;
double gd_unused_596 = 0.0;
double gd_604 = 0.0;
double gd_612 = 0.0;
double gd_620 = 0.0;
double gd_628 = 0.0;
double gd_636 = 0.0;
double gd_644 = 0.0;
double gd_652 = 0.0;
double gd_660 = 0.0;
double gd_668 = 0.0;
double gd_676 = 0.0;
double gd_684 = 0.0;
double gd_692 = 0.0;
double gd_700 = 0.0;
double gd_708 = 0.0;
string gsa_716[13] = {"MM-2/8ths_txt", "MM-1/8th_txt", "MM 0/8th_txt", "MM 1/8th_txt", "MM 2/8ths_txt", "MM 3/8ths_txt", "MM 4/8ths_txt", "MM 5/8ths_txt", "MM 6/8ths_txt", "MM 7/8ths_txt", "MM 8/8ths_txt", "MM+1/8th_txt", "MM+2/8ths_txt"};
string gsa_720[49] = {"MM-2/8ths", "MM-1/8th", "MM 0/8th", "MM 1/8th", "MM 2/8ths", "MM 3/8ths", "MM 4/8ths", "mm92", "mm94", "mm96", "mm82", "mm84", "mm86", "mm72", "mm74", "mm76", "mm62", "mm64", "mm66", "mm56", "mm54", "mm52", "mm46", "mm44", "mm42", "mm36", "mm34", "mm32", "mm26", "mm24", "mm22", "mm16", "mm14", "mm12s", "mm06", "mm04", "mm02", "mm106", "mm104", "mm102", "mm1006", "mm1004", "mm1002", "MM 5/8ths", "MM 6/8ths", "MM 7/8ths", "MM 8/8ths", "MM+1/8th", "MM+2/8ths"};
int init() {
return (0);
}
int deinit() {
ObjectsDeleteAll(0, OBJ_HLINE);
int l_arr_size_0 = ArraySize(gsa_716);
for (int l_index_4 = 0; l_index_4 25000.0) gd_156 = 100000;
if (g_high_148 2500.0) gd_156 = 10000;
if (g_high_148 250.0) gd_156 = 1000;
if (g_high_148 25.0) gd_156 = 100;
if (g_high_148 12.5) gd_156 = 12.5;
if (g_high_148 6.25) gd_156 = 12.5;
if (g_high_148 3.125) gd_156 = 6.25;
if (g_high_148 1.5625) gd_156 = 3.125;
if (g_high_148 0.390625) gd_156 = 1.5625;
if (g_high_148 0.0) gd_156 = 0.1953125;
gd_564 = g_high_148 - g_low_140;
gd_132 = MathFloor(MathLog(gd_156 / gd_564) / MathLog(2));
gd_572 = gd_156 * MathPow(0.5, gd_132);
gd_580 = MathFloor(g_low_140 / gd_572) * gd_572;
if (gd_580 + gd_572 > g_high_148) gd_588 = gd_580 + gd_572;
gd_588 = gd_580 + 2.0 * gd_572;
if (g_low_140 >= 3.0 * (gd_588 - gd_580) / 16.0 + gd_580 && g_high_148 = gd_580 - (gd_588 - gd_580) / 8.0 && g_high_148 = gd_580 + 7.0 * (gd_588 - gd_580) / 16.0 && g_high_148 = gd_580 + 3.0 * (gd_588 - gd_580) / 8.0 && g_high_148 = gd_580 + (gd_588 - gd_580) / 8.0 && g_high_148 0.0) gd_668 = gd_580;
else gd_668 = 0;
if (gd_628 > 0.0) gd_676 = gd_580 + (gd_588 - gd_580) / 4.0;
else gd_676 = 0;
if (gd_636 > 0.0) gd_684 = gd_580 + (gd_588 - gd_580) / 4.0;
else gd_684 = 0;
if (gd_644 > 0.0) gd_692 = gd_580 + (gd_588 - gd_580) / 2.0;
else gd_692 = 0;
if (gd_652 > 0.0) gd_700 = gd_580 + (gd_588 - gd_580) / 2.0;
else gd_700 = 0;
if (gd_604 > 0.0 && gd_668 + gd_676 + gd_684 + gd_692 + gd_700 == 0.0) gd_708 = gd_580;
else gd_708 = 0;
gd_612 = gd_668 + gd_676 + gd_684 + gd_692 + gd_700 + gd_708;
gd_164 = (gd_604 - gd_612) / 8.0;
g_price_172 = gd_612 - 2.0 * gd_164;
g_price_180 = gd_612 - gd_164;
g_price_188 = gd_612;
g_price_196 = gd_612 + gd_164;
g_price_204 = gd_612 + 2.0 * gd_164;
g_price_212 = gd_612 + 3.0 * gd_164;
g_price_220 = gd_612 + 4.0 * gd_164;
g_price_228 = gd_612 + 5.0 * gd_164;
g_price_236 = gd_612 + 6.0 * gd_164;
g_price_244 = gd_612 + 7.0 * gd_164;
g_price_252 = gd_612 + 8.0 * gd_164;
g_price_268 = gd_612 + 9.0 * gd_164;
g_price_260 = gd_612 + 10.0 * gd_164;
g_price_556 = gd_612 - gd_164 / 0.8;
g_price_548 = gd_612 - 1.5 * gd_164;
g_price_540 = gd_612 - 1.75 * gd_164;
g_price_532 = gd_612 - gd_164 / 4.0;
g_price_524 = gd_612 - gd_164 / 2.0;
g_price_516 = gd_612 - 0.75 * gd_164;
g_price_508 = gd_612 + gd_164 / 4.0;
g_price_500 = gd_612 + gd_164 / 2.0;
g_price_492 = gd_612 + 0.75 * gd_164;
g_price_484 = gd_612 + gd_164 / 0.8;
g_price_476 = gd_612 + 1.5 * gd_164;
g_price_468 = gd_612 + 1.75 * gd_164;
g_price_460 = gd_612 + 2.25 * gd_164;
g_price_452 = gd_612 + 2.5 * gd_164;
g_price_444 = gd_612 + 2.75 * gd_164;
g_price_436 = gd_612 + 3.25 * gd_164;
g_price_428 = gd_612 + 3.5 * gd_164;
g_price_420 = gd_612 + 3.75 * gd_164;
g_price_412 = gd_612 + 4.25 * gd_164;
g_price_404 = gd_612 + 4.5 * gd_164;
g_price_396 = gd_612 + 4.75 * gd_164;
g_price_388 = gd_612 + 5.25 * gd_164;
g_price_380 = gd_612 + 5.5 * gd_164;
g_price_372 = gd_612 + 5.75 * gd_164;
g_price_348 = gd_612 + 6.25 * gd_164;
g_price_356 = gd_612 + 6.5 * gd_164;
g_price_364 = gd_612 + 6.75 * gd_164;
g_price_324 = gd_612 + 7.25 * gd_164;
g_price_332 = gd_612 + 7.5 * gd_164;
g_price_340 = gd_612 + 7.75 * gd_164;
g_price_300 = gd_612 + 8.25 * gd_164;
g_price_308 = gd_612 + 8.5 * gd_164;
g_price_316 = gd_612 + 8.75 * gd_164;
g_price_276 = gd_612 + 9.25 * gd_164;
g_price_284 = gd_612 + 9.5 * gd_164;
g_price_292 = gd_612 + 9.75 * gd_164;
if (show_comments) {
Comment("\n", "MURREYMATH TIMEFRAME by XARD777 2009",
"\n", "HighClose = ", g_high_148,
"\n", "LowClose = ", g_low_140,
"\n", "Range = ", gd_564,
"\n", "Master Square = ", gd_156,
"\n", "Octave 8/8ths = ", gd_604,
"\n", "Octave 0/8ths = ", gd_612,
"\n", "Octave 8ths = ", gd_164,
"\n", "Wants to Reverse Off = ", gd_156 / 128.0);
}
/*
ObjectCreate("MM-2/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_172, Time[0], g_price_172);
ObjectSetText("MM-2/8ths_txt", "-2/8ths Extreme Overshoot ", 10, "Arial", Red);
ObjectCreate("MM-1/8th_txt", OBJ_TEXT, 0, Time[12], g_price_180, Time[0], g_price_180);
ObjectSetText("MM-1/8th_txt", "-1/8th Overshoot ", 10, "Arial", OrangeRed);
ObjectCreate("MM 0/8th_txt", OBJ_TEXT, 0, Time[12], g_price_188, Time[0], g_price_188);
ObjectSetText("MM 0/8th_txt", "0/8th Ultimate Resistance ", 10, "Arial", DeepSkyBlue);
ObjectCreate("MM 1/8th_txt", OBJ_TEXT, 0, Time[12], g_price_196, Time[0], g_price_196);
ObjectSetText("MM 1/8th_txt", "1/8th Weak, Stall & Reverse ", 10, "Arial", Yellow);
ObjectCreate("MM 2/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_204, Time[0], g_price_204);
ObjectSetText("MM 2/8ths_txt", "2/8ths Pivot, Reverse - Major ", 10, "Arial", HotPink);
ObjectCreate("MM 3/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_212, Time[0], g_price_212);
ObjectSetText("MM 3/8ths_txt", "3/8ths Bottom of Trading Range ", 10, "Arial", Lime);
ObjectCreate("MM 4/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_220, Time[0], g_price_220);
ObjectSetText("MM 4/8ths_txt", "4/8ths Major Support/Resistance ", 10, "Arial", DeepSkyBlue);
ObjectCreate("MM 5/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_228, Time[0], g_price_228);
ObjectSetText("MM 5/8ths_txt", "5/8ths Top of Trading Range ", 10, "Arial", Lime);
ObjectCreate("MM 6/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_236, Time[0], g_price_236);
ObjectSetText("MM 6/8ths_txt", "6/8ths Pivot, Reverse - Major ", 10, "Arial", HotPink);
ObjectCreate("MM 7/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_244, Time[0], g_price_244);
ObjectSetText("MM 7/8ths_txt", "7/8ths Weak, Stall & Reverse ", 10, "Arial", Yellow);
ObjectCreate("MM 8/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_252, Time[0], g_price_252);
ObjectSetText("MM 8/8ths_txt", "8/8ths Ultimate Resistance ", 10, "Arial", DeepSkyBlue);
ObjectCreate("MM+1/8th_txt", OBJ_TEXT, 0, Time[12], g_price_268, Time[0], g_price_268);
ObjectSetText("MM+1/8th_txt", "+1/8th Overshoot ", 10, "Arial", OrangeRed);
ObjectCreate("MM+2/8ths_txt", OBJ_TEXT, 0, Time[12], g_price_260, Time[0], g_price_260);
ObjectSetText("MM+2/8ths_txt", "+2/8ths Extreme Overshoot ", 10, "Arial", Red);
*/
ObjectCreate("MM-2/8ths", OBJ_HLINE, 0, Time[0], g_price_172, Time[0], g_price_172);
ObjectSet("MM-2/8ths", OBJPROP_COLOR, Red);
ObjectSet("MM-2/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM-2/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM-2/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM-1/8th", OBJ_HLINE, 0, Time[0], g_price_180, Time[0], g_price_180);
ObjectSet("MM-1/8th", OBJPROP_COLOR, OrangeRed);
ObjectSet("MM-1/8th", OBJPROP_BACK, TRUE);
ObjectSet("MM-1/8th", OBJPROP_WIDTH, 2);
ObjectSet("MM-1/8th", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 0/8th", OBJ_HLINE, 0, Time[0], g_price_188, Time[0], g_price_188);
ObjectSet("MM 0/8th", OBJPROP_COLOR, DeepSkyBlue);
ObjectSet("MM 0/8th", OBJPROP_BACK, TRUE);
ObjectSet("MM 0/8th", OBJPROP_WIDTH, 2);
ObjectSet("MM 0/8th", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 1/8th", OBJ_HLINE, 0, Time[0], g_price_196, Time[0], g_price_196);
ObjectSet("MM 1/8th", OBJPROP_COLOR, Yellow);
ObjectSet("MM 1/8th", OBJPROP_BACK, TRUE);
ObjectSet("MM 1/8th", OBJPROP_WIDTH, 2);
ObjectSet("MM 1/8th", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 2/8ths", OBJ_HLINE, 0, Time[0], g_price_204, Time[0], g_price_204);
ObjectSet("MM 2/8ths", OBJPROP_COLOR, HotPink);
ObjectSet("MM 2/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 2/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 2/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 3/8ths", OBJ_HLINE, 0, Time[0], g_price_212, Time[0], g_price_212);
ObjectSet("MM 3/8ths", OBJPROP_COLOR, Lime);
ObjectSet("MM 3/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 3/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 3/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 4/8ths", OBJ_HLINE, 0, Time[0], g_price_220, Time[0], g_price_220);
ObjectSet("MM 4/8ths", OBJPROP_COLOR, DeepSkyBlue);
ObjectSet("MM 4/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 4/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 4/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 5/8ths", OBJ_HLINE, 0, Time[0], g_price_228, Time[0], g_price_228);
ObjectSet("MM 5/8ths", OBJPROP_COLOR, Lime);
ObjectSet("MM 5/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 5/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 5/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 6/8ths", OBJ_HLINE, 0, Time[0], g_price_236, Time[0], g_price_236);
ObjectSet("MM 6/8ths", OBJPROP_COLOR, HotPink);
ObjectSet("MM 6/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 6/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 6/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 7/8ths", OBJ_HLINE, 0, Time[0], g_price_244, Time[0], g_price_244);
ObjectSet("MM 7/8ths", OBJPROP_COLOR, Yellow);
ObjectSet("MM 7/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 7/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 7/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM 8/8ths", OBJ_HLINE, 0, Time[0], g_price_252, Time[0], g_price_252);
ObjectSet("MM 8/8ths", OBJPROP_COLOR, DeepSkyBlue);
ObjectSet("MM 8/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM 8/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM 8/8ths", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM+1/8th", OBJ_HLINE, 0, Time[0], g_price_268, Time[0], g_price_268);
ObjectSet("MM+1/8th", OBJPROP_COLOR, OrangeRed);
ObjectSet("MM+1/8th", OBJPROP_BACK, TRUE);
ObjectSet("MM+1/8th", OBJPROP_WIDTH, 2);
ObjectSet("MM+1/8th", OBJPROP_STYLE, STYLE_SOLID);
ObjectCreate("MM+2/8ths", OBJ_HLINE, 0, Time[0], g_price_260, Time[0], g_price_260);
ObjectSet("MM+2/8ths", OBJPROP_COLOR, Red);
ObjectSet("MM+2/8ths", OBJPROP_BACK, TRUE);
ObjectSet("MM+2/8ths", OBJPROP_WIDTH, 2);
ObjectSet("MM+2/8ths", OBJPROP_STYLE, STYLE_SOLID);
if (bml_25_lines) {
ObjectCreate("mm1002", OBJ_HLINE, 0, Time[0], g_price_556, Time[0], g_price_556);
ObjectSet("mm1002", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm1002", OBJPROP_BACK, TRUE);
ObjectSet("mm1002", OBJPROP_WIDTH, 1);
ObjectSet("mm1002", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm1006", OBJ_HLINE, 0, Time[0], g_price_540, Time[0], g_price_540);
ObjectSet("mm1006", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm1006", OBJPROP_BACK, TRUE);
ObjectSet("mm1006", OBJPROP_WIDTH, 1);
ObjectSet("mm1006", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm102", OBJ_HLINE, 0, Time[0], g_price_532, Time[0], g_price_532);
ObjectSet("mm102", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm102", OBJPROP_BACK, TRUE);
ObjectSet("mm102", OBJPROP_WIDTH, 1);
ObjectSet("mm102", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm106", OBJ_HLINE, 0, Time[0], g_price_516, Time[0], g_price_516);
ObjectSet("mm106", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm106", OBJPROP_WIDTH, 1);
ObjectSet("mm106", OBJPROP_BACK, TRUE);
ObjectSet("mm106", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm02", OBJ_HLINE, 0, Time[0], g_price_508, Time[0], g_price_508);
ObjectSet("mm02", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm02", OBJPROP_BACK, TRUE);
ObjectSet("mm02", OBJPROP_WIDTH, 1);
ObjectSet("mm02", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm06", OBJ_HLINE, 0, Time[0], g_price_492, Time[0], g_price_492);
ObjectSet("mm06", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm06", OBJPROP_BACK, TRUE);
ObjectSet("mm06", OBJPROP_WIDTH, 1);
ObjectSet("mm06", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm12s", OBJ_HLINE, 0, Time[0], g_price_484, Time[0], g_price_484);
ObjectSet("mm12s", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm12s", OBJPROP_BACK, TRUE);
ObjectSet("mm12s", OBJPROP_WIDTH, 1);
ObjectSet("mm12s", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm16", OBJ_HLINE, 0, Time[0], g_price_468, Time[0], g_price_468);
ObjectSet("mm16", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm16", OBJPROP_BACK, TRUE);
ObjectSet("mm16", OBJPROP_WIDTH, 1);
ObjectSet("mm16", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm22", OBJ_HLINE, 0, Time[0], g_price_460, Time[0], g_price_460);
ObjectSet("mm22", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm22", OBJPROP_BACK, TRUE);
ObjectSet("mm22", OBJPROP_WIDTH, 1);
ObjectSet("mm22", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm26", OBJ_HLINE, 0, Time[0], g_price_444, Time[0], g_price_444);
ObjectSet("mm26", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm26", OBJPROP_BACK, TRUE);
ObjectSet("mm26", OBJPROP_WIDTH, 1);
ObjectSet("mm26", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm32", OBJ_HLINE, 0, Time[0], g_price_436, Time[0], g_price_436);
ObjectSet("mm32", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm32", OBJPROP_BACK, TRUE);
ObjectSet("mm32", OBJPROP_WIDTH, 1);
ObjectSet("mm32", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm36", OBJ_HLINE, 0, Time[0], g_price_420, Time[0], g_price_420);
ObjectSet("mm36", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm36", OBJPROP_BACK, TRUE);
ObjectSet("mm36", OBJPROP_WIDTH, 1);
ObjectSet("mm36", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm42", OBJ_HLINE, 0, Time[0], g_price_412, Time[0], g_price_412);
ObjectSet("mm42", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm42", OBJPROP_BACK, TRUE);
ObjectSet("mm42", OBJPROP_WIDTH, 1);
ObjectSet("mm42", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm46", OBJ_HLINE, 0, Time[0], g_price_396, Time[0], g_price_396);
ObjectSet("mm46", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm46", OBJPROP_BACK, TRUE);
ObjectSet("mm46", OBJPROP_WIDTH, 1);
ObjectSet("mm46", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm52", OBJ_HLINE, 0, Time[0], g_price_388, Time[0], g_price_388);
ObjectSet("mm52", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm52", OBJPROP_BACK, TRUE);
ObjectSet("mm52", OBJPROP_WIDTH, 1);
ObjectSet("mm52", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm56", OBJ_HLINE, 0, Time[0], g_price_372, Time[0], g_price_372);
ObjectSet("mm56", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm56", OBJPROP_BACK, TRUE);
ObjectSet("mm56", OBJPROP_WIDTH, 1);
ObjectSet("mm56", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm62", OBJ_HLINE, 0, Time[0], g_price_348, Time[0], g_price_348);
ObjectSet("mm62", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm62", OBJPROP_BACK, TRUE);
ObjectSet("mm62", OBJPROP_WIDTH, 1);
ObjectSet("mm62", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm66", OBJ_HLINE, 0, Time[0], g_price_364, Time[0], g_price_364);
ObjectSet("mm66", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm66", OBJPROP_BACK, TRUE);
ObjectSet("mm66", OBJPROP_WIDTH, 1);
ObjectSet("mm66", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm72", OBJ_HLINE, 0, Time[0], g_price_324, Time[0], g_price_324);
ObjectSet("mm72", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm72", OBJPROP_BACK, TRUE);
ObjectSet("mm72", OBJPROP_WIDTH, 1);
ObjectSet("mm72", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm76", OBJ_HLINE, 0, Time[0], g_price_340, Time[0], g_price_340);
ObjectSet("mm76", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm76", OBJPROP_BACK, TRUE);
ObjectSet("mm76", OBJPROP_WIDTH, 1);
ObjectSet("mm76", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm82", OBJ_HLINE, 0, Time[0], g_price_300, Time[0], g_price_300);
ObjectSet("mm82", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm82", OBJPROP_BACK, TRUE);
ObjectSet("mm82", OBJPROP_WIDTH, 1);
ObjectSet("mm82", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm86", OBJ_HLINE, 0, Time[0], g_price_316, Time[0], g_price_316);
ObjectSet("mm86", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm86", OBJPROP_BACK, TRUE);
ObjectSet("mm86", OBJPROP_WIDTH, 1);
ObjectSet("mm86", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm92", OBJ_HLINE, 0, Time[0], g_price_276, Time[0], g_price_276);
ObjectSet("mm92", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm92", OBJPROP_BACK, TRUE);
ObjectSet("mm92", OBJPROP_WIDTH, 1);
ObjectSet("mm92", OBJPROP_STYLE, bml_25_style);
ObjectCreate("mm96", OBJ_HLINE, 0, Time[0], g_price_292, Time[0], g_price_292);
ObjectSet("mm96", OBJPROP_COLOR, bml_25_color);
ObjectSet("mm96", OBJPROP_BACK, TRUE);
ObjectSet("mm96", OBJPROP_WIDTH, 1);
ObjectSet("mm96", OBJPROP_STYLE, bml_25_style);
}
if (bml_50_lines) {
ObjectCreate("mm1004", OBJ_HLINE, 0, Time[0], g_price_548, Time[0], g_price_548);
ObjectSet("mm1004", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm1004", OBJPROP_BACK, TRUE);
ObjectSet("mm1004", OBJPROP_WIDTH, 1);
ObjectSet("mm1004", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm104", OBJ_HLINE, 0, Time[0], g_price_524, Time[0], g_price_524);
ObjectSet("mm104", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm104", OBJPROP_BACK, TRUE);
ObjectSet("mm104", OBJPROP_WIDTH, 1);
ObjectSet("mm104", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm04", OBJ_HLINE, 0, Time[0], g_price_500, Time[0], g_price_500);
ObjectSet("mm04", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm04", OBJPROP_BACK, TRUE);
ObjectSet("mm04", OBJPROP_WIDTH, 1);
ObjectSet("mm04", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm14", OBJ_HLINE, 0, Time[0], g_price_476, Time[0], g_price_476);
ObjectSet("mm14", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm14", OBJPROP_BACK, TRUE);
ObjectSet("mm14", OBJPROP_WIDTH, 1);
ObjectSet("mm14", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm24", OBJ_HLINE, 0, Time[0], g_price_452, Time[0], g_price_452);
ObjectSet("mm24", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm24", OBJPROP_BACK, TRUE);
ObjectSet("mm24", OBJPROP_WIDTH, 1);
ObjectSet("mm24", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm34", OBJ_HLINE, 0, Time[0], g_price_428, Time[0], g_price_428);
ObjectSet("mm34", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm34", OBJPROP_BACK, TRUE);
ObjectSet("mm34", OBJPROP_WIDTH, 1);
ObjectSet("mm34", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm44", OBJ_HLINE, 0, Time[0], g_price_404, Time[0], g_price_404);
ObjectSet("mm44", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm44", OBJPROP_BACK, TRUE);
ObjectSet("mm44", OBJPROP_WIDTH, 1);
ObjectSet("mm44", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm54", OBJ_HLINE, 0, Time[0], g_price_380, Time[0], g_price_380);
ObjectSet("mm54", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm54", OBJPROP_BACK, TRUE);
ObjectSet("mm54", OBJPROP_WIDTH, 1);
ObjectSet("mm54", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm64", OBJ_HLINE, 0, Time[0], g_price_356, Time[0], g_price_356);
ObjectSet("mm64", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm64", OBJPROP_BACK, TRUE);
ObjectSet("mm64", OBJPROP_WIDTH, 1);
ObjectSet("mm64", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm74", OBJ_HLINE, 0, Time[0], g_price_332, Time[0], g_price_332);
ObjectSet("mm74", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm74", OBJPROP_BACK, TRUE);
ObjectSet("mm74", OBJPROP_WIDTH, 1);
ObjectSet("mm74", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm84", OBJ_HLINE, 0, Time[0], g_price_308, Time[0], g_price_308);
ObjectSet("mm84", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm84", OBJPROP_BACK, TRUE);
ObjectSet("mm84", OBJPROP_WIDTH, 1);
ObjectSet("mm84", OBJPROP_STYLE, bml_50_style);
ObjectCreate("mm94", OBJ_HLINE, 0, Time[0], g_price_284, Time[0], g_price_284);
ObjectSet("mm94", OBJPROP_COLOR, bml_50_color);
ObjectSet("mm94", OBJPROP_BACK, TRUE);
ObjectSet("mm94", OBJPROP_WIDTH, 1);
ObjectSet("mm94", OBJPROP_STYLE, bml_50_style);
}
gi_124 = Time[0];
g_timeframe_128 = Period();
}
return (0);
}
|