Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть MQL5 Tutorial - Simple Currency Info Forex Robot

  • MQL5 Tutorial
  • 2017-05-31
  • 2507
MQL5 Tutorial - Simple Currency Info Forex Robot
mql5mql5 tutorialmql5 lessonslearn mql5mql5 bookmql5 referencemql5 forumSymbolInfoDoubleSymbolInfoIntegerSymbol()_SymbolMetatradermetaeditormetaquotesstrategy testerex5Jimdandy1958Bilal HaiderForexBoatTradingForexalgo tradingtrading tutorialgolden goose courseMetatrader5ea programmingtrade automatedautomated tradingOnTickOnInit
  • ok logo

Скачать MQL5 Tutorial - Simple Currency Info Forex Robot бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно MQL5 Tutorial - Simple Currency Info Forex Robot или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

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

Cкачать музыку MQL5 Tutorial - Simple Currency Info Forex Robot бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео MQL5 Tutorial - Simple Currency Info Forex Robot

https://mql5tutorial.com/?s=currency

With MQL5 for Metatrader5 we create an Expert Advisor to get useful information about spread, ask, bid, swap trades, volume on our Forex chart within 5 minutes. Just get almost every information you need for a currency pair...


This time we are going to talk about how to get the information you need for a currency pair. This little Expert Advisor can tell you almost everything you need to know about this currency pair and you'll see that the values are changing with every tick and if you know how to do that you can get almost every information you need for your own trading. Now how can we create an Expert Advisor that is able to give us all these values here?
To do that please click on the little button here or press your F4 key and now you should see the Meta Editor and in the Meta Editor you want to click on File, New, Expert Advisor from Template, Continue. I will call this one Simple Currency Info, Continue, Continue and Finish and now you want to remove everything above the OnTick function and the two comment lines here. We are talking about this because from time to time people ask me something like this, this person wanted to know how to get the spread for a currency pair and so I created this code and now we are going to do the advanced version of it.
The first thing is how to get the spread for the current currency pair, and we use Symbol Info Integer. For the current symbol and with Symbol_Spread, we can calculate the spread and the value will go into the spread variable here so that was Symbol Info Integer and if you have seen a few other videos in this series you might have seen this one: to get the ask price we use Symbol Info Double for the current symbol and we use Symbol_Ask and the reason is Symbol Info Double will give you a double value for a floating variable and Symbol Info Integer can only deliver an integer so the spread in our case does not have a decimal point. And to get the bid price you need to change the name of the variable and you need to use Symbol_Bit instead.
You might have noticed that your broker chargers you swap fees. And if you want to know how much the swap costs you, you can use Symbol Info Double for the current symbol and with Symbol_SwapLong, you can calculate the swap for the long trades. And like in the example above Symbol Info Double, for the current symbol with Symbol_SwapShort will give you the swap value for the short trades. If you want to know the last lowest point you can use Symbol Info Double for the current symbol and with Symbol_LastLow you will get the last lowest point on your chart. Let's get the last high by using Symbol Info Double for the current symbol and here we use Symbol_LastHigh.
If you want to find out what the lowest possible lot size for this currency pair is, we use Symbol Info Double for the current symbol and with Symbol_Volume_Min you will get the minimal volume you have to trade. If you go below this value you will see an error in your Journal tab and as you might have guessed you can also calculate the max volume that is done by using Symbol Info Double for the current symbol and here we use Symbol_Volume_Max. Some brokers do not support micro lots, and if your broker does you will see that on your charts if you use Symbol Info Double for the current symbol and Symbol_Volume_Step will give you the minimal volume change step four deal execution.
As you can see you can get lots of valuable information about the current symbol on your chart and it's always the same way to get it if you use the right function here for example, symbol info double and if you use the right expression here for example, symbol volume step you can calculate almost every value you can think of. And now in the last step we are actually going to create the output on our chart by using the comment function. Now let's compile the code here by pressing F7 or clicking on the little button and we have no errors here. So now you can click on the little button over here or press F4 to back to Meta Trader. And in Meta Trader you want to click on View Strategy Tester or press control and R, and here in the strategy tester please choose Simple Currency Info.ex5, enable the visualisation mode here and start your tests.
And here we see everything on our chart; the current spread is fifteen and if we speed up our trading a little bit here you will see the spread change and that's the same for the last high or the last low. And now you know how to create an Expert Advisor that will tell you everything about the current currency pair on your chart and you have coded it yourself with a few lines of MQL 5 code.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]