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

MQL5 TUTORIAL - SMA Buy Trailing Stop explained скачать в хорошем качестве

MQL5 TUTORIAL - SMA Buy Trailing Stop explained 1 год назад

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

скачать mp3

скачать mp4

поделиться

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

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

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
MQL5 TUTORIAL - SMA Buy Trailing Stop explained
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: MQL5 TUTORIAL - SMA Buy Trailing Stop explained в качестве 4k

У нас вы можете посмотреть бесплатно MQL5 TUTORIAL - SMA Buy Trailing Stop explained или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

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

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон MQL5 TUTORIAL - SMA Buy Trailing Stop explained в формате MP3:


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



MQL5 TUTORIAL - SMA Buy Trailing Stop explained

https://mql5tutorial.com/?s=trailing+... In this video, we are going to create an Expert Advisor that utilizes a simple moving average for trailing stop management. Let's see how we can do that. We start Metaeditor by clicking a little icon or pressing F4. The code begins with including the Trade library using the #include directive, which provides functions for trading operations. We then create an instance of the CTrade class, which allows us to execute trade operations. Inside the OnTick function, we declare a static variable called LastStopMovingAverageValue to hold the last calculated moving average value. We calculate the Ask price using the NormalizeDouble function with parameters SymbolInfoDouble for the symbol and SYMBOL_ASK for the price type, ensuring that the price is formatted correctly according to the number of decimal places for the symbol. Similarly, we calculate the Bid price using NormalizeDouble with SYMBOL_BID. Next, we check if there are no open positions using the PositionsTotal function. If there are no positions, we execute a buy order for 10 Micro Lots, which is equivalent to 0.10 Lots. The parameters for the Buy function include the lot size of 0.10, a NULL value for the order comment, the Ask price for the entry price, a NULL value for the expiration, and a calculated take profit price, which is set 150 points above the Ask price. After placing the order, we reset the LastStopMovingAverageValue to zero. We then create an array called myMovingAverageArray to store the moving average values. We use the ArraySetAsSeries function to sort the array from the current candle downwards. The moving average is defined using the iMA function, which calculates the moving average based on the specified parameters: the symbol, the period, the number of periods for the moving average, the shift, the type of moving average, and the price type. The parameters for iMA include _Symbol for the symbol, _Period for the time frame, 500 for the number of periods, 0 for the shift, MODE_SMA for the type of moving average, and PRICE_CLOSE for the price type. We copy the moving average values into our array using the CopyBuffer function, which retrieves the moving average values for the current candle and the previous two candles. We then calculate the StopMovingAverageValue for candle 1. Next, we check if the StopMovingAverageValue is below the Bid price. If it is, we then check if it is greater than the LastStopMovingAverageValue. If both conditions are met, we call the CheckSMABuyTrailingStop function, passing in the Ask price and the StopMovingAverageValue. We also update the LastStopMovingAverageValue to the current StopMovingAverageValue. Inside the CheckSMABuyTrailingStop function, we loop through all open positions using a for loop. For each position, we retrieve the symbol of the position using PositionGetSymbol. If the symbol matches the current symbol, we get the ticket number of the position using PositionGetInteger with POSITION_TICKET and calculate the current stop loss using PositionGetDouble with POSITION_SL. We then check if the current stop loss is below the StopMovingAverageValue. If it is, we modify the position's stop loss to the StopMovingAverageValue using the PositionModify function, which takes the position ticket and the new stop loss value as parameters. Finally, we press F7 to compile the code.

Comments
  • MQL5 TUTORIAL - SMA SELL TRAILING STOP explained 1 год назад
    MQL5 TUTORIAL - SMA SELL TRAILING STOP explained
    Опубликовано: 1 год назад
  • Trailing stop loss in mql5 | MT5 programming 3 года назад
    Trailing stop loss in mql5 | MT5 programming
    Опубликовано: 3 года назад
  • KRÓLEWSCY GRAJĄ DALEJ! AWANS W RYTMIE SAMBY! REAL MADRYT - BENFICA, SKRÓT MECZU 3 часа назад
    KRÓLEWSCY GRAJĄ DALEJ! AWANS W RYTMIE SAMBY! REAL MADRYT - BENFICA, SKRÓT MECZU
    Опубликовано: 3 часа назад
  • Либеральный переворот, заговор против Сталина, водородная бомба. Большая игра Берии | ФАЙБ 8 дней назад
    Либеральный переворот, заговор против Сталина, водородная бомба. Большая игра Берии | ФАЙБ
    Опубликовано: 8 дней назад
  • Без России АЭС ОСТАНОВЯТСЯ? Шокирующая правда об уране в США 8 дней назад
    Без России АЭС ОСТАНОВЯТСЯ? Шокирующая правда об уране в США
    Опубликовано: 8 дней назад
  • The Internet Was Weeks Away From Disaster and No One Knew 4 часа назад
    The Internet Was Weeks Away From Disaster and No One Knew
    Опубликовано: 4 часа назад
  • CO ZA POGOŃ JUVE! CO ZA ODPOWIEDŹ GALATY! JUVENTUS - GALATASARAY, SKRÓT MECZU 2 часа назад
    CO ZA POGOŃ JUVE! CO ZA ODPOWIEDŹ GALATY! JUVENTUS - GALATASARAY, SKRÓT MECZU
    Опубликовано: 2 часа назад
  • Самолет ВСЕХ КИНУЛ? // Люди останутся без жилья? 8 дней назад
    Самолет ВСЕХ КИНУЛ? // Люди останутся без жилья?
    Опубликовано: 8 дней назад
  • Do not throw away the old wheel! A cool idea for DIY. 4 года назад
    Do not throw away the old wheel! A cool idea for DIY.
    Опубликовано: 4 года назад
  • 🧠 ГЕНИЙ, КОТОРЫЙ ВИДИТ БОЛЬШЕ ДРУГИХ 🎬 Профессор Т 🏷 ДЕТЕКТИВНЫЙ СЕРИАЛ. 1 сезон. 3 дня назад
    🧠 ГЕНИЙ, КОТОРЫЙ ВИДИТ БОЛЬШЕ ДРУГИХ 🎬 Профессор Т 🏷 ДЕТЕКТИВНЫЙ СЕРИАЛ. 1 сезон.
    Опубликовано: 3 дня назад
  • Полный курс торговли по свечным паттернам (ПРО МГНОВЕННО) 3 года назад
    Полный курс торговли по свечным паттернам (ПРО МГНОВЕННО)
    Опубликовано: 3 года назад
  • Techs Rise Into Nvidia Earnings; Apple, Globus Medical, NVent Electric In Focus | Stock Market Today Трансляция закончилась 3 часа назад
    Techs Rise Into Nvidia Earnings; Apple, Globus Medical, NVent Electric In Focus | Stock Market Today
    Опубликовано: Трансляция закончилась 3 часа назад
  • Международный Мастер учит ХОД за ХОДОМ! Объясняю идеи и планы! Ваши дебюты в действии! Трансляция закончилась 2 дня назад
    Международный Мастер учит ХОД за ХОДОМ! Объясняю идеи и планы! Ваши дебюты в действии!
    Опубликовано: Трансляция закончилась 2 дня назад
  • Учебник Base44 для начинающих — пошагово 3 месяца назад
    Учебник Base44 для начинающих — пошагово
    Опубликовано: 3 месяца назад
  • Я ПРОВЕРИЛ ГРАВЮРЫ ПИРАНЕЗИ ЧЕРЕЗ  НЕЙРОСЕТЬ - РЕЗУЛЬТАТ УДИВИЛ 10 дней назад
    Я ПРОВЕРИЛ ГРАВЮРЫ ПИРАНЕЗИ ЧЕРЕЗ НЕЙРОСЕТЬ - РЕЗУЛЬТАТ УДИВИЛ
    Опубликовано: 10 дней назад
  • Учебник по MQL5 - Расширенный трейлинг-стоп 8 лет назад
    Учебник по MQL5 - Расширенный трейлинг-стоп
    Опубликовано: 8 лет назад
  • Кремль загоняет себя в ловушку. Что принесёт новый раунд переговоров на фоне контрнаступления ВСУ 8 дней назад
    Кремль загоняет себя в ловушку. Что принесёт новый раунд переговоров на фоне контрнаступления ВСУ
    Опубликовано: 8 дней назад
  • Эта стратегия скальпинга скучна, но она принесла мне прибыль 3 месяца назад
    Эта стратегия скальпинга скучна, но она принесла мне прибыль
    Опубликовано: 3 месяца назад
  • The “ONE CANDLE 2 месяца назад
    The “ONE CANDLE" Scalping Strategy I Will Use For Life
    Опубликовано: 2 месяца назад
  • ЧТО увидели ВОЯДЖЕРЫ на КРАЮ СОЛНЕЧНОЙ СИСТЕМЫ ?💤Лекция для сна💤 СОН ЗА 5 МИНУТ 8 дней назад
    ЧТО увидели ВОЯДЖЕРЫ на КРАЮ СОЛНЕЧНОЙ СИСТЕМЫ ?💤Лекция для сна💤 СОН ЗА 5 МИНУТ
    Опубликовано: 8 дней назад

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

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



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