PDA

Zobacz pełną wersję : Pomoc na wskaźniku hilo



igp33
03-08-2010 05:44, 05:44
1 Załącznik (-i).

https://www.forex-instant.com/attachments/15292249671774969303.mq4

Oxykel77
02-08-2022 06:34, 06:34
Wstawiony kod/ --------------------------------------------- --------------------- /| HighLow_Custom.mq4 |/ ----------------------------------------------- ------------------- #property indior_chart_window #property indior_buffers 5 #property indior_color1 DodgerBlue #property indior_color2 Czekolada #property indior_color3 DodgerBlue #property indior_color4 HotPink #property indior_color5 HotPink/- --- bufory indior podwójne ExtMapBuffer1 # 91; # 93 ;; podwójne ExtMapBuffer2 # 91; # 93 ;; podwójne ExtMapBuffer3 # 91; # 93 ;; podwójne ExtMapBuffer4 # 91; # 93 ;; podwójne ExtMapBuffer5 # 91; # 93 ;; łańcuch zewnętrzny Time_Frame_value = 0, M1, M5, M15, M30, H1, H4, D1, W1, MN1; łańcuch zewnętrzny Time_Frame = D1; int timeFrame;/ ----------------------------------------------- ------------------- /| Niestandardowa funkcja inicjalizacji/ ----------------------------------------------- ------------------- int init () {if (Time_Frame == M1) {timeFrame = PERIOD_M1; } else if (Time_Frame == M5) {timeFrame = PERIOD_M5; } else if (Time_Frame == M15) {timeFrame = PERIOD_M15; } else if (Time_Frame == M30) {timeFrame = PERIOD_M30; } else if (Time_Frame == H1) {timeFrame = PERIOD_H1; } else if (Time_Frame == H4) {timeFrame = PERIOD_H4; } else if (Time_Frame == D1) {timeFrame = PERIOD_D1; } else if (Time_Frame == W1) {timeFrame = PERIOD_W1; } else if (Time_Frame == MN1) {timeFrame = PERIOD_MN1; } else {timeFrame = 0; } if (timeFrame lt; Period ()) {Alert (przedział czasowy musi być wyższy niż bieżący); deinit (); } SetIndexBuffer (0, ExtMapBuffer1); SetIndexStyle (0, DRAW_LINE); SetIndexBuffer (1, ExtMapBuffer2); SetIndexStyle (1, DRAW_LINE); SetIndexBuffer (2, ExtMapBuffer3); SetIndexStyle (2, DRAW_LINE); SetIndexBuffer (3, ExtMapBuffer4); SetIndexStyle (3, DRAW_LINE); SetIndexBuffer (4, ExtMapBuffer5); SetIndexStyle (4, DRAW_LINE); return (0); }/ ---------------------------------------------- -------------------- /| Niestandardowa funkcja deinicjalizacji |/ ----------------------------------------------- ------------------- int deinit () {Comment (); return (0); }/ ---------------------------------------------- -------------------- /| Niestandardowa funkcja iteracji |/ ----------------------------------------------- ------------------- int start () {int shift, i, CurDay, BarCount; podwójne DayMax, DayMin; double DayOpen, DayClose, Avg; for (shift = Bars-1; shiftgt; = 0; shift--) {int timeFrameIndex = iBarShift (NULL, timeFrame, Time # 91; shift # 93 ;, true); if (CurDay! = iTime (NULL, timeFrame, timeFrameIndex)) {for (i = BarCount; igt; = 0; i--) {ExtMapBuffer1 # 91; shift i # 93; = DayMax; ExtMapBuffer2 # 91; shift i # 93; = (DayMax DayMin)2; ExtMapBuffer3 # 91; shift i # 93; = DayMin; ExtMapBuffer4 # 91; shift i # 93;= (DayMax DayMin) * 0,25; ExtMapBuffer5 # 91; shift i # 93; = (DayMax DayMin) * 0,75; } CurDay = iTime (NULL, timeFrame, timeFrameIndex); BarCount = 0; DayMax = 0; DayMin = 1000; DayOpen = Open # 91; shift # 93 ;; } if (DayMax lt; High # 91; shift # 93;) {DayMax = High # 91; shift # 93 ;; } jeśli (DayMin gt; Low # 91; shift # 93;) {DayMin = Low # 91; shift # 93 ;; } BarCount = BarCount 1; } for (i = BarCount; igt; = 0; i--) {ExtMapBuffer1 # 91; shift i # 93; = DayMax; ExtMapBuffer2 # 91; shift i # 93; = (DayMax DayMin) * 0,50; ExtMapBuffer3 # 91; shift i # 93; = DayMin; ExtMapBuffer4 # 91; shift i # 93; = DayMin (DayMax-DayMin) * 0,25; ExtMapBuffer5 # 91; shift i # 93; = DayMin (DayMax-DayMin) * 0,75; } DayClose = Zamknij # 91; 0 # 93 ;; Avg = (DayMax DayMin)2; return (0); }/ ---------------------------------------------- -------------------- * Komentarz (DayMin, DoubleToStr (ExtMapBuffer3 # 91; 0 # 93 ;, Cyfry), n, .25, DoubleToStr (ExtMapBuffer4 # 91; 0 # 93 ;, Cyfry), n, .50, DoubleToStr (ExtMapBuffer2 # 91; 0 # 93 ;, Cyfry), n, .75, DoubleToStr (ExtMapBuffer5 # 91; 0 # 93 ;, Cyfry), n, DayMax, DoubleToStr (ExtMapBuffer1 # 91; 0 # 93 ;, Cyfry), n,); *

igp33
02-08-2022 07:54, 07:54
Dziękuję, przyjacielu. Podoba mi się twoja metoda.
https://www.forex-instant.com/attachments/1529224964.png

igp33
02-08-2022 09:15, 09:15
Nadal potrzebuję etykiety na każdej linii pokazującej poziom ceny, ponieważ używam dwóch osób jednocześnie. Czy ktoś może mi pomóc? Proszę ... Dziękuję z góry
https://www.forex-instant.com/attachments/1529224964.png

Epgilok44
02-08-2022 10:36, 10:36
1 Attachment (s) może ktoś umieścić opcję zmiany na tym indior proszę? (jest tym samym, o którym mowa w tym wątku, ale ja i tak go tutaj opublikuję) dzięki, ~ Tim
https://www.forex-instant.com/attachments/15292249691094153859.mq4