-
Notifications
You must be signed in to change notification settings - Fork 1
/
DashBoard-Anil Panchal.mq4
762 lines (757 loc) · 37.4 KB
/
DashBoard-Anil Panchal.mq4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
/*
Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []
Website: http://purebeam.biz
E-mail : purebeam@gmail.com
*/
#property copyright "Copyright © 2007."
#property link "http://www.ekosignal.com"
#property indicator_chart_window
int gi_unused_76 = 7;
extern bool Corner_of_Chart_RIGHT_TOP = TRUE;
extern bool Show_Price = TRUE;
extern bool Show_Xtra_Details = TRUE;
extern bool Show_Smaller_Size = TRUE;
int gi_100 = 0;
int gi_104 = 20;
int g_color_108 = LightSteelBlue;
int g_color_112 = LightSteelBlue;
int g_period_116 = 12;
int g_period_120 = 26;
int g_period_124 = 9;
int g_applied_price_128 = PRICE_CLOSE;
int g_period_132 = 14;
int g_applied_price_136 = PRICE_CLOSE;
int g_period_140 = 13;
int g_applied_price_144 = PRICE_CLOSE;
int g_period_148 = 5;
int g_period_152 = 3;
int g_slowing_156 = 3;
int g_ma_method_160 = MODE_EMA;
int g_period_164 = 5;
int g_period_168 = 9;
int g_ma_method_172 = MODE_EMA;
int g_applied_price_176 = PRICE_CLOSE;
int init() {
return (0);
}
int deinit() {
ObjectsDeleteAll(0, OBJ_LABEL);
return (0);
}
int start() {
color l_color_0;
color l_color_4;
color l_color_8;
color l_color_12;
color l_color_16;
color l_color_20;
color l_color_24;
color l_color_28;
color l_color_32;
color l_color_36;
color l_color_40;
color l_color_44;
color l_color_48;
color l_color_52;
string ls_unused_56;
color l_color_64;
color l_color_68;
int l_ind_counted_72 = IndicatorCounted();
string l_text_76 = "";
string l_text_84 = "";
string l_text_92 = "";
string l_text_100 = "";
string l_text_108 = "";
string l_text_116 = "";
string l_text_124 = "";
double l_imacd_132 = iMACD(NULL, PERIOD_M1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_140 = iMACD(NULL, PERIOD_M1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_148 = iMACD(NULL, PERIOD_M5, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_156 = iMACD(NULL, PERIOD_M5, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_164 = iMACD(NULL, PERIOD_M15, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_172 = iMACD(NULL, PERIOD_M15, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_180 = iMACD(NULL, PERIOD_M30, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_188 = iMACD(NULL, PERIOD_M30, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_196 = iMACD(NULL, PERIOD_H1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_204 = iMACD(NULL, PERIOD_H1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_212 = iMACD(NULL, PERIOD_H4, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_220 = iMACD(NULL, PERIOD_H4, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
double l_imacd_228 = iMACD(NULL, PERIOD_D1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_MAIN, 0);
double l_imacd_236 = iMACD(NULL, PERIOD_D1, g_period_116, g_period_120, g_period_124, g_applied_price_128, MODE_SIGNAL, 0);
if (l_imacd_132 > l_imacd_140) {
l_text_100 = "-";
l_color_12 = Green;
}
if (l_imacd_132 <= l_imacd_140) {
l_text_100 = "-";
l_color_12 = Tomato;
}
if (l_imacd_132 > l_imacd_140 && l_imacd_132 > 0.0) {
l_text_100 = "-";
l_color_12 = Lime;
}
if (l_imacd_132 <= l_imacd_140 && l_imacd_132 < 0.0) {
l_text_100 = "-";
l_color_12 = Red;
}
if (l_imacd_148 > l_imacd_156) {
l_text_108 = "-";
l_color_16 = Green;
}
if (l_imacd_148 <= l_imacd_156) {
l_text_108 = "-";
l_color_16 = Tomato;
}
if (l_imacd_148 > l_imacd_156 && l_imacd_148 > 0.0) {
l_text_108 = "-";
l_color_16 = Lime;
}
if (l_imacd_148 <= l_imacd_156 && l_imacd_148 < 0.0) {
l_text_108 = "-";
l_color_16 = Red;
}
if (l_imacd_164 > l_imacd_172) {
l_text_116 = "-";
l_color_20 = Green;
}
if (l_imacd_164 <= l_imacd_172) {
l_text_116 = "-";
l_color_20 = Tomato;
}
if (l_imacd_164 > l_imacd_172 && l_imacd_164 > 0.0) {
l_text_116 = "-";
l_color_20 = Lime;
}
if (l_imacd_164 <= l_imacd_172 && l_imacd_164 < 0.0) {
l_text_116 = "-";
l_color_20 = Red;
}
if (l_imacd_180 > l_imacd_188) {
l_text_124 = "-";
l_color_24 = Green;
}
if (l_imacd_180 <= l_imacd_188) {
l_text_124 = "-";
l_color_24 = Tomato;
}
if (l_imacd_180 > l_imacd_188 && l_imacd_180 > 0.0) {
l_text_124 = "-";
l_color_24 = Lime;
}
if (l_imacd_180 <= l_imacd_188 && l_imacd_180 < 0.0) {
l_text_124 = "-";
l_color_24 = Red;
}
if (l_imacd_196 > l_imacd_204) {
l_text_84 = "-";
l_color_4 = Green;
}
if (l_imacd_196 <= l_imacd_204) {
l_text_84 = "-";
l_color_4 = Tomato;
}
if (l_imacd_196 > l_imacd_204 && l_imacd_196 > 0.0) {
l_text_84 = "-";
l_color_4 = Lime;
}
if (l_imacd_196 <= l_imacd_204 && l_imacd_196 < 0.0) {
l_text_84 = "-";
l_color_4 = Red;
}
if (l_imacd_212 > l_imacd_220) {
l_text_92 = "-";
l_color_8 = Green;
}
if (l_imacd_212 <= l_imacd_220) {
l_text_92 = "-";
l_color_8 = Tomato;
}
if (l_imacd_212 > l_imacd_220 && l_imacd_212 > 0.0) {
l_text_92 = "-";
l_color_8 = Lime;
}
if (l_imacd_212 <= l_imacd_220 && l_imacd_212 < 0.0) {
l_text_92 = "-";
l_color_8 = Red;
}
if (l_imacd_228 > l_imacd_236) {
l_text_76 = "-";
l_color_0 = Green;
}
if (l_imacd_228 <= l_imacd_236) {
l_text_76 = "-";
l_color_0 = Tomato;
}
if (l_imacd_228 > l_imacd_236 && l_imacd_228 > 0.0) {
l_text_76 = "-";
l_color_0 = Lime;
}
if (l_imacd_228 <= l_imacd_236 && l_imacd_228 < 0.0) {
l_text_76 = "-";
l_color_0 = Red;
}
if (Corner_of_Chart_RIGHT_TOP == 1) {
ObjectCreate("Numbers", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Numbers", " M1 M5 M15 M30 H1 H4 D1", 6, "Tahoma Narrow", g_color_108);
ObjectSet("Numbers", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("Numbers", OBJPROP_XDISTANCE, gi_104 + 19);
ObjectSet("Numbers", OBJPROP_YDISTANCE, gi_100 + 25);
}
if (Corner_of_Chart_RIGHT_TOP == 0) {
ObjectCreate("Numbers", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Numbers", "D1 H4 H1 M30 M15 M5 M1", 6, "Tahoma Narrow", g_color_108);
ObjectSet("Numbers", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("Numbers", OBJPROP_XDISTANCE, gi_104 + 15);
ObjectSet("Numbers", OBJPROP_YDISTANCE, gi_100 + 25);
}
ObjectCreate("SSignalMACDM1t", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDM1t", "MACD", 6, "Tahoma Narrow", g_color_108);
ObjectSet("SSignalMACDM1t", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDM1t", OBJPROP_XDISTANCE, gi_104 + 155);
ObjectSet("SSignalMACDM1t", OBJPROP_YDISTANCE, gi_100 + 35);
ObjectCreate("SSignalMACDM1", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDM1", l_text_100, 45, "Tahoma Narrow", l_color_12);
ObjectSet("SSignalMACDM1", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDM1", OBJPROP_XDISTANCE, gi_104 + 130);
ObjectSet("SSignalMACDM1", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDM5", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDM5", l_text_108, 45, "Tahoma Narrow", l_color_16);
ObjectSet("SSignalMACDM5", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDM5", OBJPROP_XDISTANCE, gi_104 + 110);
ObjectSet("SSignalMACDM5", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDM15", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDM15", l_text_116, 45, "Tahoma Narrow", l_color_20);
ObjectSet("SSignalMACDM15", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDM15", OBJPROP_XDISTANCE, gi_104 + 90);
ObjectSet("SSignalMACDM15", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDM30", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDM30", l_text_124, 45, "Tahoma Narrow", l_color_24);
ObjectSet("SSignalMACDM30", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDM30", OBJPROP_XDISTANCE, gi_104 + 70);
ObjectSet("SSignalMACDM30", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDH1", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDH1", l_text_84, 45, "Tahoma Narrow", l_color_4);
ObjectSet("SSignalMACDH1", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDH1", OBJPROP_XDISTANCE, gi_104 + 50);
ObjectSet("SSignalMACDH1", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDH4", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDH4", l_text_92, 45, "Tahoma Narrow", l_color_8);
ObjectSet("SSignalMACDH4", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDH4", OBJPROP_XDISTANCE, gi_104 + 30);
ObjectSet("SSignalMACDH4", OBJPROP_YDISTANCE, gi_100 + 2);
ObjectCreate("SSignalMACDD1", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SSignalMACDD1", l_text_76, 45, "Tahoma Narrow", l_color_0);
ObjectSet("SSignalMACDD1", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SSignalMACDD1", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("SSignalMACDD1", OBJPROP_YDISTANCE, gi_100 + 2);
double l_irsi_244 = iRSI(NULL, PERIOD_D1, g_period_132, g_applied_price_136, 0);
double l_irsi_252 = iRSI(NULL, PERIOD_H4, g_period_132, g_applied_price_136, 0);
double l_irsi_260 = iRSI(NULL, PERIOD_H1, g_period_132, g_applied_price_136, 0);
double l_irsi_268 = iRSI(NULL, PERIOD_M30, g_period_132, g_applied_price_136, 0);
double l_irsi_276 = iRSI(NULL, PERIOD_M15, g_period_132, g_applied_price_136, 0);
double l_irsi_284 = iRSI(NULL, PERIOD_M5, g_period_132, g_applied_price_136, 0);
double l_irsi_292 = iRSI(NULL, PERIOD_M1, g_period_132, g_applied_price_136, 0);
double l_istochastic_300 = iStochastic(NULL, PERIOD_D1, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_308 = iStochastic(NULL, PERIOD_H4, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_316 = iStochastic(NULL, PERIOD_H1, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_324 = iStochastic(NULL, PERIOD_M30, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_332 = iStochastic(NULL, PERIOD_M15, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_340 = iStochastic(NULL, PERIOD_M5, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_istochastic_348 = iStochastic(NULL, PERIOD_M1, g_period_148, g_period_152, g_slowing_156, g_ma_method_160, 0, MODE_MAIN, 0);
double l_icci_356 = iCCI(NULL, PERIOD_D1, g_period_140, g_applied_price_144, 0);
double l_icci_364 = iCCI(NULL, PERIOD_H4, g_period_140, g_applied_price_144, 0);
double l_icci_372 = iCCI(NULL, PERIOD_H1, g_period_140, g_applied_price_144, 0);
double l_icci_380 = iCCI(NULL, PERIOD_M30, g_period_140, g_applied_price_144, 0);
double l_icci_388 = iCCI(NULL, PERIOD_M15, g_period_140, g_applied_price_144, 0);
double l_icci_396 = iCCI(NULL, PERIOD_M5, g_period_140, g_applied_price_144, 0);
double l_icci_404 = iCCI(NULL, PERIOD_M1, g_period_140, g_applied_price_144, 0);
string l_text_412 = "";
string l_text_420 = "";
string l_text_428 = "";
string l_text_436 = "";
string l_text_444 = "";
string l_text_452 = "";
string l_text_460 = "";
string ls_unused_468 = "";
l_text_460 = "-";
color l_color_476 = Orange;
l_text_444 = "-";
color l_color_480 = Orange;
l_text_412 = "-";
color l_color_484 = Orange;
l_text_452 = "-";
color l_color_488 = Orange;
l_text_420 = "-";
color l_color_492 = Orange;
l_text_428 = "-";
color l_color_496 = Orange;
l_text_436 = "-";
color l_color_500 = Orange;
if (l_irsi_244 > 50.0 && l_istochastic_300 > 40.0 && l_icci_356 > 0.0) {
l_text_460 = "-";
l_color_476 = Lime;
}
if (l_irsi_252 > 50.0 && l_istochastic_308 > 40.0 && l_icci_364 > 0.0) {
l_text_444 = "-";
l_color_480 = Lime;
}
if (l_irsi_260 > 50.0 && l_istochastic_316 > 40.0 && l_icci_372 > 0.0) {
l_text_412 = "-";
l_color_484 = Lime;
}
if (l_irsi_268 > 50.0 && l_istochastic_324 > 40.0 && l_icci_380 > 0.0) {
l_text_452 = "-";
l_color_488 = Lime;
}
if (l_irsi_276 > 50.0 && l_istochastic_332 > 40.0 && l_icci_388 > 0.0) {
l_text_420 = "-";
l_color_492 = Lime;
}
if (l_irsi_284 > 50.0 && l_istochastic_340 > 40.0 && l_icci_396 > 0.0) {
l_text_428 = "-";
l_color_496 = Lime;
}
if (l_irsi_292 > 50.0 && l_istochastic_348 > 40.0 && l_icci_404 > 0.0) {
l_text_436 = "-";
l_color_500 = Lime;
}
if (l_irsi_244 < 50.0 && l_istochastic_300 < 60.0 && l_icci_356 < 0.0) {
l_text_460 = "-";
l_color_476 = Red;
}
if (l_irsi_252 < 50.0 && l_istochastic_308 < 60.0 && l_icci_364 < 0.0) {
l_text_444 = "-";
l_color_480 = Red;
}
if (l_irsi_260 < 50.0 && l_istochastic_316 < 60.0 && l_icci_372 < 0.0) {
l_text_412 = "-";
l_color_484 = Red;
}
if (l_irsi_268 < 50.0 && l_istochastic_324 < 60.0 && l_icci_380 < 0.0) {
l_text_452 = "-";
l_color_488 = Red;
}
if (l_irsi_276 < 50.0 && l_istochastic_332 < 60.0 && l_icci_388 < 0.0) {
l_text_420 = "-";
l_color_492 = Red;
}
if (l_irsi_284 < 50.0 && l_istochastic_340 < 60.0 && l_icci_396 < 0.0) {
l_text_428 = "-";
l_color_496 = Red;
}
if (l_irsi_292 < 50.0 && l_istochastic_348 < 60.0 && l_icci_404 < 0.0) {
l_text_436 = "-";
l_color_500 = Red;
}
ObjectCreate("SignalSTRM1t", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM1t", "STR", 6, "Tahoma Narrow", g_color_108);
ObjectSet("SignalSTRM1t", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM1t", OBJPROP_XDISTANCE, gi_104 + 155);
ObjectSet("SignalSTRM1t", OBJPROP_YDISTANCE, gi_100 + 43);
ObjectCreate("SignalSTRM1", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM1", l_text_436, 45, "Tahoma Narrow", l_color_500);
ObjectSet("SignalSTRM1", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM1", OBJPROP_XDISTANCE, gi_104 + 130);
ObjectSet("SignalSTRM1", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM5", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM5", l_text_428, 45, "Tahoma Narrow", l_color_496);
ObjectSet("SignalSTRM5", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM5", OBJPROP_XDISTANCE, gi_104 + 110);
ObjectSet("SignalSTRM5", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM15", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM15", l_text_420, 45, "Tahoma Narrow", l_color_492);
ObjectSet("SignalSTRM15", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM15", OBJPROP_XDISTANCE, gi_104 + 90);
ObjectSet("SignalSTRM15", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM30", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM30", l_text_452, 45, "Tahoma Narrow", l_color_488);
ObjectSet("SignalSTRM30", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM30", OBJPROP_XDISTANCE, gi_104 + 70);
ObjectSet("SignalSTRM30", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM60", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM60", l_text_412, 45, "Tahoma Narrow", l_color_484);
ObjectSet("SignalSTRM60", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM60", OBJPROP_XDISTANCE, gi_104 + 50);
ObjectSet("SignalSTRM60", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM240", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM240", l_text_444, 45, "Tahoma Narrow", l_color_480);
ObjectSet("SignalSTRM240", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM240", OBJPROP_XDISTANCE, gi_104 + 30);
ObjectSet("SignalSTRM240", OBJPROP_YDISTANCE, gi_100 + 10);
ObjectCreate("SignalSTRM1440", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalSTRM1440", l_text_460, 45, "Tahoma Narrow", l_color_476);
ObjectSet("SignalSTRM1440", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalSTRM1440", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("SignalSTRM1440", OBJPROP_YDISTANCE, gi_100 + 10);
double l_ima_504 = iMA(Symbol(), PERIOD_M1, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_512 = iMA(Symbol(), PERIOD_M1, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_520 = iMA(Symbol(), PERIOD_M5, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_528 = iMA(Symbol(), PERIOD_M5, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_536 = iMA(Symbol(), PERIOD_M15, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_544 = iMA(Symbol(), PERIOD_M15, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_552 = iMA(Symbol(), PERIOD_M30, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_560 = iMA(Symbol(), PERIOD_M30, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_568 = iMA(Symbol(), PERIOD_H1, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_576 = iMA(Symbol(), PERIOD_H1, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_584 = iMA(Symbol(), PERIOD_H4, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_592 = iMA(Symbol(), PERIOD_H4, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_600 = iMA(Symbol(), PERIOD_D1, g_period_164, 0, g_ma_method_172, g_applied_price_176, 0);
double l_ima_608 = iMA(Symbol(), PERIOD_D1, g_period_168, 0, g_ma_method_172, g_applied_price_176, 0);
string l_text_616 = "";
string l_text_624 = "";
string l_text_632 = "";
string l_text_640 = "";
string l_text_648 = "";
string l_text_656 = "";
string l_text_664 = "";
if (l_ima_504 > l_ima_512) {
l_text_616 = "-";
l_color_28 = Lime;
}
if (l_ima_504 <= l_ima_512) {
l_text_616 = "-";
l_color_28 = Red;
}
if (l_ima_520 > l_ima_528) {
l_text_624 = "-";
l_color_32 = Lime;
}
if (l_ima_520 <= l_ima_528) {
l_text_624 = "-";
l_color_32 = Red;
}
if (l_ima_536 > l_ima_544) {
l_text_632 = "-";
l_color_36 = Lime;
}
if (l_ima_536 <= l_ima_544) {
l_text_632 = "-";
l_color_36 = Red;
}
if (l_ima_552 > l_ima_560) {
l_text_640 = "-";
l_color_40 = Lime;
}
if (l_ima_552 <= l_ima_560) {
l_text_640 = "-";
l_color_40 = Red;
}
if (l_ima_568 > l_ima_576) {
l_text_648 = "-";
l_color_44 = Lime;
}
if (l_ima_568 <= l_ima_576) {
l_text_648 = "-";
l_color_44 = Red;
}
if (l_ima_584 > l_ima_592) {
l_text_656 = "-";
l_color_48 = Lime;
}
if (l_ima_584 <= l_ima_592) {
l_text_656 = "-";
l_color_48 = Red;
}
if (l_ima_600 > l_ima_608) {
l_text_664 = "-";
l_color_52 = Lime;
}
if (l_ima_600 <= l_ima_608) {
l_text_664 = "-";
l_color_52 = Red;
}
ObjectCreate("SignalEMAM1t", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM1t", "EMA", 6, "Tahoma Narrow", g_color_108);
ObjectSet("SignalEMAM1t", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM1t", OBJPROP_XDISTANCE, gi_104 + 155);
ObjectSet("SignalEMAM1t", OBJPROP_YDISTANCE, gi_100 + 51);
ObjectCreate("SignalEMAM1", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM1", l_text_616, 45, "Tahoma Narrow", l_color_28);
ObjectSet("SignalEMAM1", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM1", OBJPROP_XDISTANCE, gi_104 + 130);
ObjectSet("SignalEMAM1", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM5", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM5", l_text_624, 45, "Tahoma Narrow", l_color_32);
ObjectSet("SignalEMAM5", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM5", OBJPROP_XDISTANCE, gi_104 + 110);
ObjectSet("SignalEMAM5", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM15", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM15", l_text_632, 45, "Tahoma Narrow", l_color_36);
ObjectSet("SignalEMAM15", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM15", OBJPROP_XDISTANCE, gi_104 + 90);
ObjectSet("SignalEMAM15", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM30", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM30", l_text_640, 45, "Tahoma Narrow", l_color_40);
ObjectSet("SignalEMAM30", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM30", OBJPROP_XDISTANCE, gi_104 + 70);
ObjectSet("SignalEMAM30", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM60", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM60", l_text_648, 45, "Tahoma Narrow", l_color_44);
ObjectSet("SignalEMAM60", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM60", OBJPROP_XDISTANCE, gi_104 + 50);
ObjectSet("SignalEMAM60", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM240", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM240", l_text_656, 45, "Tahoma Narrow", l_color_48);
ObjectSet("SignalEMAM240", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM240", OBJPROP_XDISTANCE, gi_104 + 30);
ObjectSet("SignalEMAM240", OBJPROP_YDISTANCE, gi_100 + 18);
ObjectCreate("SignalEMAM1440", OBJ_LABEL, 0, 0, 0);
ObjectSetText("SignalEMAM1440", l_text_664, 45, "Tahoma Narrow", l_color_52);
ObjectSet("SignalEMAM1440", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("SignalEMAM1440", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("SignalEMAM1440", OBJPROP_YDISTANCE, gi_100 + 18);
double l_ima_672 = iMA(Symbol(), 0, 1, 0, MODE_EMA, PRICE_CLOSE, 0);
string l_dbl2str_680 = DoubleToStr(l_ima_672, Digits);
if (Show_Smaller_Size == FALSE) {
if (Show_Price == TRUE) {
ObjectCreate("Signalprice", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Signalprice", "" + l_dbl2str_680 + "", 33, "Arial", l_color_488);
ObjectSet("Signalprice", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("Signalprice", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("Signalprice", OBJPROP_YDISTANCE, gi_100 + 58);
}
}
if (Show_Smaller_Size == TRUE) {
if (Show_Price == TRUE) {
ObjectCreate("Signalprice", OBJ_LABEL, 0, 0, 0);
ObjectSetText("Signalprice", "" + l_dbl2str_680 + "", 15, "Arial", l_color_488);
ObjectSet("Signalprice", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("Signalprice", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("Signalprice", OBJPROP_YDISTANCE, gi_100 + 60);
}
}
int li_688 = 0;
int li_692 = 0;
int li_696 = 0;
int li_700 = 0;
int li_704 = 0;
int li_708 = 0;
li_688 = (iHigh(NULL, PERIOD_D1, 1) - iLow(NULL, PERIOD_D1, 1)) / Point;
for (li_708 = 1; li_708 <= 5; li_708++) li_692 = li_692 + (iHigh(NULL, PERIOD_D1, li_708) - iLow(NULL, PERIOD_D1, li_708)) / Point;
for (li_708 = 1; li_708 <= 10; li_708++) li_696 = li_696 + (iHigh(NULL, PERIOD_D1, li_708) - iLow(NULL, PERIOD_D1, li_708)) / Point;
for (li_708 = 1; li_708 <= 20; li_708++) li_700 = li_700 + (iHigh(NULL, PERIOD_D1, li_708) - iLow(NULL, PERIOD_D1, li_708)) / Point;
li_692 /= 5;
li_696 /= 10;
li_700 /= 20;
li_704 = (li_688 + li_692 + li_696 + li_700) / 4;
string ls_unused_712 = "";
string ls_unused_720 = "";
string l_dbl2str_728 = "";
string l_dbl2str_736 = "";
string l_dbl2str_744 = "";
string l_dbl2str_752 = "";
string ls_unused_760 = "";
string ls_unused_768 = "";
string ls_776 = "";
double l_iopen_784 = iOpen(NULL, PERIOD_D1, 0);
double l_iclose_792 = iClose(NULL, PERIOD_D1, 0);
double ld_800 = (Ask - Bid) / Point;
double l_ihigh_808 = iHigh(NULL, PERIOD_D1, 0);
double l_ilow_816 = iLow(NULL, PERIOD_D1, 0);
l_dbl2str_736 = DoubleToStr((l_iclose_792 - l_iopen_784) / Point, 0);
l_dbl2str_728 = DoubleToStr(ld_800, Digits - 4);
l_dbl2str_744 = DoubleToStr(li_704, Digits - 4);
ls_776 = (iHigh(NULL, PERIOD_D1, 1) - iLow(NULL, PERIOD_D1, 1)) / Point;
l_dbl2str_752 = DoubleToStr((l_ihigh_808 - l_ilow_816) / Point, 0);
if (l_iclose_792 >= l_iopen_784) {
ls_unused_760 = "-";
l_color_64 = Lime;
}
if (l_iclose_792 < l_iopen_784) {
ls_unused_760 = "-";
l_color_64 = OrangeRed;
}
if (l_dbl2str_744 > ls_776) {
ls_unused_768 = "-";
l_color_68 = Lime;
}
if (l_dbl2str_744 < ls_776) {
ls_unused_768 = "-";
l_color_68 = OrangeRed;
}
if (Show_Smaller_Size == FALSE) {
if (Show_Xtra_Details == TRUE) {
if (Show_Price == TRUE) {
ObjectCreate("MMLEVELS7", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS7", "Spread", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS7", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS7", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS7", OBJPROP_YDISTANCE, gi_100 + 100);
ObjectCreate("MMLEVELS8", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS8", "" + l_dbl2str_728 + "", 12, "Arial Bold", Gold);
ObjectSet("MMLEVELS8", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS8", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS8", OBJPROP_YDISTANCE, gi_100 + 100);
ObjectCreate("MMLEVELS9", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS9", "Pips to Open", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS9", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS9", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS9", OBJPROP_YDISTANCE, gi_100 + 115);
ObjectCreate("MMLEVELS10", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS10", "" + l_dbl2str_736 + "", 12, "Arial Bold", l_color_64);
ObjectSet("MMLEVELS10", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS10", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS10", OBJPROP_YDISTANCE, gi_100 + 115);
ObjectCreate("MMLEVELS11", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS11", "Hi to Low", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS11", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS11", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS11", OBJPROP_YDISTANCE, gi_100 + 130);
ObjectCreate("MMLEVELS12", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS12", "" + l_dbl2str_752 + "", 12, "Arial Bold", Gold);
ObjectSet("MMLEVELS12", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS12", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS12", OBJPROP_YDISTANCE, gi_100 + 130);
ObjectCreate("MMLEVELS13", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS13", "Daily Av", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS13", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS13", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS13", OBJPROP_YDISTANCE, gi_100 + 145);
ObjectCreate("MMLEVELS14", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS14", "" + l_dbl2str_744 + "", 12, "Arial Bold", l_color_68);
ObjectSet("MMLEVELS14", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS14", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS14", OBJPROP_YDISTANCE, gi_100 + 145);
}
}
}
if (Show_Smaller_Size == FALSE) {
if (Show_Xtra_Details == TRUE) {
if (Show_Price == FALSE) {
ObjectCreate("MMLEVELS7", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS7", "Spread", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS7", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS7", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS7", OBJPROP_YDISTANCE, gi_100 + 60);
ObjectCreate("MMLEVELS8", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS8", "" + l_dbl2str_728 + "", 12, "Arial Bold", Gold);
ObjectSet("MMLEVELS8", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS8", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS8", OBJPROP_YDISTANCE, gi_100 + 60);
ObjectCreate("MMLEVELS9", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS9", "Pips to Open", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS9", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS9", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS9", OBJPROP_YDISTANCE, gi_100 + 75);
ObjectCreate("MMLEVELS10", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS10", "" + l_dbl2str_736 + "", 12, "Arial Bold", l_color_64);
ObjectSet("MMLEVELS10", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS10", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS10", OBJPROP_YDISTANCE, gi_100 + 75);
ObjectCreate("MMLEVELS11", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS11", "Hi to Low", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS11", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS11", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS11", OBJPROP_YDISTANCE, gi_100 + 90);
ObjectCreate("MMLEVELS12", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS12", "" + l_dbl2str_752 + "", 12, "Arial Bold", Gold);
ObjectSet("MMLEVELS12", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS12", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS12", OBJPROP_YDISTANCE, gi_100 + 90);
ObjectCreate("MMLEVELS13", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS13", "Daily Av", 12, "Arial", g_color_112);
ObjectSet("MMLEVELS13", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS13", OBJPROP_XDISTANCE, gi_104 + 45);
ObjectSet("MMLEVELS13", OBJPROP_YDISTANCE, gi_100 + 105);
ObjectCreate("MMLEVELS14", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS14", "" + l_dbl2str_744 + "", 12, "Arial Bold", l_color_68);
ObjectSet("MMLEVELS14", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS14", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS14", OBJPROP_YDISTANCE, gi_100 + 105);
}
}
}
if (Show_Smaller_Size == TRUE) {
if (Show_Xtra_Details == TRUE) {
if (Show_Price == TRUE) {
ObjectCreate("MMLEVELS7", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS7", "Spread", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS7", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS7", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS7", OBJPROP_YDISTANCE, gi_100 + 80);
ObjectCreate("MMLEVELS8", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS8", "" + l_dbl2str_728 + "", 9, "Arial Bold", Gold);
ObjectSet("MMLEVELS8", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS8", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS8", OBJPROP_YDISTANCE, gi_100 + 80);
ObjectCreate("MMLEVELS9", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS9", "Pips to Open", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS9", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS9", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS9", OBJPROP_YDISTANCE, gi_100 + 95);
ObjectCreate("MMLEVELS10", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS10", "" + l_dbl2str_736 + "", 9, "Arial Bold", l_color_64);
ObjectSet("MMLEVELS10", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS10", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS10", OBJPROP_YDISTANCE, gi_100 + 95);
ObjectCreate("MMLEVELS11", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS11", "Hi to Low", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS11", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS11", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS11", OBJPROP_YDISTANCE, gi_100 + 110);
ObjectCreate("MMLEVELS12", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS12", "" + l_dbl2str_752 + "", 9, "Arial Bold", Gold);
ObjectSet("MMLEVELS12", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS12", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS12", OBJPROP_YDISTANCE, gi_100 + 110);
ObjectCreate("MMLEVELS13", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS13", "Daily Av", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS13", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS13", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS13", OBJPROP_YDISTANCE, gi_100 + 125);
ObjectCreate("MMLEVELS14", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS14", "" + l_dbl2str_744 + "", 9, "Arial Bold", l_color_68);
ObjectSet("MMLEVELS14", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS14", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS14", OBJPROP_YDISTANCE, gi_100 + 125);
}
}
}
if (Show_Smaller_Size == TRUE) {
if (Show_Xtra_Details == TRUE) {
if (Show_Price == FALSE) {
ObjectCreate("MMLEVELS7", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS7", "Spread", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS7", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS7", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS7", OBJPROP_YDISTANCE, gi_100 + 60);
ObjectCreate("MMLEVELS8", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS8", "" + l_dbl2str_728 + "", 9, "Arial Bold", Gold);
ObjectSet("MMLEVELS8", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS8", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS8", OBJPROP_YDISTANCE, gi_100 + 60);
ObjectCreate("MMLEVELS9", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS9", "Pips to Open", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS9", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS9", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS9", OBJPROP_YDISTANCE, gi_100 + 75);
ObjectCreate("MMLEVELS10", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS10", "" + l_dbl2str_736 + "", 9, "Arial Bold", l_color_64);
ObjectSet("MMLEVELS10", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS10", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS10", OBJPROP_YDISTANCE, gi_100 + 75);
ObjectCreate("MMLEVELS11", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS11", "Hi to Low", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS11", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS11", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS11", OBJPROP_YDISTANCE, gi_100 + 90);
ObjectCreate("MMLEVELS12", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS12", "" + l_dbl2str_752 + "", 9, "Arial Bold", Gold);
ObjectSet("MMLEVELS12", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS12", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS12", OBJPROP_YDISTANCE, gi_100 + 90);
ObjectCreate("MMLEVELS13", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS13", "Daily Av", 9, "Arial", g_color_112);
ObjectSet("MMLEVELS13", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS13", OBJPROP_XDISTANCE, gi_104 + 40);
ObjectSet("MMLEVELS13", OBJPROP_YDISTANCE, gi_100 + 105);
ObjectCreate("MMLEVELS14", OBJ_LABEL, 0, 0, 0);
ObjectSetText("MMLEVELS14", "" + l_dbl2str_744 + "", 9, "Arial Bold", l_color_68);
ObjectSet("MMLEVELS14", OBJPROP_CORNER, Corner_of_Chart_RIGHT_TOP);
ObjectSet("MMLEVELS14", OBJPROP_XDISTANCE, gi_104 + 10);
ObjectSet("MMLEVELS14", OBJPROP_YDISTANCE, gi_100 + 105);
}
}
}
return (0);
}