• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER скачать в хорошем качестве

MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER 5 лет назад

скачать видео

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER в качестве 4k

У нас вы можете посмотреть бесплатно MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

  • Информация по загрузке:

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



MQL4 TUTORIAL BASICS - 75 SIMPLE TIME FILTER

https://mql4tutorial.com With MQL4 for Metatrader4 we create an Expert Advisor to allow or disallow trading based on a start time and a stop time. We are using datetime to get the current time and allow or disallow automated trading. In this video we will create a filter that is going to allow or disallow trading based on the current time so let's find out how to do that with mql4. To get started please click on a little icon here or press F4 on your keyboard. Now you should see the Metaeditor window and here you want to click on file, new file, expert advisor from template, continue, I will call this file, simple time filter, click on continue, continue and finish. Now you can remove everything above the ontick function and the two comment lines here. We start by creating an input string for the start trading time, this one is set to 9:00 am but I will change it to 1:00 am in this case, the input modifier will allow any user to change the values in the expert properties tab without any recompilation, we also need a stop trading time, this is set to 10:00 am so trading will be allowed between 1:00 am and 10:00 am, obviously we need to find out if the current time is between those two timestamps, so let's create a variable current time, and finally, we want to allow or disallow trading that's done with this variable, trading is allowed, it's a bool so it can either be true or false. Inside of the ontick function, we start by getting the current time that's a datetime variable and we are using the function time local, so let's mark that and press F1 and we learn that it returns the local time of the computer where the client terminal is running so that's your PC and in the next step we use time to string to convert the time that we have calculated, we want to use a special format called time underscore minutes, let's mark that and press F1 and now you see that we will get this format, hours and minutes divided by a colon. To check for the entry conditions we are going to use a function that is called check trading time and if the return value is true we consider to open a position, this function doesn't exist so far so we need to code it later on. The second entry condition will be if orders total returns a value of zero so this is true when we have no open orders or no open positions and if both conditions are true we are going to use order send to buy ten micro lot. Obviously, you wouldn't do that on a real account you would add other things like entry signals from an indicator or something like that but for this simple example, it's good enough. Let's add a chart output the comment statement will output if trading is allowed, the current time, the start trading time and the stop trading time that we have defined but now we need to create this function here, it is called check trading time and it's boolean so it can either return true or false. In mql4 that will be represented by zero for false and one would be true and to set the trading allowed variable we are going to look into the current time, we are using string substring to find a certain value and the value that we are looking for is the start trading time, let's mark that and press F1. String substring has an original string and we are going to look for the value inside of the string, the starting position in our case is zero, the second parameter is for the length of the substring, in our case it's five and if we can find the defined start trading time within the current time we will set the trading is allowed variable to true. Otherwise, if the current time contains the defined stop trading time we would set the trading is allowed variable to false. Finally, we use the return statement to return the trading is allowed result to the main function and that's about it. If this was too fast for you or if you have no idea what all the code here does maybe you want to watch one of the other videos in this basic video series first or maybe even the premium course on our website might be interesting for you. This was another suggestion that came from a premium course member and if you are already a premium course member and have an idea for a video like this one please let me know. For now, please click on the compile button or press F7 on your keyboard you shouldn't get any errors here and if this is the case you can click on a little button here or press F4 to go back to Metatrader. And inside Metatrader we click on view, strategy tester or press control and r, please pick the new file simple time filter dot ex4, mark the option for the visual mode here and start your test. Here we are! The current start writing time is 1:00 am so within a few seconds we should see the first position right here on the chart and the filter should switch to one, that happened right now, now let's click on stop, go to the expert properties and we are going to change the start reading time here, restart the test and this time we should see the first trade

Comments
  • MQL4 TUTORIAL BASICS - 89 SIMPLE HIGH PRICE TREND LINE 5 лет назад
    MQL4 TUTORIAL BASICS - 89 SIMPLE HIGH PRICE TREND LINE
    Опубликовано: 5 лет назад
  • Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3 1 год назад
    Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3
    Опубликовано: 1 год назад
  • How to run MQL4 or MQL5 code only one time for each bar 3 года назад
    How to run MQL4 or MQL5 code only one time for each bar
    Опубликовано: 3 года назад
  • 🧠 ГЕНИЙ, КОТОРЫЙ ВИДИТ БОЛЬШЕ ДРУГИХ 🎬 Профессор Т 🏷 ДЕТЕКТИВНЫЙ СЕРИАЛ. 1 сезон. 4 дня назад
    🧠 ГЕНИЙ, КОТОРЫЙ ВИДИТ БОЛЬШЕ ДРУГИХ 🎬 Профессор Т 🏷 ДЕТЕКТИВНЫЙ СЕРИАЛ. 1 сезон.
    Опубликовано: 4 дня назад
  • Министр «выгнал как собак» сторонниц Лукашенко: подробности / МВД Беларуси удивило всех: в чем дело 1 день назад
    Министр «выгнал как собак» сторонниц Лукашенко: подробности / МВД Беларуси удивило всех: в чем дело
    Опубликовано: 1 день назад
  • ТЕХНИЧЕСКИЙ АНАЛИЗ - ОДНО ВИДЕО, ВМЕСТО 100 УЧЕБНИКОВ: ПОЛНЫЙ КУРС ОТ НОВИЧКА ДО ПРОДВИНУТОГО УРОВНЯ 4 года назад
    ТЕХНИЧЕСКИЙ АНАЛИЗ - ОДНО ВИДЕО, ВМЕСТО 100 УЧЕБНИКОВ: ПОЛНЫЙ КУРС ОТ НОВИЧКА ДО ПРОДВИНУТОГО УРОВНЯ
    Опубликовано: 4 года назад
  • Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение! 10 месяцев назад
    Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение!
    Опубликовано: 10 месяцев назад
  • Итог четырёх лет войны и пять поводов для надежды | Потери, экономика, моральный упадок 1 день назад
    Итог четырёх лет войны и пять поводов для надежды | Потери, экономика, моральный упадок
    Опубликовано: 1 день назад
  • Как распознать ложь - рассказывает агент ФБР 5 лет назад
    Как распознать ложь - рассказывает агент ФБР
    Опубликовано: 5 лет назад
  • Как закончится война? | Подкаст «Что это было?» 2 дня назад
    Как закончится война? | Подкаст «Что это было?»
    Опубликовано: 2 дня назад
  • Techs Rise Into Nvidia Earnings; Apple, Globus Medical, NVent Electric In Focus | Stock Market Today Трансляция закончилась 18 часов назад
    Techs Rise Into Nvidia Earnings; Apple, Globus Medical, NVent Electric In Focus | Stock Market Today
    Опубликовано: Трансляция закончилась 18 часов назад
  • Что такое TCP/IP: Объясняем на пальцах 3 года назад
    Что такое TCP/IP: Объясняем на пальцах
    Опубликовано: 3 года назад
  • MQL4 TUTORIAL BASICS - 78 SIMPLE MULTI CURRENCY ORDER 5 лет назад
    MQL4 TUTORIAL BASICS - 78 SIMPLE MULTI CURRENCY ORDER
    Опубликовано: 5 лет назад
  • Учебник Base44 для начинающих — пошагово 3 месяца назад
    Учебник Base44 для начинающих — пошагово
    Опубликовано: 3 месяца назад
  • Kubernetes — Простым Языком на Понятном Примере 6 месяцев назад
    Kubernetes — Простым Языком на Понятном Примере
    Опубликовано: 6 месяцев назад
  • Обращение к нации, с которого началась война (English subtitles) @Максим Кац 1 день назад
    Обращение к нации, с которого началась война (English subtitles) @Максим Кац
    Опубликовано: 1 день назад
  • MQL4 TUTORIAL BASICS - 73 SIMPLE SPREAD FILTER 5 лет назад
    MQL4 TUTORIAL BASICS - 73 SIMPLE SPREAD FILTER
    Опубликовано: 5 лет назад
  • Лучший Гайд по Git Для Начинающих За 15 Минут 1 год назад
    Лучший Гайд по Git Для Начинающих За 15 Минут
    Опубликовано: 1 год назад
  • Учебное Руководство OpenClaw для Начинающих – Полное Руководство по Настройке (ClawdBot) 3 недели назад
    Учебное Руководство OpenClaw для Начинающих – Полное Руководство по Настройке (ClawdBot)
    Опубликовано: 3 недели назад
  • Почему жить в Канаде стало невозможно 1 день назад
    Почему жить в Канаде стало невозможно
    Опубликовано: 1 день назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5