Load an Economic Calendar into Metatrader

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 49

  • @Jimdandy1958
    @Jimdandy1958 3 роки тому +8

    Well done. I will be sure and mention this video.
    Here are some time stamps you may want to cut and paste into the video description.
    00:55 explanation of files.
    1:55 InetDownload
    7:50 Download function
    9:44 WebRequest
    12:14 Write to file
    14:50 Newsfeed script
    20:05 Allowing WebRequest in settings. does not work in indicators
    21:00 Success!
    21:49 FFCalendar Download
    25:33 CFFCalendar Download
    26:58 Parse Response
    28:22 Mt4-Mt5 difference in string trimming
    30:43 Date and time conversion
    36:08 NewsFeed2.mq4
    38:58 Run NewsFeed2
    40:05 Mt5 code
    40:28 Default Call Apparent deprecation explanation
    41:52 Enable WebRequest in Mt5
    42:11 Run scripts in Mt5
    Good stuff here for those who have enough background to understand what's being taught.
    Watch it multiple times and in bite-sized chunks if you are having trouble grasping the concepts.
    FYI.. I did notice that the audio was a bit lighter than normal on this video for some reason.
    I also noticed that in Australia it's spelled Licence whereas we spell it License here..
    I'm pretty sure hwo in the description was merely a typo though... LOL
    Don't you hate it when that happens?...
    g'day to ya'll down under.. from Mississippi..

    • @OrchardForex
      @OrchardForex  3 роки тому +1

      Thanks, I've added the chapters like you suggested.

  • @matusa6714
    @matusa6714 2 роки тому +2

    Thank's for what you are doing with this channel, very valuable content for someone starting with mql. You earned a subscriber.

  • @MrTopazWhite
    @MrTopazWhite 2 роки тому +1

    Easy to understand and extremely useful as always!

  • @ProtegeForexTrader
    @ProtegeForexTrader 6 місяців тому

    Great class, thank you

  • @jollyrogererVF84
    @jollyrogererVF84 6 місяців тому

    Great video 👍 I always enjoy your content

  • @stevedesterhaft7140
    @stevedesterhaft7140 Рік тому

    Wow, fantastic! It works great! Thanks for the amazing content!

  • @thembelssengwayo6896
    @thembelssengwayo6896 Рік тому

    Thank you, Orchard. I had to watch this video 10 times for some unknown reason though......I made sense the 10 th time.....😂😂😂😂😂😂😂😂

  • @hussainalsaffar4696
    @hussainalsaffar4696 3 роки тому +1

    As always, I highly appreciate the effort put your videos. I'm amazed that this can be automated. I hope a future video can show how the result file can be used in making trades or modifications of trades based on events. That would be an amazing EA.

  • @marukocha7653
    @marukocha7653 3 роки тому

    Thanks for your awesone tutorial as always! More power always!

  • @ZXevious
    @ZXevious 3 роки тому +1

    Amazing vídeo. You are the best.

  • @EvgenyDrumachik
    @EvgenyDrumachik 2 роки тому

    Very useful! Thank you!

  • @TradingWithGichuru
    @TradingWithGichuru 2 роки тому

    Thanks for this 🙏

  • @F_M_600
    @F_M_600 Рік тому

    Works great. Thank you for all of your videos.
    But i am looking for an example useing the *MT5 internal economic calendar.*
    So I have to look around forward 😄

    • @OrchardForex
      @OrchardForex  Рік тому

      I don't have any videos using the MT5 calendar

  • @johnskinner3145
    @johnskinner3145 3 роки тому +1

    Thanks, I've always wanted to know how to do this

  • @greatdavidfx7236
    @greatdavidfx7236 2 місяці тому

    Thank you for this video. But it's like the csv download link no longer works. Can you please suggest solutions, alternatives or any other video you have that has solved this problem. Thanks boss

  • @trader9926
    @trader9926 3 роки тому

    You are a genius

  • @malanvythilingam1590
    @malanvythilingam1590 Рік тому

    Very valuable video, Thank you for sharing your knowledge with us. I have a small question, Could you please tell me what is the best time period to download the calendar if we attach this to EA.

    • @OrchardForex
      @OrchardForex  Рік тому +1

      It really doesn't matter. The calendar covers the week ahead

  • @darrenmckenna3483
    @darrenmckenna3483 Рік тому

    Brilliant video.
    Is there a way to add to the code to allow a pending order to be executed depending on the news feed?

    • @OrchardForex
      @OrchardForex  Рік тому

      Well, yes but too much to describe in a reply.

  • @jafxtradinginstitute6395
    @jafxtradinginstitute6395 3 роки тому

    Need help with a awesome indicator to code divergence features. Help please .

  • @jafxtradinginstitute6395
    @jafxtradinginstitute6395 3 роки тому

    How can I I code awesome indicator for divergence
    Using lower low price and the awesome histogram bar comparison to spot divergence.
    Eg. If awesome histogram bar lowest bar is -0.9 to a close bar with a low price of $500 .
    If awesome histogram bar value increase from -0.9 to -0.85 ,-0.80,-0.7 but price equal to or break the low price of $500 to $450 or lower then we would have a divergence using vertical trendline .
    Plus would add a envelopes indicator inside the awesome indicator applying first indicator's data which the envelope line would work as filter.
    The buy signal would come at the fractal swing low candle once the awesome histogram bar balance with price .
    This is effective divergence using histogram bar analysis base on value and price.

  • @johnskinner3145
    @johnskinner3145 Рік тому

    I would like to be able to compare the news event time against the time on my brokers server to determine when to display the alert. The only way I can think of doing it is to create a variable with a time offset to add to the news time. I think the news looks like it might be in UTC time, so if my brokers server is in New York then that offset variable would be set to -4 hours.
    I am trying to come up with a better alternative to this but I can’t think of one. Do you know of a more elegant solution for this problem?

    • @OrchardForex
      @OrchardForex  Рік тому

      The default for the news feed in the video is UTC. Inside MT TimeCurrent() gives the current broker time which should be aligned to NY close time (5 PM) not NY time if the broker is any good. There is also TimeGMT() in MT that you can use to compare to the news feed.

  • @kylemaharaj9563
    @kylemaharaj9563 2 роки тому

    Can you do this but for the economic calendar that's built in MT5? Adapting it for use in backtesting and live, to filter out trades that are affected by Events overfitting.

    • @OrchardForex
      @OrchardForex  2 роки тому +1

      Right click somewhere in the calendar, select show on charts. Then just scan the charts for objects of type event.

  • @lorenzocoletta8028
    @lorenzocoletta8028 3 роки тому

    Amazing! How to check the UTC of the calendar that we are downloading from the website?

    • @OrchardForex
      @OrchardForex  3 роки тому

      All times in the download seem to be UTC so use the internal MT time functions to convert.

  • @samcalma7834
    @samcalma7834 2 роки тому

    great content, I tried to join the membership on discord but I'm lost how to complete the registration. Upgrade is already appearing but not your channel. Hope you can help me thanks

    • @OrchardForex
      @OrchardForex  2 роки тому

      We have closed new membership to the premium level. You can still join the free level.

  • @pipwhisperer5952
    @pipwhisperer5952 3 роки тому

    Hello Sir great content. Which video do you do the trailing stop loss in ?

  • @tariqsaeed5083
    @tariqsaeed5083 3 роки тому

    Sir i need your help to modify code plz help

  • @nelsonmosiuwa3036
    @nelsonmosiuwa3036 2 роки тому

    hi Sir.. very good work I liked your script but I have encounter problem while I was running the script. I got an error of the news calendar couldn't downloaded successfully.

    • @OrchardForex
      @OrchardForex  2 роки тому

      You would need to give the error message but probably you have not enabled access to the web site in configuration

  • @danielcioca1
    @danielcioca1 2 роки тому

    Hello! very nice thanks. This code is beautifultry to inserted into my EA and is giving download error 5004 if load EA on multiple charts... FILE_SHARE_READ ?? Or how to adapt it?

    • @OrchardForex
      @OrchardForex  2 роки тому

      Download in a dedicated ea and read the file back in the others, or remove the file write option.

  • @basbloemendaal831
    @basbloemendaal831 2 роки тому

    Hi Sir, I completely programmed the script as you did but it removes itself directly from the chart. So I don't get any csv file to read from. How can I solve this?
    Anyone with the same problem?

    • @OrchardForex
      @OrchardForex  2 роки тому

      It is natural for a script to run and terminate, that's what they do. If you don't have a csv file then there is a different problem. Did you remember to enable dlls?

    • @basbloemendaal831
      @basbloemendaal831 2 роки тому

      @@OrchardForex Yes, I do get a .csv file but it is only filled with ;
      Also, when I run it, the 2 consecutive messenges are; NewsFeed2 loaded succesfully.
      And immediately after;
      NewsFeed2 removed
      So, I don't get all that data like in your video.
      Do you know what could be wrong?
      Thanks!