Podcasts about metatrader

  • 31PODCASTS
  • 539EPISODES
  • 8mAVG DURATION
  • ?INFREQUENT EPISODES
  • Apr 7, 2025LATEST

POPULARITY

20172018201920202021202220232024


Best podcasts about metatrader

Latest podcast episodes about metatrader

Konnected Minds Podcast
How to Make Money Trading Online - Kojo Forex

Konnected Minds Podcast

Play Episode Listen Later Apr 7, 2025 12:07 Transcription Available


Kojo Forex, one of Africa's top traders, shares profound insights on trading psychology, business partnerships, and knowing when to walk away. His journey from co-founding a proprietary trading firm to prioritizing mental wellbeing offers valuable lessons about success on your own terms.• Trading capital differs fundamentally from physical inventory as it can be instantly leveraged• Discipline trumps motivation in trading success• Express Funded launched in December 2023 as an online proprietary trading firm• Modern prop firms use evaluation systems to identify talented traders globally• Industry challenges with trading platforms like MetaTrader created early operational hurdles• Kojo stepped away from his company despite having equal equity with no bad blood• The best advice he received: "be selfish with your own interest"• Independent thinking is crucial for standing out in a world of limited opportunities• Having your own mind helps you become an outlier in crowded competitive spacesSupport the showWatch the video episode of this on YouTube - https://linktr.ee/konnectedminds

Online Forex Trading Course
#582: How to Avoid Useless Forex Indicators

Online Forex Trading Course

Play Episode Listen Later Mar 22, 2025 5:53


How to Avoid Useless Forex Indicators  Podcast: Find out more about Blueberry Markets – Click Here Find out more about my Online Video Forex Course Book a Call with Andrew or one of his team now Click Here to Watch Prop Firm Masterclass #582: How to Avoid Useless Forex Indicators In this video: 00:24 – What trading Indicators should you use? 01:31 – Most Indicators don't work. 01:52 – You must look at the price.  02:23 – Horizontal levels and Candles are good indicators. 04:50 – Blueberry Markets as a Forex Broker offering a 50% credit bonus. 05:19 – Book a Call and speak with us. 05:35 - 17 minutes Masterclass. What is the best trading indicator that you can use on your charts as a trader? Let's talk about that more right now. Hi there, Traders! It's Andrew Mitchem here, the owner of The Forex Trading Coach with video and podcast number 582. What trading Indicators should you use? Today I want to talk and discuss indicators. As a trader, if you open any charting package, whether it's MetaTrader like I've got the Me here or Trading view, whatever it is that you use, you will find that trading package, that charting package absolutely full of various indicators. They can be dots and lines and arrows and triangles and all sorts of different things on your charts. And I'll tell you what, they look amazing, don't they? They look so good, especially if you're a new trader and everybody falls for it. I know I did this like 20 years ago. I had this moving average crossing over that one and a swing low here and a MACD there, and I looked absolutely beautiful, and I knew that I was going to become a multi-millionaire in no time at all, because as soon as this line crossed that line there, and this dot showed there and below it and all those things, it was going to be a brilliant, simple, easy trade. Said reality is, none of that is true. That is the truth. Most Indicators don't work. The reality is that almost all indicators that you see on a standard charting package, they lag time, they tell you what's already happened, they can't help you, most of them with what's likely to happen or any sensible trading decisions. Sure, there are some that can be used as a bit of an age once you know what you're doing. You must look at the price.  But in general, most people get completely caught up because they don't look at the obvious thing. And that's the right hand side of the chart, and they do not look at the price. If you don't look at the price and you rely on dots and arrows and lines, etc., you're going to get spaghetti on your charts and you're not seeing what's really happening. You're not seeing the true psychology behind what's happening. What's really happening are the buyers are the sellers. Has it bounced at that level before all those type of things? You're completely ignoring because you're failing to look at the price? Horizontal levels and Candles are good indicators. I much prefer a number of indicators. Horizontal levels are absolutely fantastic. Why? Because they never move. A horizontal level that you see is the same as what I see at the same time. You know, again, the price, whether it be the daily pivot point, support and resistance level, swing high swing lows, those things never change. And so by having those on your chart, it's giving you something that's an absolute that's actually happened. If the price pulls back to a round number and that happens to be a previous swing low and it bounces at that level, well, quite likely, then you're going to get that support level holding and the price is likely to move up. So then I add another, indicator of a sort and that's candle, patterns and understanding candles themselves. What they're telling me are they exhaustion candles. Are they indecision candles. Are they confirmation of a change in direction? Are they confirmation of a continuation pattern or a reversal pattern?

MQL5 Tutorial
MQL5 Tutorial – How to simply adjust user input with MQL5

MQL5 Tutorial

Play Episode Listen Later Dec 15, 2024 1:51


  Introduction to Enhancing a Simple Expert Advisor (00:00 – 00:07) Introduction to improving a simple expert advisor by allowing user adjustments, following the results of a year-long test. Reviewing the Year-Long Test Results (00:07 – 00:19) Overview of the test results: 73 trades made, with 54 short trades and 19 long trades, and the lack of adjustable inputs. Enabling User Adjustments for Lot Size (00:19 – 00:30) The goal to enable users to adjust the lot size of trades, which is currently hard-coded in the source code. Modifying the Expert Advisor to Include Input Variables (00:30 – 00:43) Steps to modify the expert advisor to include input variables, specifically for adjusting the lot size. Creating a Dynamic Input Variable for Lot Size (00:43 – 00:56) Instructions on creating a dynamic input variable for lot size, allowing it to be changed by the user. Replacing Fixed Lot Size with the New Variable (00:56 – 01:03) Replacing the fixed lot size in the code with the new variable and saving the changes. Compiling the Code and Testing the New Feature (01:03 – 01:17) Compiling the updated code and testing the new feature in Metatrader, with visualization enabled. Observing the Adjustable Lot Size in Action (01:17 – 01:28) Observing the first trade with the new adjustable lot size and stopping the test to change the input. Changing the Lot Size and Testing Again (01:28 – 01:43) Adjusting the lot size to a different value and testing again to demonstrate the flexibility of the new input feature.   In one of our other videos we have created a simple buy trade system and this is the result of a whole year. It made seventy three trades, fifty four were short trades and nineteen were long trades. You see under the input tab we have absolutely no values here so we cannot set anything that is not hardcoded in our source code. Now we want the user to be able to adjust the Lot Size of a trade here, to do that we simply click on Simple Buy Trade and click Modify. This is how our short E.A. looks like and this is the Lot Size. To create a dynamic value that can be changed by the user you have to make it an input variable and will be a double variable, and we will call it MyLotSize. Let’s assign ten Micro Lot here, copy the name and exchange the fixed ten Micro Lot Size here with our new variable. I will save it as Simple Buy Trade with input. Let’s compile the code and hit F4 to bring up the Meta Trader. I will select the system here, check the visualization option and start the test. This is our first trade and its ten Micro Lot. Let’s stop the test, go to inputs and change it to 0.2, now it is 20 Micro Lot. If you make something adjustable by the user, you can do it by making it an input. Afterwards the value can be simply changed without recompiling the code. The post MQL5 Tutorial – How to simply adjust user input with MQL5 appeared first on MQL5 Tutorial.

MQL5 Tutorial
MQL5 Tutorial – Simple Commodity Channel Index

MQL5 Tutorial

Play Episode Listen Later Dec 8, 2024 5:16


With MQL5 for Metatrader5 we can use the ICCI function that is built in to create an Expert Advisor that will use the Commodity Channel Index Indicator to create entry signals on our Forex Trading Chart… This video is about the commodity channel index. The commodity channel index is an oscillator and it will tell you if something is overbought or oversold. This is one of the oscillators I like because it is very easy to understand. It has one hundred plus and a one hundred minus line here and whenever the value rises above the upper line, it’s overbought. In the other case if the indicator falls below the lower line, it’s oversold. The commodity channel index can be created with the MQL 5 function ICCI that is built-in into MQL 5. And now we want to create a little Expert Advisor that will tell us when the market is overbought or oversold. To do that please click the little button here or hit the F4 key on your keyboard. That will bring up the Meta Editor, and here we want to select File, New, Expert Advisor from template, continue. And we will call the Expert Advisor Simple Commodity Channel Index. Now click on Continue, Continue, Finish, everything above the Ontick function can be removed and we will also delete the two comment lines here and we will start by creating a little array for our prices. It's a double array and we will call it my price array. And for the definition of our commodity channel index, we will use the ICCI function of MQL 5. For the current symbol on the chart and the selected period, this might be Euro/U.S. dollar and this might be the minute chart or the hourly chart, and the calculation is done for fourteen candles, because this is the default value of the commodity channel index when you drag it on your chart by using Insert, Indicators, Oscillators, commodity channel index. And it is calculated based on the close prices. In the next step we need to sort the price array from the current candle downwards by using the function arraysetasseries for the price we have created here. And now we use copy buffer for the CCI definition from line here. This is for the first line, it is line zero. And for the current candle that’s candle zero, and we need the values for three candles, that’s the three here, and we want to store the results in my price array. We want to get the CCI value of the current candle in our price array. Okay now we need the chart output depending on the value so if our value is above the upper line we want to put the text “Overbought” on our chart by using the comment function. And if it’s below the lower line we want to output the text “Oversold.” And when it’s between the lines we just use an empty output because we have no signal. Okay that’s it. If you’re ready, please click on the little compile button here or hit the F7 key on your keyboard. That should compile your Expert Advisor without any error or warnings. And in that case we want to bring up the MetaTrader by pressing the F4 key or hitting the little button over here. In Metatrader please click on View, Strategy Tester or hit control and R. That should show you the strategy tester panel, and here we want to select the simple commodity channel index.ex5 file. Please make sure to mark the visualisation option here and click on start. And here is our Expert Advisor at work. Now it’s below the lower line and then it says oversold and when it’s above the upper line it says overbought. Okay, now you know how you can use the Commodity Channel Index Indicator to create entry signals in your own Expert Advisor. And you have done it yourself with a few lines of MQL 5 code. The post MQL5 Tutorial – Simple Commodity Channel Index appeared first on MQL5 Tutorial.

Trading Nut | Trader Interviews - Forex, Futures, Stocks (Robots & More)
Broker “Opens Up” On Competitors Creating Prop Firms

Trading Nut | Trader Interviews - Forex, Futures, Stocks (Robots & More)

Play Episode Listen Later Aug 10, 2024 32:55


Anish Lal from Black Bull Markets explore the evolving landscape of proprietary trading firms (prop firms) and brokers. Anish discusses the rapid growth and challenges within the prop firm industry, including regulatory scrutiny and the impact of technological advancements like MetaTrader 4 and 5. He highlights the importance of risk management for retail traders and the potential benefits brokers can bring to the prop trading model. Podcast Audio Check out TNVIP to follow Cam's trading and tap into his Private Mentor. Start by joining the FREE Telegram channel.

Online Forex Trading Course
#547: How To Start Out as A Forex Trader

Online Forex Trading Course

Play Episode Listen Later May 26, 2024


How To Start Out as A Forex Trader  Podcast: Find out more about Blueberry Markets – Click Here Find out more about my Online Video Forex Course Book a Call with Andrew or one of his team now Click Here to Watch Prop Firm Masterclass Click Here to Check Out Other Recommended Brokers #547: How To Start Out as A Forex Trader In this video: 00:22 – Do you want to start trading? 00:44 – Trading Forex – The Basics. 01:30 – Choosing a Forex Broker.   01:56 – Forex Education. 02:23 – Your Trading Plan 02:50 – Start on a Demo Account. 03:12 – Technical or Fundamental Trading. 04:08 – Trading and Travelling. 04:44 – Blueberry Markets. 05:00 – My 1 Hour Masterclass and Book a Call. 05:34 – Comment, Like & Subscribe. How do you start as a forex trader? I'm going to cover that topic and more for you over the next few minutes. So let's get started. Hi everybody! Andrew Mitchem here at the Forex Trading Coach. Do you want to start trading? So you're interested in diving into the world of forex trading. Now whether you're looking to supplement your income or to embark on a new career, starting out as a forex trader can be both very exciting and also challenging. And in this video and podcast, I'm going to walk you through the essential steps that you need to get started on the right foot. Trading Forex – The Basics. Now, first, let's cover the basics. Forex trading or foreign exchange is a global market for trading currencies. It operates 24 hours a day, five days a week, and it's the largest financial market in the world. Now, unlike other markets like stock markets, which are based in specific locations like New York or London, the Forex market happens over the counter, which means that basically transactions are conducted directly between parties, usually through an online platform. And to start trading, you need to have a reliable internet connection. Obviously, a computer, laptop or mobile device and just somewhere that you can sort of focus on trading somewhere quiet, you can focus on trading. Choosing a Forex Broker.   Next, you need to choose a forex broker and look for one that's regulated and has high quality rankings as well. Competitive spreads and uses platform such as Metatrader 4 or Metatrader 5. I'll put a link on this page to a list of brokers who I use and suggest that you consider because that's going to massively help shortcut the list for you. Forex Education. Now, education is also key to being a successful trader. You've got to learn the basics. The fundamentals of forex trading. Understand how currency pairs work, such as the majors like the EUR/USD and GBP/USD and then get into more like the minors like the AUD/NZD or EUR/GBP. And you got to familiar eyes yourself with you know what pips are leverage margin. All those type of phrases which right now may not be familiar to you. Your Trading Plan Next you need to develop a trading plan, and a solid trading plan should outline your financial goals, your risk tolerance, specific strategies that you plan to use. You need to decide how much capital you're willing to invest and of course, never risk more than you can afford to lose. So a good rule of thumb that I use is I risk only half of 1% of my trading account on a single trade. Start on a Demo Account. And before trading the real money, of course, you should practice using a demo account. And most brokers offer a demo account to basically simulate real trading conditions. But it's not real money. Now, use this opportunity to test your trading plan and your strategy and get comfortable with the trading platform without having that risk of losing real money. Technical or Fundamental Trading. Understanding market analysis is also crucial. There's two types of analysis. There's technical and fundamental. Technical analysis means looking at charts, using indicators, etc. to predict movements. Whereas fundamental analysis,

Online Forex Trading Course
#546: I'm Not a Fan of Trading AI or Bots

Online Forex Trading Course

Play Episode Listen Later May 5, 2024 6:10


I'm Not a Fan of Trading AI or Bots  Podcast: Find out more about Blueberry Markets – Click Here Click Here to Signup For Our 15th Birthday Sale #546: I'm Not a Fan of Trading AI or Bots In this video: 00:27 – Everyone is talking about AI and Bots. 01:10 – All Bots seem to fail. 01:30 – Knowing I can read a chart with high probability.   02:49 – Limitations of using trading bots. 03:19 – You don't need to spend all day trading. 04:48 – Our 15th Birthday sale. 05:28 – Trade through Blueberry Markets.  I'm not a fan of trading AI or trading bots. Let me tell you why. Let's get into that and more right now. Hey, the forex traders, Andrew Mitchem here at the Forex Trading Coach with video and podcast number 546. Everyone is talking about AI and Bots. Now something maybe a tiny bit controversial. Everybody's talking about, you know, AI and how it can help in life and in trading and trading bots and expert advisors and all these type of things. And look, it's been there for years and years. When I started trading, there was tradestation. You could create programs that would automatically trade for you. And then Metatrader came along and people had expert advisors, which would magically for $97 going to solve all your trading problems and trade for you. If you look back on Forex Factory, on different forums, etc., you're always finding people out there who are creating these these robots that are going to do all these wonderful things. All Bots seem to fail. Have you ever noticed that they all fail? Like, I've never ever in my 20 years of trading seen one that works consistently well. Sure, they'll all have good times, but almost sure they're going to have bad times as well. So the reliability of them, first of all, is not great. Knowing I can read a chart with high probability.   But to me there's more important things than that. As a trader, as a manual trader. There is nothing better than that knowledge, that satisfaction of knowing that I can look at a chart today, next week, next year, in ten years time, and with high probability and high certainty, predict what's likely to happen. Now, if I get the trade wrong, I get it wrong and I lose a small known set amount of my account. But if I get the trade right, it's going to make two, three, four, five times my risk. And having that knowledge and that ability to look at different markets because who knows what's going to be out there in the future. If we were talking, say, like five or ten years ago, certainly ten years ago, we wouldn't have been able to trade cryptos, we wouldn't have been able to trade indices and commodities and metals on forex platforms. So things evolve, things change. And I'm certainly not against that when I'm saying I'm not into A.I. or bots. But what I am saying, if you have that knowledge up here, that mental knowledge, ability, satisfaction to make those decisions, that is so much better than just relying on someone's $97 a month bot. Limitations of using trading bots. The other thing is, is if you buy this bot and it does really well, what happens if you no longer have access to it or what happens if it no longer works? And how do you know that? Because without that knowledge and that skill of understanding how that bot works, you have no way of monitoring it on improving it, on changing it, on anything to do with it. And so to me, that manual skill is still absolutely crucial. You don't need to spend all day trading. And if you're out there, like sitting there thinking, well, that's all well and good, Andrew but I'm too busy and I don't want to spend hours and hours and hours on a chart and on a computer, nor do I. I trade 30 minutes a day and I try 15 minutes in my morning, 15 minutes at nighttime. To me, trading is about doing this, getting outside, enjoying the outside, being very focused and very skilled when it's happening, when it's trading time and relaxing, enjoying things,

The Trader Coffee Break
Which Trading App is best for beginners

The Trader Coffee Break

Play Episode Listen Later Apr 15, 2024 26:17


Which Trading app or platform is best for beginners?  Trade Nation: https://tradenation.com/ Ninja Trader: https://ninjatrader.com/ Tradingview: https://www.tradingview.com/ MetaTrader: https://www.metatrader4.com/ Watch the video where Jason put 6 brokers and platforms to the test HERE :    • BROKERS EXPOSED DOCUMENTARY - MUST WA...   Thanks for joining us for this week's Trader Coffee Break. To learn how to trade the right way without getting your fingers burned, check out our RISK-FREE training and trader education platform where you can watch Jason & Akil trade and get access to all the tools you need to be successful HERE: https://tieronetrading.com Connect with the hosts on social media:

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Bulls Power Expert Advisor

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Mar 2, 2024 5:20


Das hier ist der sogenannte Bulls Power Indikator. Es handelt sich hierbei einen Oszillator, der anzeigen soll, wie stark die Bullen sind. Man sagt ja, dass im Trading jeden Tag die Bullen gegen die Bären kämpfen und bei maximalen Ausschlägen kann man davon ausgehen, dass hier nach den höchsten Werten der Preis erst mal in den Keller geht. Im Umkehrschluss, wenn diese Linie hier überschritten wird, dann geht es in der Regel erst mal aufwärts. Dieser Oszillator hier wurde erstellt von einem professionellen Trader mit dem Namen Alexander Elder. Er sagt hier, dass ein fallender Wert über null ein Signal zum Verkauf ist. Der Oszillator wird auf 13 Kerzen berechnet. Man nutzt einen exponentiellen Moving Average und es wird empfohlen, den Bulls Power Indikator zusammen mit einem anderen Trend Indikator, wie zum Beispiel den Moving Average, zu nutzen. Wie also können wir jetzt für diesen diesen Bulls Power Indikator einen ExpertAdvisor in MQL5 erstellen? Um das zu tun, klicken wir hier im MetaTrader zunächst auf diesen kleinen Knopf hier oben oder drücken die F4-Taste. Das ruft hier den Metaeditor auf und hier klicken wir auf „Datei neu, „ExpertAdvisor von Vorlage, „Weiter, vergeben hier den Namen „Simple Bulls Power EA, klicken auf „Weiter, „Weiter, „Fertigstellen und löschen alles oberhalb dieser OnTick-Funktion und die beiden Kommentarzeilen. Und im ersten Schritt erstellen wir, wie so oft, ein Array für unsere Preisdaten vom Typ „Double und vergeben den Namen „My Price Array. Danach definieren wir die Eigenschaften für den Bulls Power EA, indem wir die in MQL5 eingebaute Funktion „i Bulls Power nutzen, und zwar für das aktuelle Währungspaar auf dem Chart und die dort eingestellte Zeiteinheit, zum Beispiel das Minuten-Chart oder das 60-Minuten-Chart. Und die Berechnung wird auf die letzten 13 Kerzen erfolgen, denn das ist der Zeitraum, der von Herrn Elder definiert wurde. Und im nächsten Schritt sortieren wir die Preise wieder abwärts von der aktuellen Kerze an, indem wir die Funktion „Array Set as Series nutzen. Das Ganze machen wir mit unserem Price-Array, das wir hier oben definiert haben. So, jetzt füllen wir Wir haben hier unseren Expert-Advisor noch mit Daten. Dazu nutzen wir hier die Definition aus dieser Zeile, die Funktion „Copy Buffer. Diese Null hier steht für den Indikator. Diese Null hier beschreibt die aktuelle Kerze und die drei bedeutet, dass wir die Preise von der aktuellen Kerze für drei Kerzen kopieren möchten und danach speichern wir das Resultat in unserem Price Array. Und aus diesem Price-Array hier holen wir uns jetzt aus der Kerze 0 den aktuellen Bulls Power-Wert und wir machen das mit einer Float-Variable. Normalerweise würde das hier eine Double-Variable sein. Das sind mir aber zu viele Nachkommastellen und außerdem braucht die Float-Variable gegenüber der Double-Variable nur 4 Byte statt 8 Byte im Speicher. In einem letzten Schritt lassen wir uns jetzt auf dem Chart noch unseren Wert und den Text Bulls Power-Wert ausgeben. Das machen wir mit der Comment-Funktion und nach diesem Text wird der Wert ausgegeben, den wir in der Zeile hier ermittelt haben. Kompilieren wir das Ganze, dann bekommen wir hier unten die Warnung, es gibt einen möglichen Datenverlust, weil wir hier einen Float statt einen Double-Wert berechnen. Trotzdem war der Compiler-Vorgang mit null Fehlern erfolgreich. Also klicken wir hier oben auf diesen kleinen Knopf oder drücken die F4-Taste, zurückzuwechseln in den MetaTrader. Im MetaTrader selbst klicken wir auf „Ansicht, „Strategietester oder drücken die Steuerung und die R-Taste. Das ruft dann hier unten den „Strategietester auf und hier wählen wir d...

MQL4 TUTORIAL
MQL4 TUTORIAL – SIMPLE COMMODITY CHANNEL INDEX

MQL4 TUTORIAL

Play Episode Listen Later Feb 22, 2024 5:43


In this video we are going to trade the Commodity Channel Index, that's the Indicator right here; you see the two dotted lines and whenever the line here crosses the upper dotted line we consider that to be a sell signal and when it crosses the lower dotted line that would be a buy signal. In this video we are going to find out how to automatically calculate this signal with a few lines of MQL4 code. To do that please click on the little button here and now you should see the Metaeditor window and here you want to click on “File New Expert Advisor (template)” from template, “Continue”, I will call this file: “SimpleCommodityChannelIndex”, click on “Continue”, “Continue” and “Finish” and now you can remove everything above the “OnTick” function and the two comment lines here. Let's start with a string variable for the signal, that variable will also be called: “signal” – we don't assign a value because we are going to calculate that later on. Let's define our indicator that is done by using the “iCCI” function that comes with MQL4 and if you mark it and hit the F1 key you will see it takes a few parameters. The first parameter is for the symbol – that's actually the currency pair on your chart –, the second one is for the time frame, in our case we use the 1 minute time frame – another time frame could be 5 minutes or 15 minutes and so on –, the third parameter is for the averaging period, that's actually the period we use to calculate the signal and if you click on “Insert Indicators Custom CCI” you will see that the CCI period is 14, so that's what we are using here followed by a typical price. You could also use a close or an open price, the highest or the lowest price, and the last parameter here is for the shift. You could use a shift value to move the Indicator window to right or to the left. We are not going to use it so our last parameter will be 0. Now that we know the value we want to find out if it is above 100, so if the “ICCIValue” we have defined here is greater than 100 – that would be the case when it's above the dotted line here, because this is the 100-plus line –, we consider our currency pair to be oversold so we assign the word: “sell” to our signal. In the other case if our value is below -100, so if our “ICCIValue” is below -100 – that would be the case when the line is below the dotted line here, because the lower line is the minus 100 line – in that case we consider it to be a buy signal so we assign the word: “buy” to our signal. In the last step we create a chart output that is done by using the “Comment” function and we want to output the word: “Signal:” followed by the calculated signal (signal) and in a new line we want to have the output: “ICCI Value:” followed by the current ICC I value (ICCIValue). Okay. Please don't forget the closing bracket and when you are done you can click on the “Compile” button here or press F7 on your keyboard and now you should see an output like this. We have compiled it without any errors and without any warnings and in that case you can click on a little button here or press F4 to go back to Metatrader and in Metatrader we use a little trick; please click on “Insert Indicators Custom CCI” we will go with the default values here so please click on “OK”. Now you should see the little window with the Indicator below the candles and now we right-click in our chart and select: “Template Save Template” and save it as: “tester.tpl” because this is the template that our strategy tester is going to use for the next back test. If you don't see the strategy tester panel you can click on “View Strategy Tester” or press CTRL and R,

MQL5 Tutorial
MQL5 TUTORIAL – SIMPLE ICCI EXPERT ADVISOR

MQL5 Tutorial

Play Episode Listen Later Feb 18, 2024 5:48


In this video we are taking a look at the ICCI Indicator, that’s the Commodity Channel Index Indicator. You can see that this signal here is creating buy and sell signals and whenever the blue line here is above the upper dotted line that would be a sell signal, in the other case if the blue line here is below the lower dotted line that would be a buy signal. Now, how can we create an Expert Advisor that is able to calculate the Commodity Channel Index Indicator? To do that please click on the little button here or press F4 on your keyboard and now you should see the Metaeditor window and here you want to click on “File/ New/ Expert Advisor (template)” from template, “Continue”, I will call this one: “SimpleCommodityChannelIndex”, click on “Continue”, “Continue” and “Finish” and now you can delete everything that is above the “OnTick” function and let's also delete the two comment lines here. Here we need to create a string for the signal that will be also called: “signal” but we don’t assign any value here. We also need to create an array for the price data that will be called: “myPriceArray”, it’s a double array so it can hold floating type values and now we define the ICCI Expert Advisor by using the “iCCI” function that is built in into MQL5, it uses a few parameters; the first one is for the current chart – we use “_Symbol” to get the current currency pair on the chart and “_Period” to get the currently selected period. Right now we are trading the 1-minute chart but another period could be 30 or 60 minutes, the third parameter is the number of the candles. We use 14 candles and if you click on: “Insert/ Indicators/ Custom/ CCI/ Inputs” you would see a period of 14 candles is the default value. When I click on “OK” that’s what we see within the round brackets here, let’s right-click and select “Properties”, go to the “Parameters” tab until you see that we use a typical price and in MQL5 that's “PRICE_TYPICAL” for the last parameter and now that we have defined the ICCI we want to use “ArraySetAsSeries” to store the price data from the current candle downwards for our price array (myPriceArray) we have created here and with “CopyBuffer” we fill our price array (myPriceArray) according to our “ICCIDefinition” for buffer 0 from the current candle 0 and for 3 candles and to get the ICCI value (ICCIValue) we just need to have a look at candle 0 in our price array (myPriceArray) and we assign the result to the variable ICCI value (ICCIValue) and whenever the ICCI value (ICCIValue) is greater than 100 that would be considered to be a sell signal so we assign the word: “sell” to our signal. In the other case if the ICCI value (ICCIValue) is below -100 that would be a buy signal so we assign the word: “buy” to our signal. Now let’s make that a capital and in the last step we want to create an output on the chart that will output the word “Signal:” followed by the calculated signal. Please don’t forget the closing bracket. I will enable the toolbar so now I can click on the “Compile” button here or press F7 on the keyboard to compile the code. We have one warning here because we used the float value here, usually that would be a double value so let’s correct that, press F7 and now the warning is gone, it doesn’t really make a difference because we use the ICCI value (ICCIValue) to find out if something is above 100 or below -100, you can store a lot of digits behind the dot in double value but that’s not very helpful if you just want to find out if something is above plus or below minus 100. Okay, if you could compile your code without any errors you could now click on the little button here or press F4 on your keyboard to go back to Metatrader. In Metatrader you want to click on “View/ Strategy Tester” or press CTRL and R on your keyboard and here in a Strategy Tester please select the “SimpleCommodityChannelIndex.ex5” file, mark the visualization option here and start your test and here’s our little Expert Advisor at work it creates outputs for buy and sell signals on your chart and now you know how you can code it and you have coded it yourself with a few lines of MQL5 code. Not sure what to do? Click on the automated trading assistant below MQL5 TUTORIAL- SIMPLE ICCI STANDALONE EA How to create an ICCI Expert Advisor with MQL5 How to create a commodity channel index EA with MQL5 MQL5 Tutorial - How To Code A Simple Commodity Channel Index MQL5 TUTORIAL - SIMPLE STOCHASTIC STANDALONE EXPERT ADVISOR The post MQL5 TUTORIAL – SIMPLE ICCI EXPERT ADVISOR appeared first on MQL5 Tutorial.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Average True Range Expert Advisor

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Feb 11, 2024 5:58


  Einführung in den Average True Range Indikator (00:00 – 00:19) Einführung in den Average True Range (ATR) Indikator, der für die Analyse der Marktvolatilität verwendet wird und aus einer einzigen Linie besteht, die auf 14 Kerzen basiert. Analyse des Average True Range Indikators (00:19 – 01:04) Analyse des ATR Indikators anhand von Chartbeispielen, die zeigen, wie der Indikator starke oder schwache Kursbewegungen anzeigt. Erstellung eines Expert Advisors für den ATR Indikator (01:04 – 03:06) Anleitung zur Erstellung eines Expert Advisors im MetaEditor, der den ATR Indikator berechnet, inklusive der Einrichtung des MetaEditors und der Definition des Arrays und der Indikator-Eigenschaften. Berechnung und Ausgabe des ATR Werts (03:06 – 03:46) Schritt-für-Schritt-Anleitung zur Berechnung des ATR Werts und zur Ausgabe dieses Werts auf dem Chart. Kompilieren und Testen des Expert Advisors im MetaTrader (03:46 – 04:23) Anleitung zum Kompilieren des Expert Advisors und zum Testen im MetaTrader mit dem Strategie-Tester. Demonstration des Expert Advisors im MetaTrader (04:23 – 05:38) Demonstration des Expert Advisors im MetaTrader, Anzeige des ATR Werts und Interpretation der Signale, inklusive der Verbesserung des Indikators durch Anpassung der Kerzenanzahl. Zusammenfassung und Anwendungsmöglichkeiten (05:38 – 05:49) Zusammenfassung des Gelernten über den ATR Indikator und Anleitung zur Programmierung des Indikators in einem Expert Advisor in MQL5.   Diesmal sehen wir uns den Average True Range Indikator an der auch mit dem MetaTrader 5 ausgeliefert wird. Das ist ein sehr einfacher Indikator der aus einer einzigen Linie besteht. Er wird rückgerechnet auf 14 Kerzen und vom Prinzip geht es darum, dass dieser Indikator anzeigen soll ob wir gerade sehr schwache oder sehr starke Kursbewegungen haben. Sobald diese Linie hier unten weit unten landet, bekommen wir hier oben den Text schwacher Average True Range Wert angezeigt und die Theorie ist, dass nach sehr kleinen Kerzen und wenig Bewegung dieser Indikator wieder nach oben geht und in dem Moment wo wir hier sehr große Kerzen sehen und die Volatilität steigt, zeigt uns hier oben unser ExpertAdvisor „STARKER AverageTrueRangeWert“ an und der Wert hinter diesem Text sollte immer übereinstimmen mit dem Wert aus dem Indikator hier unten. Das ist z.b nützlich für Systeme bei denen man sich in schwachen Phasen raushalten möchte. Für viele Strategien ist es einfach nicht sinnvoll in einen Seitwärts-Markt einzusteigen, also wartet man ab bis sich der Markt etwas stärker bewegt. Wie kann man jetzt für den AverageTrueRange Indikator einen ExpertAdvisor erstellen? Dazu klicken wir hier oben im MetaTrader auf dieses kleine Symbol oder drücken die F4 Taste. Das ruft dann den MetaEditor auf und hier gehen wir auf Datei, neu, ExpertAdvisor von Vorlage. Klicken auf Weiter und vergeben den Namen „SimplerAverageTrueRangeEA“, klicken noch mal auf weiter, weiter, fertigstellen und löschen jetzt alles oberhalb der „OnTick“ Funktion. Auch die beiden Kommentarzeilen hier können verschwinden. Das Erste was wir jetzt brauchen ist ein „Array“ für Preis Daten. Das ist vom Typ „double“ und trägt den Namen“ PreisArray“. Im nächsten Schritt nutzen wir die eingebaute mql5 Funktion „iATR“ für das aktuell auf dem Chart angezeigte Währungspaar und die für das Chart ausgewählt Periode wie z.b. das Minuten Chart und wir wollen unser Ergebnis berechnen aufgrund der letzten 14 Kerzen. Der Grund dafür ist, dass der Average True Range Indikator von „J. Welles Wilder, Jr“ für diese 14 Kerzen definiert wurde. Wenn man übrigens bei Wikipedia auf den Namen klickt,

MQL5 Tutorial
MQL5 Tutorial – Simple Adaptive Moving Average Robot

MQL5 Tutorial

Play Episode Listen Later Feb 11, 2024 6:13


Okay, this time we are talking about an Adaptive Moving Average Indicator. It was created (I think) by Perry Kaufman and you can use it to find entries or exits like you could with a simple moving average. Now if that is almost the same, why should we prefer to use an Adaptive Moving Average? Well Perry J. Kaufmann created this fascinating formula here for a reason. The Adaptive Moving Average has less lagging and generates less false signals. Let’s see if that is true. Now how can we create an Adaptive Moving Average Expert Advisor for Meta Trader 5? First please click on the little button here, that should bring up the MetaEditor. And here you want to select File, New, Expert Advisor from template, Continue and we will call that Simple Adaptive Moving Average. Now click on Continue, Continue, finish, and you can remove everything above the Ontick function here and I will also delete the two comment lines. So let’s create an array that will hold our prices, I will call it my price array and it is a double array because double and float variables can hold floating point types. And the adaptive moving average has six digits behind the dot and now we want to use the integrated MQL5 function iAMA for the current symbol on the chart and the current period, we want to calculate our prices based on the last nine candles. The Fast Moving Average has a value of two because if you Insert, Indicators, Trend, Adaptive Moving Average, you will see the values here, these are the nine candles. The fast EMA, that’s an Exponential Moving Average, is calculated for two candles and the slow EMA is calculated for thirty candles. And we do not need any shift, so we will use the exact same values here: nine candles, two candles for the fast EMA, thirty candles for the slow EMA. Zero for no shift and I would like to have the values calculated based on the close prices because the close price is also the default setting here. Okay let’s move on and sort the price array from the current candle downwards by using the array set as Series function for the price array we have created here. And now we want to fill it with data, that is done by using Copy Buffer for the Defined Moving Average, that’s the Adaptive Moving Average Definition we have created in this line. We just need one line, that’s the zero here, and we want to copy values from the current candle that’s candle zero for three candles that’s the three here, and we want to store the results in our price array. And now what we have done that, we want to get the value of the current candle, that’s candles zero of our price array and we use the normalized double function to get six digits behind the dot and the calculated value should be stored in a variable that is called Adaptive Moving Average Value. And the last step is to create a chart output by using the comment function. It will output the text AMA value and the calculated value for the Adaptive Moving Average Value we have extracted here. Okay that’s it, now please click the Compile bottom and you should get no errors and no warnings here so now you can click the button or hit the F4 key to go back to MetaTrader. And in MetaTrader you want to click on View, Strategy Tester, and in the Strategy Test panel you want to select the Simple Adaptive Moving Average.ex5 file. Select any currency pair you like and please make sure to enable the check mark for the visualisation option before you start your test. And here we go! if you move your mouse to the current value here, you'll see that we have a value of 1.544031, that’s exactly what we have calculated here. And in your Expert Advisor you would now compare the value of the adaptive moving average to the current price. And if the price is above the moving average you would buy, and if the price is below the moving average you would sell. Okay now you can create an Expert Advisor that uses the Adaptive Moving Average Indicator to find out if you want to buy or if you want to sell and you have created it in less than five minutes with a few lines of MQL5 code. Not sure what to do? Click on the automated trading assistant below How to create an Adaptive moving Average EA with MQL5 The Empowering MQL5 Moving Average MQL5 TUTORIAL - PLATIN SYSTEM - ADVANCED MOVING… MQL5 TUTORIAL - SIMPLE AMA STANDALONE EXPERT ADVISOR MQL5 TUTORIAL - HOW TO CREATE A SHIFTED MOVING AVERAGE The post MQL5 Tutorial – Simple Adaptive Moving Average Robot appeared first on MQL5 Tutorial.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 TUTORIAL DEUTSCH – Simpler Market Facilitation Index

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Feb 3, 2024 6:33


Dieses farbenfrohe Lichterspiel hier im Hintergrund ist der Market Facilitation Index. Auch der ist im MetaTrader 5 enthalten, und in diesem Video möchten wir uns einmal anschauen, wie man den BWMFI-Wert hier auf dem Chart ausgeben kann. Falls Sie sich fragen, was diese unterschiedlich gefärbten Balken hier bedeuten: Wikipedia bietet hier in englischer Sprache für den Market Facilitation Index die Erklärungen für die vier unterschiedlichen Darstellungen, die es gibt. Grundsätzlich geht es darum, eine Verbindung zwischen dem Indikator und dem Marktvolumen herzustellen. Ich selbst bin bei der Signalwirkung von diesem Indikator eher skeptisch, aber wir wollen uns jetzt einmal anschauen, wie man den BWMFI-Wert von Bill Williams in MQL5 programmieren kann. Um das zu tun, klicken Sie bitte hier oben auf diesen kleinen Button im MetaTrader, und jetzt sollten Sie den Meta-Editor sehen. Und hier wählen wir „Datei/ Neu/ Expert Advisor (Vorlage)/ Weiter“. Ich vergebe hier einmal den Namen „SimplerBWMFI“, klicke auf „Weiter/ Weiter/ Fertigstellen“. Und jetzt können Sie alles oberhalb der „onTick“-Funktion entfernen und auch diese beiden Kommentarzeilen löschen. Innerhalb der „onTick“-Funktion erstellen wir uns zunächst einmal ein Array für den Expert Advisor. Das ist vom Typ „Double“ und bekommt den Namen „BWMFIArray“, das steht für „Bill Williams Market Facilitation Index“. Danach definieren wir den Expert Advisor, indem wir die eingebaute MQL5-Funktion iBWMFI nutzen. Die benötigt als Parameter das aktuell auf dem Chart ausgewählte Währungspaar, die auf dem Chart eingestellte Zeiteinheit, und als 3. Parameter wird das Tick-Volumen übergeben. Denn wenn man sich hier einmal die Eigenschaften mit der rechten Maustaste anzeigen lässt, dann sieht man hier unten, dass als Standardwert-Volumen „Tick“ eingestellt ist. Im Anschluss sortieren wir unser Array von der aktuellen Kerze abwärts. Das kann die Funktion „ArraySetAsSeries“ übernehmen, die ebenfalls in MQL5 eingebaut ist. Die sortiert unser Array, welches wir hier oben erstellt haben, von der aktuellen Kerze 0 –das ist diese Kerze- abwärts für 3 Kerzen. Und danach können wir mit „CopyBuffer“ unser Array hier mit Daten füllen. Wir möchten das gerne anhand der von uns getroffenen Definition aus dieser Zeile hier machen, für jeweils einen Buffer oder eine Linie, darum nutzen wir hier den Wert 0. Wir brauchen von der aktuellen Kerze für 3 Kerzen die Daten. Da die aktuelle Kerze den Index 0 hat, nutzen wir hier die 0, und diese 3 sorgt dafür, dass wir auch für die nächsten 2 Kerzen Daten erhalten. Und alle diese Daten möchten wir im Array speichern, darum geben wir als letzten Parameter hier unser BWMFIArray an. Um den aktuellen Wert berechnen zu können, greifen wir auf die Kerze 0, also auf die aktuelle Kerze in unserem BWMFIArray, zu und weisen das Ergebnis der Variable „BWMFIWert“ zu. Die ist vom Typ „Double“, kann also Dezimalzahlen mit Nachkommastellen verarbeiten. Fehlt noch die Ausgabe auf dem Chart, und das übernimmt für uns die MQL5-Funktion „Comment“. Die wird uns den Text „BWMFIWert“, gefolgt von dem hier berechneten Wert ausgeben. Das war's auch schon. Sie können jetzt hier oben auf „Kompilieren“ klicken, oder F7 auf Ihrer Tastatur drücken; dann sollten Sie hier unten keine Fehler oder Warnungen erhalten. Und wenn das bei Ihnen auch so ist, dann klicken Sie bitte hier oben auf diesen kleinen Button, oder drücken die F4-Taste auf Ihrer Tastatur, um in den MetaTrader zurückzukehren. Und im MetaTrader klicken wir auf „Ansicht/ Strategietester“, oder drücken die Tastenkombination Stgr+R. Das ruft dann hier dieses StrategietesterPanel auf,

MQL5 Tutorial
MQL5 Tutorial – Simple Force Index Trading Robot

MQL5 Tutorial

Play Episode Listen Later Feb 3, 2024 5:27


Okay this time we are talking about the Force Index Indicator. It is a very simple indicator. It's easy to read and also easy to code. If the indicator crosses the line in the middle from below and stays above the line, that could mean that we are bullish. And when it crosses the line from above and stays below the line like in this case, we have a bearish trend and we would like to sell. According to the website www.traderhq.com, this is also an indicator that was developed by Dr Alexander Elder, the author of the book: Trading for a Living. Okay now that we know how it works how can we create an Expert Advisor to use the indicator? The first step is to click the little button over here or hit the F4 key on your keyboard. That will start the Meter Editor and we want to click on File, New, Expert Advisor from template, Continue. We will call it Simple Force Index Robot. Now click on Continue, Continue, Finish, and delete everything above the Ontick function. These two comment lines are also no longer needed, because here we want to create an array, it shall holds several prices so it’s a double array and I will call it my price array. And now it’s time to define the Force Index definition by using the iForce function that is built-in into MQL 5. It takes some parameters, the first one is the current symbol on the chart, the second one is the period you have selected on your chart. The Force Index is calculated based on the last thirteen candles. You will also see it here in this little brackets. It is using the MODE_SMA that stands for Simple Moving Average and we want to use Tick volume. If you insert the indicator by clicking on Insert indicators, Oscillators, Force Index, you will see the exact same values here: thirteen candles, simple moving average based on the tick volume. Okay, let’s use the array set as series function that will sort the price array from the current candle downwards and now we use Copy Buffer for the Force Index definition we have created here. We need one line for the indicator that’s a zero here and we want to fill our array from the current candle that’s candle zero, for three candles that’s the three and store the result in our price array. And from our price array we are now going to extract the Force Index value for the current candle zero and we will use normalize double for six digits to get the six digits behind the point. And now we want to create a chart outputs depending on the value and if our Force Index value is above zero, we want to output the comment “trending upwards” directly on our chart and in the other case if the Force Index value is below zero, we want to have the text “trending downwards” on our chart. Okay, now please click on the little Compile button here or press the F7 key on your keyboard. That should compile your Expert Advisor without any errors or warnings here. And if that was going well please click on the button here or press F4 to go back to MetaTrader. Now in MetaTrader you want to click on View, Strategy Tester or press control and R. And in the Strategy Tester you want to select the Simple Force Index Robot.ex5 file. Let's pick a currency pair here, enable the visualisation mode and click on Start and here we go. Now the indicator is below the line so it says trending downwards and as soon as the little indicator crosses the line from below, that changes to trending upwards. Okay, now you know how to create an Expert Advisor for Meta Trader5 that is using the Force Index Indicator and you have created it yourself in five minutes with a few lines of MQL5 code. Not sure what to do? Click on the automated trading assistant below How to create a force Index EA with MQL5 How to create a Bulls Power EA with MQL5 How to create a Demarker Expert Advisor with MQL5 How to create a MacD EA with MQL5 MQL5 TUTORIAL - PLATIN SYSTEM - VARIABLE INDEX… The post MQL5 Tutorial – Simple Force Index Trading Robot appeared first on MQL5 Tutorial.

Cierre de mercados
Consultorio y Formación con Admirals España

Cierre de mercados

Play Episode Listen Later Jan 22, 2024 13:21


Consultorio y Formación con Admirals España en el que Franco Macchiavelli nos habla del mercado en una sesión con los índices de Wall Street en territorio de máximos históricos. Los inversores están a la espera de conocer esta semana importantes referencias macroeconómicas y resutlados en Estados Unidos. En el Consultorio y Formación con Admirals España, Franco Macchiavelli analiza los siguientes valores: Indra, Puma, BMW, Intel y Celsius, entre otros. Sobre Admirals Markets Admirals, una empresa con presencia mundial, se ha convertido en el proveedor fiable y de confianza para sus clientes desde 2001. Con Admirals, los clientes tienen acceso a sólidas disposiciones de seguridad financiera y diversas políticas de atención al cliente. Opera índices, metales preciosos, energías, ETFs, acciones y bonos, con excelentes condiciones a través de la plataforma de trading MetaTrader 5. También puedes operar directamente en su navegador con WebTrader de MetaTrader. Los mejores traders y analistas para eneseñarte. Más de 15 profesonres con muchos años de experinecia en los mercados financieors. Juan Enrique Cadiñanos, David Galán, Carlos Doblado, José Luis Cárpatos, David Aranzábal y muchos más. Todos ellos estarán a tu disposición en este máster de trading. FORMACIÓN En el capítulo de formación, desde Admirals tienen un abanico muy amplio de cursos para conseguir que los clientes acaben teniendo independencia pero para llegar a ese punto, hay que tener una base primero. En los webinarios de Admirals España hay muchísima oferta formativa y si hablamos del Máster de Trading, en él han colaborado David Galán, José Luis Cárpatos, Carlos Doblado, etc..

MQL5 Tutorial
MQL5 TUTORIAL – LIVE TRADING EXPERIMENT 2024 – LIVE UPDATES AND A LIVE PROFIT DOCUMENTED

MQL5 Tutorial

Play Episode Listen Later Jan 10, 2024 5:51


  20240101: DOWNLOAD 28 result videos for this system https://bit.ly/41OIpzK 20240101: README Documentation (updated often): https://bit.ly/41FPceY 20240102: System Download for Demo accounts: https://bit.ly/3H3diqt 20240103: Account Setup: https://youtu.be/qtCXQI3XL_4 20240104: Trading System Import: https://youtu.be/4AWpxGKVS4A 20240105: First Account Profit: https://youtu.be/BqXaoGyy3QU 20240106: Setup MX Linux server in 5 minutes: https://youtu.be/JVZoYn2w6Yw 20240107: Setup Metatrader on Linux in 3 minutes: https://youtu.be/DTkOQKW3HT4 20240109: Live Updates & Live Profit: https://youtu.be/BCnttK7d4HI In this video, I want to talk about how I got my advanced statistics to run. Actually, I had to change the account to Robo Forex and use a demo account there because what I didn’t know was that FXblue is not able to provide statistics for MetaQuotes demo accounts because they simply do not have the MetaQuotes company in their list. So when you pick a broker, you need to pick one that’s in their list, and MetaQuotes is not part of that. Yes, I could write to the support to add MetaQuotes, but I guess for this experiment, it’s more useful to use an account that actually is included. And for Robo Forex, they support demo accounts. I have to admit that advanced statistics for Robo Forex have been a pretty standard for me and my clients in the last few years. If you don’t know, I’m offering a premium course about MQL5 programming, and that is also where a lot of people use the same Robo Forex account settings that I use. So I actually didn’t know that MetaQuotes wasn’t in the brokers list. And I switched to this account, and that means that we had to start over with $100,000. So right now, we have made a profit of $71, and I guess in the next hour or so, we will make a few more trades. But the crazy thing is, I actually tried to use this account sync option. They say that it works for MetaTrader 4 and MetaTrader 5, but it wasn’t running on Linux and it wasn’t performing. So I thought, okay, I need to download this publisher app here, and I did. So the version I picked was this one for MetaTrader 5. You can download it for free and you will get a zip file. And when you open that zip file with Linux, you will find there is a publisher ex5 file inside. I had to extract that. Now, let’s go back to the trading terminal and click on File, Open Data folder, MQL5 experts. And here is that FX Blue publisher ex5 file. I then opened a new chart, and here is the ExpertAdvisor that you can drag onto the chart. I’m not going to replace it right now because it’s already working. You can see that the last synchronization was today at about 20 minutes past 5. Let’s open the FX Blue statement. This is the correct account number. It says that we have a history of eight days, which is true because the account is eight days old, but I started to use it yesterday. I can now refresh the state, and it says we have an open loss of $23 and a profit of $71. So let’s go back to MetaTrader and check. Yes, that’s about what is happening right now. And you can see that we have a profit here. So I expect my system to close both trades in the next few minutes because it’s configured in a way that when a new candle appears on the chart and the profit is higher than what I have defined, it should close both trades and lock in the account-based profit. This is the current candle. Currently, I’m using the hourly candles, so let’s switch to one minute. And I think that it will only take a few seconds until we see that this trade is closed, at least until the profit value drops. But with the lot size of 0.86 lots, it’s just a question of a few seconds before the profit value is reached again. Here is the new candle, but the profit is below $10, so let’s wait for the next one. And here we are. We have closed closed the trade. Now, let’s go back to the hourly chart. It already opened a new one. Now, the balance is $100,101. The history has changed. And when we go back to the stats here, we still see $71 of profit. But when we refresh the page, here is the new state, and this matches the account data. And as soon as this trade is going to be in the profit range, we will see another update. Currently, I’m experimenting with the take profit value here. I can change that in the source code as I do for my clients. Now you know how to activate the FX Blue publisher file, do automated status updates for FX Blue. So that’s it for today’s video. I say thank you for watching, and I will see you in the next one.. Not sure what to do? Click on the automated trading assistant below MQL5 TUTORIAL - LIVE TRADING EXPERIMENT 2024 -… MQL5 TUTORIAL - LIVE TRADING EXPERIMENT 2024 - SETUP… MQL5 TUTORIAL - JOIN THE GREAT TRADING EXPERIMENT 2024 MQL5 TUTORIAL - LIVE TRADING EXPERIMENT 2024 -… MQL5 TUTORIAL ENGLISH - SETUP YOUR ADVANCED STATISTICS The post MQL5 TUTORIAL – LIVE TRADING EXPERIMENT 2024 – LIVE UPDATES AND A LIVE PROFIT DOCUMENTED appeared first on MQL5 Tutorial.

MQL5 Tutorial
MQL5 TUTORIAL – JOIN THE GREAT TRADING EXPERIMENT 2024

MQL5 Tutorial

Play Episode Listen Later Jan 2, 2024


    20240101: DOWNLOAD 28 result videos for this system https://bit.ly/41OIpzK 20240101: README Documentation (updated often): https://bit.ly/41FPceY 20240102: System Download for Demo accounts: https://bit.ly/3H3diqt   This video is about a big trading experiment that I would like to do together with you. Today is January 1, 2024, it’s just before 4 pm and I’ve spent the day today running strategy tests for all the major currency pairs that I trade myself for this system here, trading through the entire year of 2023. And I will also make these videos available for you to watch for yourself. But the big experiment here is that I would like to use the year 2024 together with people like you to make this system better. That’s why I’m now offering a version of the Robot Trading System that runs indefinitely on a demo account from January 2024. This means that if you use a demo account, you can do everything that I do myself. I will also initially trade this system on a demo account, and it will be about how you can set up, adjust and improve such a system over the course of the year so that you get a decent result at the end of the year. We will also discuss and share some other things that might help you, even if you haven’t had anything to do with automated trading before or if you want to have a look at the whole thing first if you are interested in joining in. You don’t need any prior knowledge, you don’t need any capital. All you need is a computer that has been manufactured in the last ten years. You need a demo account. You can get that for free from Metaquotes or other companies and you need to do strategy tests like this here with Metatrader five, which you can also download for free. This time we would have made a net profit of €1,642 on an account with a deposit of €10,000. And why are we doing all this on a demo account? Well, there are few people who are actually willing and ready to invest time in real trading results on a demo account before trading real money with a real money account. And in almost every trading session there are always dips like this. And that leads people to close their account at exactly this point. Because that’s where the fear is greatest. But you don’t have to be afraid on a demo account. And as soon as you feel that the system works well enough for you, you can switch at any time. But we have already done experiments like this in the past and I would like to start 2024 in the same way. Because I believe that nothing can replace the knowledge you have gained yourself. And in this case, I think you have little to lose and a lot to gain. That’s it for this opening video. I wish you a happy new year and in the next few days you will receive more information, new videos and also the download link to the version of this system that you can then use for free on your own demo account. If you are already an existing customer, I have activated a few more parameters for the Robot Trading System here. This means that the system can now be controlled more precisely. And if you like the results here, I’ll see you in the next video. Thank you very much for watching. And we’ll continue in the next video. ​ Not sure what to do? Click on the automated trading assistant below MQL5 TUTORIAL - LIVE TRADING EXPERIMENT 2024 -… MQL5 TUTORIAL - FREE TRADING TRAINING FOR 2023 LEARN MQL5 TUTORIAL BASICS - LEVEL 1A BUILD YOUR OWN… MQL5 TUTORIAL - 101 WHAT HARDWARE FOR ALGORITHMIC TRADING MQL5 TUTORIAL - 99 NEW LIVE CROWD ALGO TRADING SYSTEM The post MQL5 TUTORIAL – JOIN THE GREAT TRADING EXPERIMENT 2024 appeared first on MQL5 Tutorial.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Envelopes Expert Advisor

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Dec 29, 2023 8:02


  Einführung in den Envelope Indicator (00:00 – 00:17) Einführung in den Envelope Indicator, der den Kursverlauf innerhalb bestimmter Linien darstellt und bei Überschreitung dieser Linien Handelssignale generiert. Analyse des Envelope Indicators (00:17 – 01:04) Analyse des Envelope Indicators anhand von Chartbeispielen, die zeigen, wie der Indikator bei Überschreitung der Linien auf bevorstehende Kursänderungen hinweist. Erstellung eines Expert Advisors für den Envelope Indicator (01:04 – 03:06) Anleitung zur Erstellung eines Expert Advisors im MetaEditor, der den Envelope Indicator berechnet, inklusive der Einrichtung des MetaEditors und der Definition des Arrays und der Indikator-Eigenschaften. Berechnung und Ausgabe des Envelope Werts (03:06 – 03:46) Schritt-für-Schritt-Anleitung zur Berechnung des Envelope Werts und zur Ausgabe dieses Werts auf dem Chart. Kompilieren und Testen des Expert Advisors im MetaTrader (03:46 – 04:23) Anleitung zum Kompilieren des Expert Advisors und zum Testen im MetaTrader mit dem Strategie-Tester. Demonstration des Expert Advisors im MetaTrader (04:23 – 05:38) Demonstration des Expert Advisors im MetaTrader, Anzeige des Envelope Werts und Interpretation der Signale, inklusive der Verbesserung des Indikators durch Anpassung der Kerzenanzahl. Zusammenfassung und Anwendungsmöglichkeiten (05:38 – 05:49) Zusammenfassung des Gelernten über den Envelope Indicator und Anleitung zur Programmierung des Indikators in einem Expert Advisor in MQL5.   Mit MQL5 und Metatrader5 kann man den Envelopes Indikator in weniger als 5 Minuten für einen Trading Robot programmieren, mit dem man automatisch traden kann. Die MQL5 Funktion iEnvelopes kommt mit dem Metatrader5, damit programmieren wir in diesem Video einen Envelopes Expert Advisor für den Metatrader5… Diesmal sehen wir uns den sogenannten “Envelopes Indicator” an. Envelope bedeutet Umschlag und wenn man ein wenig hineinzoomt, dann kann man sehen, dass auf diesem Chart der Kurs zum überwiegenden Teil hier innerhalb dieser beiden Linien verläuft. Die Idee ist jetzt, bei einer Überschreitung einer dieser Linien in die entsprechende Richtung einen Trade zu eröffnen. Beispielsweise sehen wir hier, dass die Kerzen oberhalb des oberen Bandes geschlossen wurden. Wir würden also jetzt einen Short-Trade eröffnen und hätten auf dieser Strecke hier ganz ordentlich Profit gemacht. Außerdem ermöglicht uns der Envelope-Indicator uns in den langweiligen Seitwärtsphasen ohne richtige Trends herauszuhalten. Wir würden jetzt darauf warten, dass eines dieser Bänder hier überschritten wird und dann einen Trade in die entsprechende Richtung eröffnen. Der sogenannte Moving Average Envelope Indicator ist ein Instrument für die technische Analyse und ähnelt den Bollinger Bändern. Genau wie bei den Bollinger Bändern gibt es die eine Fraktion die sagt, dass ein Überschreiten des oberen Bandes ein Signal für einen starken Aufwärtstrend ist und die andere Fraktion hält das Überschreiten des oberen Bandes für ein Signal dafür, dass wir eine Situation des Überverkaufs haben und der Trend sich umkehren wird nach unten. Sie können das natürlich selbst entscheiden, aber wenn wir uns das hier ansehen, oder diesen Bereich hier, dann würde ich eher glauben, dass sich der Kurs häufiger vom einen Band zum anderen Band bewegt. Wie können wir jetzt einen Expert Advisor für diesen Indikator hier erstellen? Zunächst einmal klicken wir hier oben auf diesen kleinen Knopf oder drücken die F4 Taste. Das ruft hier den MetaEditor auf und dort klicken wir auf Datei – Neu – Expert Advisor aus Vorlage – weiter, vergeben den Namen SimplerEnvelopesEA,

MQL5 Tutorial
MQL5 Tutorial – Simple MQL5 New Candle Robot

MQL5 Tutorial

Play Episode Listen Later Dec 29, 2023 4:52


  Introduction to Counting New Candles on the Chart (00:00 – 00:17) Discussing the usefulness of counting new candles on a chart and showing the output of four candles since the start of the expert advisor. Importance of Candle Counting in Automated Trading (00:17 – 00:36) Explaining why counting candles is important in automated trading, especially when trading multiple positions and currency pairs. Resource Management and Avoiding Computer Crashes (00:36 – 01:17) Highlighting the importance of resource management to avoid computer crashes, especially during fast market movements. Creating a Simple Expert Advisor for New Candle Detection (01:17 – 01:57) Demonstrating how to create a simple expert advisor in MetaTrader to detect new candles. Setting Up Price Array and Sorting for Candle Data (01:57 – 02:20) Instructions on setting up a price array and sorting it to hold price data for candle detection. Filling the Array with Price Data and Counting New Candles (02:20 – 02:59) Steps to fill the array with price data and use it to count the number of new candles since the last start of the expert advisor. Creating Timestamp Variables for Candle Time Tracking (02:59 – 03:42) Creating date/time variables to track the timestamp of the current and last checked candles. Updating Candle Counter and Displaying Output on Chart (03:42 – 04:36) Updating the candle counter when a new candle is detected and displaying the output on the chart.   Sometimes it is helpful to count the new candles on the chart. The output in the left upper corner on the chart says we had four candles since we started this Expert Advisor,. One, two, three, four, this is the fifth one. Now you might ask yourself why is this important? Well an Expert Advisor can trade several positions on a chart, and you also can trade several currency pairs and every single candle on the chart can have lots of different price moves. And every time a price changes the OnTick function will be triggered but a lot of trading strategies use close prices. So instead of maybe fifteen calculations within this candle, you would only need one calculation for the close price. Even a high tech computer may have a resource problem, if you try to calculate several dozen trades on several dozen charts because when the market starts to move really fast your computer might be overwhelmed and it may cause a crash. So if you want to avoid computer crashes, it’s a good idea to save resources. To do that you can simply check if a new candle is created and now we will create a simple little Expert Advisor to do that. So let’s click the little button over here or hit the F4 key to bring up the Meta Editor. Select File, new Expert Advisor from template, continue, and we will give it the name Simple New Candle. Now click on continue, continue, finish, and remove everything above the OnTick function. Let’s delete the two comment lines here. Okay now the first thing we need is the price array to hold our price data. So let’s create that, that can be done with MQLRates and we will call a price data. Now we want to sort our array from the current candle downwards with arraysetasseries and in the next step we need to fill it with data. That is done by using copyrates for the current currency pair on the chart and the current selected period. For example I prefer a one minute charts, we want to start with the current candle zero, and copy the price for three candles into our little array price data. To count the number of new candles since the last start of the Expert Advisor, we need a new candle counter. This candle counter will be an integer and it will be static, that means it will never lose its value even if we would like to leave the function. Okay let’s move on, now we are creating datetime variable that will hold a time stamp; this one will hold the time stamp for the last time we checked and it is also static so it will never lose its value. And for the current candle we need another datetime variable and that will be called time stamp current candle and we will fill it by getting the time value of the current candle from our price data array. And if the time stamp for the current candle is different from the timestamp the last time we checked, we want to remember the current timestamp for the next time by assigning it to the timestamp last check variable. Now we want to add the value one to our current candle counter and the last thing we need us the output on the chart. So let’s compile the little Expert Advisor here and we have zero errors and zero warnings. So let’s hit the F4 key or click this button to go back to MetaTrader, select View Strategy Test or hit the control and the R key. Look out for the simple new candle.ex5 file. Mark the visualization option and click on start. And now you should see your candles on the chart being counted and that can be done very fast and you did it in five minutes by creating this little Expert Advisor here. Not sure what to do? Click on the automated trading assistant below How to find new chart candles with MQL5 How to create a Simple Moving Average Expert Advisor… MQL5 TUTORIAL - HOW TO STILL BENEFIT WHEN THE PRICE… MQL5 TUTORIAL - BEWARE OF HISTORY QUALITY ISSUES MQL5 TUTORIAL - 131 STANDALONE EMA MACD EXPERT ADVISOR The post MQL5 Tutorial – Simple MQL5 New Candle Robot appeared first on MQL5 Tutorial.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial – Simpler Bollinger Bands Trading Robot mit MQL5

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Dec 19, 2023 6:34


  Einführung in Bollinger Bänder (00:00 – 00:12) Einführung in die Bollinger Bänder, einen beliebten Indikator im MetaTrader, der einfache Ein- und Ausstiegsregeln in beide Richtungen ermöglicht. Erklärung der Ein- und Ausstiegsregeln (00:12 – 00:22) Erklärung der Ein- und Ausstiegsregeln für Short und Long Trades mit Bollinger Bändern. Berechnung der Bollinger Bänder (00:22 – 00:50) Demonstration, wie die drei Werte für die Bollinger Bänder berechnet werden: Mittelband, oberes und unteres Band. Nutzung der Bollinger Bänder für Handelssignale (00:50 – 01:11) Erklärung, wie der Schlusskurs einer Kerze außerhalb und innerhalb der Bänder als Handelssignal genutzt werden kann. Erstellung eines Bollinger Band Expert Advisors (01:11 – 02:07) Anleitung zur Erstellung eines einfachen Bollinger Band Expert Advisors im MetaEditor. Berechnung der Bollinger Band-Werte im Expert Advisor (02:07 – 03:10) Schritt-für-Schritt-Anleitung zur Berechnung der Bollinger Band-Werte im Expert Advisor. Ausgabe der berechneten Werte auf dem Chart (03:10 – 03:55) Demonstration, wie die berechneten Werte der Bollinger Bänder auf dem Chart ausgegeben werden. Einrichtung der Bollinger Bänder im MetaTrader (03:55 – 04:43) Anleitung zur Einrichtung der Bollinger Bänder im MetaTrader und zur Erstellung eines Templates. Speichern und Anwenden des Templates (04:43 – 05:19) Anleitung zum Speichern und Anwenden des Templates mit den Bollinger Bändern im Strategie-Tester. Demonstration des Expert Advisors in Aktion (05:19 – 06:19) Demonstration des Expert Advisors im Strategie-Tester und Überprüfung der berechneten Werte der Bollinger Bänder. Zusammenfassung und Anwendungsmöglichkeiten (06:19 – 06:19) Zusammenfassung des Gelernten über die automatische Berechnung der Bollinger Bänder und deren Nutzung im Expert Advisor.   Mit MQL5 und dem Bollinger Bands Indikator lassen sich für den Metatrader5 sehr schöne Strategien programmieren, mit denen man auch aufgrund von dynamischen Bewegungen einfach automatisch traden kann… Falls Sie sich einmal mit Markttechnik befasst haben, oder im Metatrader gerne Indikatoren benutzen, dann kennen Sie vielleicht die sogenannten Bollinger Bänder. Es handelt sich hierbei um einen sehr beliebten Indikator, der es jedem Trader ermöglicht mit sehr einfachen Regeln Ein- und Ausstiege in beide Richtungen zu finden. Die Einstiegsregel für einen Short-Trade besagt, dass man, sobald der Kurs das obere Band überschreitet und wieder eintritt, in die absteigende Richtung einen Sell-Trade eröffnet. Andersherum würde man in diesem Fall hier beim Überschreiten der unteren Linie einen Buy-Trade eröffnen, weil zu erwarten ist, dass sich der Kurs hier nach oben bewegt. Halten wir die Simulation an dieser Stelle einmal kurz an, dann können wir erkennen, dass hier oben drei Werte berechnet werden. Der Wert MeinMittelbandwert zeigt gerade einen Wert von 0.71064 an. Wenn ich kurz die Maus hier unten hinhalte, dann sehe ich, dass ich 0,710643 habe, da dieser Wert etwas aufgerundet wird. Für das obere Band habe ich einen Wert von 0,711245 berechnet und auch das untere Band wird mit 0,710040 korrekt berechnet und hier oben dargestellt. Wofür ist das Ganze gut? Ganz einfach, wenn der Schlusskurs einer Kerze ausserhalb des unteren Bandes liegt und der Schlusskurs der nächsten Kerze wieder innerhalb der Bänder liegt, dann kann ich das als Einstiegssignal in die entsprechende Richtung nutzen. Wie berechnet man jetzt diese Bollinger Bänder? Um das zu tun, klicken Sie bitte im Metatrader hier oben auf den kleinen Button oder drücken die F4-Taste. Das wird den Metaeditor aufrufen. Hier wählen wir Datei, Neu,

MQL5 Tutorial
MQL5 Tutorial – Simple MQL5 Bollinger Bands Robot

MQL5 Tutorial

Play Episode Listen Later Dec 19, 2023 5:56


  Introduction to Bollinger Bands and Expert Advisor Calculation (00:00 – 01:03) Introduction to using Bollinger Bands in trading and how the expert advisor can calculate all three bands with higher accuracy. Trading Strategy with Bollinger Bands (01:03 – 01:34) Explaining the trading strategy: opening a short trade when the price breaks the upper Bollinger Band and a long trade when it breaks the lower band and returns. Creating an Expert Advisor for Bollinger Bands (01:34 – 02:05) Instructions on creating an expert advisor in MetaTrader to automate trading with Bollinger Bands. Setting Up Arrays and Defining Bollinger Bands in Code (02:05 – 03:21) Coding steps to set up arrays for each Bollinger Band and defining the bands based on the current chart and time period. Outputting Calculated Values on the Chart (03:21 – 03:38) Using the comment function to output the calculated values of the Bollinger Bands on the chart. Compiling the Code and Preparing MetaTrader (03:38 – 04:20) Compiling the expert advisor code and setting up MetaTrader to display the Bollinger Bands on the chart. Testing the Expert Advisor in Strategy Tester (04:20 – 05:39) Running the expert advisor in the strategy tester and comparing the calculated values with the chart’s Bollinger Bands.   If you like to use indicators, you might have heard of the Bollinger bands. This little Expert Advisor here can calculate all three bands. If you put your mouse cursor over the middle band here you see a value of 0.712078 and our calculated value for the middle band is 0.7120775, this calculation even is a little bit more accurate. The value for the upper Bollinger band is 0.712457 and here we have 0.712457. And for the lower Ballinger band it’s the same 0711698, 0.7116979. This value is even more accurate because this one is rounded. So what can we do with a Bollinger Bands? Well the idea is as the price breaks the upper Bollinger band we want to get in at the next entry and we would like to open a short trade here, because we expect the price to fall. In the other case if the price breaks the Bollinger band here and it gets back into the bands we would go for a long trade because the price might rise. So if you can create an automated Expert Advisor that is able to compare these values over here with the current price, you can fully automate this. Your computer can trade the Bollinger bands automatically and you don’t have to sit in front of your screen all the time. So let’s create a little Expert Advisor! To do that please hit the F4 key or click this little button over here and that will open the Meta Editor. Here we click on new Expert Advisor from template, continue, we will call it simple Bollinger bands, click on continue, continue, finish. Remove everything above the OnTick function, remove the comments and the first thing we need is an array for each of the Bollinger bands one, two, three times a double array. Now we need to sort our three arrays to hold prices from the current candle downwards and we do that with the function arraysetasseries. In the next step we need to define the Bollinger bands. We want our Expert Advisor to use the current chart for the current time period used on the chart. It should calculate the Bollinger bands for twenty candles without any shift and with a standard deviation of two, that all should be calculated for the closed price of the candle. Afterwards we need to copy the price information into three arrays and now it’s time to calculate the actual value for the current candle and to store it in a variable for each of the three bands. That’s it for the calculation. Now we want to output our calculated values on the chart, we do that with the comment function and it will output the name of the variable and the value we have calculated in this block. Okay let’s compile the code. We have no errors and no warnings. So let’s click the little button over here or hit the F4 key to bring up the Meta Trader, to make the Bollinger band visible on the screen we will use a little trick. Please click on insert, indicators, Bollinger bands, select the period of twenty candles with a shift value of zero and the deviation value of two, we want to apply all this to the closed price of the candles and now you can pick a color and style for the line. I prefer these thicker lines. Let’s click on okay and you will see the visual representation of the Bollinger bands on the chart. Now right click the chart select templates, save template and save it as Tester.tpl to make it the default chart for strategy tester. And if you save it as default.tpl it will also become the default template if you open a new chart in life trading. So let’s bring up the Strategy Tester by clicking on View Strategy Tester or hitting the control and the R key and select the simple Bollinger bands.ex5 file, make sure to and enable visualization here and start the test. And this is what you should see now, let’s stop it here and check the values. This is 0.706251, 0.7062505, thats okay. The upper Bollinger band is 0.706916, 0.706916, that’s also okay and the lower Bollinger band is 0.705585, and that’s exactly what’s calculated here, so it works. In this video you learned to calculate all the Bollinger bands by creating this little Expert Advisor here. Not sure what to do? Click on the automated trading assistant below MQL5 TUTORIAL - HOW TO CREATE THE BOLLINGER BANDS… MQL5 TUTORIAL - PLATIN SYSTEM - BOLLINGER BANDS ENTRY SIGNAL How to create an advanced Bollinger Bands entry How to create a Bollinger Bands Expert Advisor with MQL5 MQL5 TUTORIAL BASICS - 129 SIMPLE BOLLINGER BANDS… The post MQL5 Tutorial – Simple MQL5 Bollinger Bands Robot appeared first on MQL5 Tutorial.

Online Forex Trading Course
#531: 2023 Trading Year Review

Online Forex Trading Course

Play Episode Listen Later Dec 17, 2023 5:41


2023 Trading Year Review  Podcast: Signup For my Forex Masterclass Find out more about Blueberry Markets – Click Here Find out more about my Online Video Forex Course Book a Call with Andrew or one of his team now #531: 2023 Trading Year Review In this video: 00:30 – A summary of 2023. 01:27 – More traders using MT5. 02:24 – Prop firm trading. 03:13 – Clients in 104 Countries. 03:40 – Have a great Christmas. 04:07 – View our on-demand Masterclass webinar. 04:48 – Blueberry Markets and book a call with us. 05:04 – Looking forward to trading in 2024. 05:18 – Consider joining us now so you can learn the strategy while the market is quiet. As we come towards the end of 2023. Just wanted to make a bit of a summary video of what we've experienced this year. I wish you all fantastic Christmas and an awesome 2024 ahead. Let's get into that and more right now. Hey there, Traders! Andrew here at the Forex Trading Coach with video and podcast number 531. A summary of 2023. Outside in the beautiful New Zealand summertime here and just a couple of weeks to go before Christmas. I hope you're looking forward to that. Just wanted to give you a bit of a summary of 2023 of how things have gone here at the Forex Trading Coach. We have just had another awesome year, some excellent results, all right. Across various timeframe charts and our daily trade suggestions have been profitable yet again every year since we started it in 2010, they've been profitable with just half a percent risk on your trades. Copying what we do just once a day, literally 5 minutes of work, we're probably going to end the year about a 30%, 3-0% gain just off that one time frame chart. And then you add on to that all the other time frame charts, we look at. Trades we take on our forum site, trades we take on our live webinars, trades that our clients take themselves and you can see that yet again, we've had another really, really good year. More traders using MT5. A more and more people changing across to Metatrader 5 from MT4. More timeframes readily built in which is making life easier, just gives more trading options. And of course MT5 has a lot more markets such as the indices, the cryptos, the metals, commodities, etc. built in, which just gives us more and more trading opportunities because all we're doing really is looking for the high quality trading pattern. The actual market that we're trading is less important, it's more the pattern. And have we got some stop loss protection? We've got room to move our profit target. Is it a reversal or is it a continuation, etc.? So again, more markets, more timeframes equals more opportunities to pick high quality trades and then not be kind of where people have that so feeling they should be forced to take a trade. This may be a big quality. No need to do that now because we have so many more trading options. Prop firm trading. And so prop firms. Another thing you'd have heard me talking about prop firms all year more and more and my clients are just doing really well from prop firms. It's a bit of a game changer in all honesty. And if you get a good prop firm, make sure that you have a prop firm that does not have a time limit on when you can make that 10% gain and those prop firms that do have a time limit I'd personally stay away from. And it's why that we look at FX2Funding. It's why we look at The5%ers those kind of people that have been around for some time. They know what they're doing, there good quality companies and there's no time restriction on making the gain. You know, whether you make it in a week, you make it in two or three months, it shouldn't matter. It's all about keeping within that low drawdown criteria, so that's the prop firms. Clients in 104 Countries. We now have clients in 104 countries and as time goes on. We are 15 years old next year at the Forex Trading Coach, our communities, it grows and grows and just gets better and better....

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 TUTORIAL – SO FUNKTIONIERT der WILLIAMS PERCENT RANGE

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Dec 11, 2023 6:02


  Analyse des Williams Prozent Range Indikators (00:17 – 01:04) Analyse des Indikators anhand von Chartbeispielen, die zeigen, wie Spitzen im Indikator vor Kursänderungen auftreten und wie diese Spitzen auf bevorstehende Richtungswechsel hinweisen. Erstellung eines Expert Advisors für den Williams Prozent Range Indikator (01:04 – 03:06) Anleitung zur Erstellung eines Expert Advisors im MetaEditor, der den Williams Prozent Range Indikator berechnet, inklusive der Einrichtung des MetaEditors und der Definition des Arrays und der Indikator-Eigenschaften. Berechnung und Ausgabe des Williams Prozent Range Werts (03:06 – 03:46) Schritt-für-Schritt-Anleitung zur Berechnung des Williams Prozent Range Werts und zur Ausgabe dieses Werts auf dem Chart. Kompilieren und Testen des Expert Advisors im MetaTrader (03:46 – 04:23) Anleitung zum Kompilieren des Expert Advisors und zum Testen im MetaTrader mit dem Strategie-Tester. Demonstration des Expert Advisors im MetaTrader (04:23 – 05:38) Demonstration des Expert Advisors im MetaTrader, Anzeige des Williams Prozent Range Werts und Interpretation der Signale, inklusive der Verbesserung des Indikators durch Anpassung der Kerzenanzahl. Zusammenfassung und Anwendungsmöglichkeiten (05:38 – 05:49) Zusammenfassung des Gelernten über den Williams Prozent Range Indikator und Anleitung zur Programmierung des Indikators in einem Expert Advisor in MQL5.   Heute möchten wir uns einmal den Williams PerCent Range Indikator ansehen. Dabei handelt es sich um ein Hilfsmittel, um festzustellen, ob ein Markt über- oder unterverkauft ist. Dieser Indikator besteht aus einer Linie. Und wenn diese Linie eine dieser beiden gestrichelten Werte überschreitet, dann wird es interessant. Der Williams ProzentRange Indikator oder auch Prozentr Indikator wurde 1966 von Larry Williams entwickelt, um überkaufte oder überverkaufte Situationen anzuzeigen. Wenn man sich unsere Situation hier anschaut, dann sieht man, dass die höchsten Spitzen hier immer auftreten, bevor der Kurs in den Keller geht und andersherum. Diese Spitzen hier unten deuten darauf hin, dass es wieder in die andere Richtung gehen wird. Hier kann man ganz gut erkennen, dass das etwas vor dem eigentlichen Kursabfall angezeigt wird. Und auch diese Spitze ist ein wenig vor dieser Kerze hier entstanden. Derzeit arbeiten wir hier mit 14 Kerzen. Wir werden das aber gleich im Verlauf dieses Videos noch auf 100 Kerzen verändern. Wie erstellt man also jetzt einen Expert Advisor, der den Wert für diesen Indikator messen kann? Dazu klicken wir im Metatrader zunächst hier oben auf dieses kleine Icon oder drücken die F4 Taste. Das ruft den Metaeditor auf und hier klicken wir auf Datei neu Expert Advisor von Vorlage erstellen. Weiter. Wir vergeben hier den Namen Simple Williams Prozentrange und klicken auf weiter. Weiter fertigstellen. Und jetzt löschen wir alles oberhalb dieser Ontick Funktion und entfernen diese beiden Kommentarzeilen. Im ersten Schritt benötigen wir ein Array. Es ist vom Typ Double, da es NachKommastellen für unsere Preisdaten aufnehmen soll und trägt den Namen WPR Array. Jetzt definieren wir noch die Einstellungen für den Williams ProzentRange Indikator. Laut unserer Definition möchten wir die Funktion iWPR nutzen, die in MQL5 eingebaut ist. Und wir möchten den Indikator gerne für das aktuelle Währungspaar auf dem Chart berechnen, und zwar für die auf dem Chart ausgewählte Zeiteinheit, wie beispielsweise das Minuten Chart. Und als Berechnungsgrundlage nutzen wir die letzten 14 Kerzen. Danach nutzen wir die Funktion ArraySetAsSeries für unser Array, um die Preisdaten abwärts von der aktuellen Kerze auszusor...

Cierre de mercados
Consultorio y Formación con Admirals España

Cierre de mercados

Play Episode Listen Later Dec 4, 2023 9:38


Consultorio y formación con Franco Macchiavelli, responsable de análisis en Admirals España. Los oyentes pueden mandarnos sus consultas al WhatsApp al teléfono 609 22 47 16. Si prefieren hablar directamente con el analista y comentarle sus dudas, pueden contactarle en el número de teléfono 91 533 18 51. De los valores por los que nos han preguntado, empezamos con Nvidia. Nos cuenta Franco Macchiavelli que venimos de un rally espectacular marcando máximos históricos pero apunta que ahora está ofreciendo una corrección interesante, por lo que cree que el valor necesita sanearse para seguir subiendo. Si Nvidia se acerca a los 414 dólares, estaríamos ante una lateralidad importante. Es decir, apoyo en 414 y rotura de resistencia en 488 dólares y entraríaamos en una nueva dinámica alcista. El siguiente valor por el que preguntan al responsable de análisis de Admirals España es Tesla, que ha tenido un comportamiento muy bueno y destacaríamos más que soportes y resistencias dinámicos o no, miraríamos el dinámico porque se esta moviendo en esas líneas. Si vemos rotura al alza, continuaríamos con esa dinámica de apoyos tendenciales al alza. Prestemos atención al techo para la continuación del movimiento. En el capítulo de formación, desde Admirals tienen un abanico muy amplio de cursos para conseguir que los clientes acaben teniendo independencia pero para llegar a ese punto, hay que tener una base primero. En los webinarios de Admirals España hay muchísima oferta formativa y si hablamos del Máster de Trading, en él han colaborado David Galán, José Luis Cárpatos, Carlos Doblado, etc.. Volviendo a las consultas de los oyentes, en Telefónica ocurre una dinámica distinta a Tesla, aquí destacamos los estáticos y señalamos ese suelo en 3,50 euros y techo, en 4,10 euros. La acción de Telefónica está lateral, si conseguimos rotura expandimos y objetivo en los máximos anteriores. Del sector bancario, la pregunta es si los bancos han descontado ya el efecto de las subidas de los tipos en sus márgenes de intereses, de si ya los han descontado o de si todavía les falta. De momento mantenemos buen tono en el sector hasta que las tendencias se den la vuelta, entonces hablaremos de otro escenario. Sobre el sentimiento del mercado, Franco Macchiavelli recuerda que venimos de una semana muy buena con los datos de inflación que "enfrió" el presidente de la Fed, Jerome Powell. La pauta estacional de diciembre, la mitad neutral bajista y la otra mitad, rally de navidad y en el medio, la reunión de la Fed. Tenemos que esperar a los datos de empleo de esta semana en EEUU. Y, por último, Grifols, es un valor lateral y hay que esperar a que salga de ahí. Sbore Admirals Markets Opera índices, metales preciosos, energías, ETFs, acciones y bonos, con excelentes condiciones a través de la plataforma de trading MetaTrader 5. También puedes operar directamente en su navegador con WebTrader de MetaTrader. Los mejores traders y analistas para eneseñarte. Más de 15 profesonres con muchos años de experinecia en los mercados financieors. Juan Enrique Cadiñanos, David Galán, Carlos Doblado, José Luis Cárpatos, David Aranzábal y muchos más. Todos ellos estarán a tu disposición en este máster de trading.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Momentum Robot

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Dec 4, 2023 5:58


  Einführung in den Momentum Indicator (00:00 – 00:17) Einführung in den Momentum Indicator, der oft mit anderen Indikatoren wie gleitenden Durchschnitten verwendet wird und Trendwenden voraussagen soll. Analyse des Momentum Indicators (00:17 – 00:50) Analyse des Momentum Indicators anhand von Chartbeispielen, die zeigen, wie Spitzen im Indicator vor Kursänderungen auftreten. Bedeutung des Momentum Indicators (00:50 – 01:07) Diskussion über die Bedeutung des Momentum Indicators und seine Fähigkeit, Fehlsignale zu produzieren. Erstellung eines Momentum Expert Advisors (01:07 – 02:03) Anleitung zur Erstellung eines einfachen Momentum Expert Advisors im MetaEditor. Definition der Eigenschaften des Momentum Expert Advisors (02:03 – 02:44) Schritt-für-Schritt-Anleitung zur Definition der Eigenschaften des Momentum Expert Advisors. Berechnung des Momentum-Werts (02:44 – 03:25) Anleitung zur Berechnung des Momentum-Werts und zur Ausgabe auf dem Chart. Ausgabe des Momentum-Werts auf dem Chart (03:25 – 04:13) Demonstration, wie der berechnete Momentum-Wert auf dem Chart ausgegeben wird. Kompilieren und Testen des Expert Advisors (04:13 – 04:23) Anleitung zum Kompilieren des Expert Advisors und Testen im MetaTrader mit dem Strategie-Tester. Demonstration des Expert Advisors im MetaTrader (04:23 – 05:16) Demonstration des Expert Advisors im MetaTrader, Anzeige des Momentum-Werts und Interpretation der Signale. Zusammenfassung und Anwendungsmöglichkeiten (05:16 – 05:42) Zusammenfassung des Gelernten über den Momentum Indicator und Anleitung zur Anwendung des Expert Advisors im eigenen Handelssystem.   Das hier ist der sogenannte Momentum IndiKator. Der wird relativ häufig zusammen mit anderen Indikatoren wie einem gleitenden Durchschnitt eingesetzt und man sagt diesem Indikator nach, dass er tatsächlich in der Lage sein soll, Trendwenden vorauszusagen. Schaut man sich zum Beispiel den Verlauf an dieser Stelle an, dann sieht man, dass hier eine Spitze ausgebildet wird, bevor der Kurs tatsächlich das Gleiche getan hat. Auch hier können wir das beobachten, kurz bevor das hier passiert. Hier gibt es ebenfalls eine Spitze und die wurde hier nach oben hin auch ausgebildet. Würde man eine senkrechte Linie von hier nach hier ziehen, dann würde man feststellen, dass es tatsächlich sinnvoll gewesen wäre, an dieser Stelle auszusteigen, bevor hier oben der Kurs tatsächlich gedreht hat. Wie andere Indikatoren auch, wird auch der Momentum-Indikator nicht immer fehlerfrei funktionieren und an der einen oder anderen Stelle auch Fehlsignale produzieren. Ob und in welcher Kombination Sie diesen Indikator einsetzen möchten, müssen Sie also selbst bestimmen. Hier oben in der linken Ecke des Charts können Sie jetzt sehen, dass das Momentum mit 100.03 als stark angesehen wird. Es hat noch ein bisschen gedauert, aber tatsächlich ist der Preis hier nach unten gegangen. Der Wikipedia-Eintrag für den Momentum-Indikator bei der Chart-Analyse sieht darin eine Möglichkeit zur Messung der Stärke einer Kurs-Bewegung. Hier werden auch die Formeln erklärt. Aber wenn man wie ich Mathematik nicht studiert hat, dann ist es deutlich leichter, so einen Indikator mit der entsprechenden eingebauten Funktion in MQL5 zu berechnen. Dazu klicken wir im MetaTrader hier oben auf diesen kleinen Button oder drücken die F4 Taste, den MetaEditor aufzurufen. Klicken auf Datei neu, Expert Advisor von Vorlage, weiter, vergeben den Namen simpler Momentum Roboter, klicken auf weiter, weiter fertigstellen und entfernen alles oberhalb der OnTick-Funktion und diese beiden Kommentar Zeilen. Wie so oft brauchen wir hier als allererstes ein Array, also eine Sammlung gleichartiger Variablen.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 TUTORIAL DEUTSCH – SIMPLER DOUBLE EXPONENTIAL MOVING AVERAGE

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Dec 3, 2023 7:04


  Das, was hier auf dem Bildschirm läuft und kaufen und verkaufen anzeigt, das ist ein in MQL5 enthaltener Indikator mit dem Namen Double Exponential Moving Average. Der erzeugt hier bestimmte Werte. Und immer wenn der exponentielle gleitende Durchschnitt oberhalb des aktuellen Kursverlaufs ist, konkret wenn er sich oberhalb der Schluss-Kurse der letzten Kerzen befindet, dann bekommen wir ein Signal zu verkaufen. Im anderen Fall, der gleitende Durchschnitt bewegt sich unterhalb der Schluss-Kurse, dann ist das ein Kauf-Signal. Wie können wir jetzt einen Expert Advisor erstellen, der in der Lage ist, diesen doppelten exponentiellen gleitenden Durchschnitt zu handeln? Um das zu tun, klicken Sie bitte im MetaTrader auf diesen kleinen Button hier oder drücken die F4 Taste. Das ruft dann hier das Fenster für den MetaEditor auf und hier klicken wir auf Datei neu Expert-Advisor aus Vorlage, weiter. Ich vergebe hier mal den Namen Simpler Double Exponential Average, klicke auf weiter, weiter fertigstellen und jetzt kann man alles löschen, was sich oberhalb der OnTick Funktion befindet und auch die zwei Kommentar Zeilen können weg. Und zunächst einmal brauchen wir ein sogenanntes Array. Mit MQL Rates können wir uns eines erstellen. Das bekommt hier den Namen Preis-Information und es wird zunächst einmal mit Array set as series von der aktuellen Kerze an abwärts sortiert. Und danach nutzen wir die MQL5 Funktion Copy Rates, um die Preis Daten in das Array zu kopieren. Copy Rates benötigt einige Parameter. Darum übergeben wir hier das aktuelle Währungspaar, die auf dem Chart eingestellte Periode. Ich handle in der Regel mit einer Minute, aber viele Leute nutzen auch das 30 Minuten oder das Stunden Chart. Wir fangen bei der aktuellen Kerze null an. Das ist immer die letzte Kerze, die gerade entsteht. Das hier wäre dann Kerze eins, Kerze zwei, Kerze drei und so weiter. Wir benötigen die Daten für drei Kerzen und speichern sie in unserem Array Preis Informationen, das wir hier oben erstellt haben. Und damit hätten wir schon mal die Informationen über die Preise. Jetzt brauchen wir noch ein Array. Das wird benötigt, um den gleitenden Durchschnitt Expert Advisor mit Daten zu füllen. Deswegen geben wir ihm auch den Namen Mein gleitender Durchschnitt Array und definieren im nächsten Schritt mit Hilfe der eingebauten MQL5 Funktion IDEMA, dass wir gerne einen doppelten exponentiellen gleitenden Durchschnitt nutzen möchten. Den nutzen wir für das aktuelle Währungspaar auf dem Chart und die auf dem Chart eingestellte Zeiteinheit. Als Berechnungsgrundlage nutzen wir 14 Kerzen. Denn wenn Sie im MetaTrader auf Einfügen, Indikatoren, Tendenz, Double Exponential Moving Average klicken, dann sehen Sie hier in den Eigenschaften, dass auch hier 14 Kerzen als Standardwert zugrunde gelegt werden.   Die Verschiebung ist null und berechnet wird auf den Schluss-Kurs, also den closed-Preis einer Kerze. Und genau aus diesem Grund nutzen wir auch hier eine Null für den Wert der Verschiebung und price_close, den Schluss-Kurs zugrunde zu legen. Auch dieses Array müssen wir von der aktuellen Kerze an abwärts sortieren. Dazu nutzen wir erneut Array set as series und das Ganze mit Daten zu füllen, nutzen wir wieder Copy Buffer für unseren definierten EA, mit dem Namen Definition gleitender Durchschnitt, den wir hier oben berechnet haben. Diese Null hier steht für die erste und einzige Linie in unserem Indikator, die zweite Null für die aktuelle Kerze. Wir benötigen Preis-Daten für drei Kerzen, deswegen diese drei. Und der letzte Parameter ist unser Ziel. Und das ist mein gleitender Durchschnitt Array. Nachdem wir das getan haben, sind wir in der Lage,

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Gleitender Durchschnitt Crossover

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Nov 28, 2023 6:52


Einführung in Exponentielle Gleitende Durchschnitte (00:00 – 00:24) Einführung in die Programmierung eines Expert Advisors, der zwei exponentielle gleitende Durchschnitte verwendet, um Handelssignale zu generieren, basierend auf deren Überschneidungen. Berechnung der Gleitenden Durchschnitte (00:24 – 00:37) Erklärung, wie die gleitenden Durchschnitte berechnet werden: Ein Durchschnitt basiert auf 50 Kerzen, der andere auf 20 Kerzen. Erkennung von Kauf- und Verkaufssignalen (00:37 – 01:00) Demonstration, wie eine Überschneidung der gleitenden Durchschnitte als Kauf- oder Verkaufssignal interpretiert wird. Erstellung eines Expert Advisors im MetaEditor (01:00 – 01:46) Anleitung zur Erstellung eines neuen Expert Advisors im MetaEditor, benannt „Simple Gleitender Durchschnitt Crossover“. Einrichten der Arrays für die Gleitenden Durchschnitte (01:46 – 02:12) Erklärung, wie Arrays für die beiden gleitenden Durchschnitte erstellt werden. Definition der Eigenschaften für die Gleitenden Durchschnitte (02:12 – 03:10) Schritt-für-Schritt-Anleitung zur Definition der Eigenschaften für beide gleitenden Durchschnitte. Berechnung der Gleitenden Durchschnitte (03:10 – 04:01) Anleitung zur Berechnung der Werte für die gleitenden Durchschnitte und Speicherung in den definierten Variablen. Logik zur Erkennung von Überschneidungen (04:01 – 05:18) Implementierung der Logik zur Erkennung von Überschneidungen der gleitenden Durchschnitte und Ausgabe der entsprechenden Handelssignale. Kompilieren und Testen des Expert Advisors (05:18 – 06:00) Anleitung zum Kompilieren des Expert Advisors und Testen im MetaTrader mit dem Strategie-Tester. Demonstration des Expert Advisors im MetaTrader (06:00 – 06:28) Demonstration des Expert Advisors im MetaTrader, Anzeige der Kauf- und Verkaufssignale bei Überschneidungen der gleitenden Durchschnitte. Zusammenfassung und Anwendung der Strategie (06:28 – 06:41) Zusammenfassung des Gelernten und Anleitung zur Programmierung der Crossover-Strategie mit zwei sich überschneidenden gleitenden Durchschnitten in MQL5. In diesem Video lernen Sie, wie Sie einen Expert Advisor programmieren, der Handelssignale basierend auf der Überschneidung von zwei exponentiellen gleitenden Durchschnitten generiert. In diesem Video lernen Sie, wie Sie einen Expert Advisor programmieren, der Handelssignale basierend auf der Überschneidung von zwei exponentiellen gleitenden Durchschnitten generiert. Sie haben es sich gewünscht, also machen wir es auch. Einer unserer englischsprachigen YouTube-Subscriber hat geschrieben, er möchte gerne einen Expert-Advisor, wo sich zwei exponentielle gleitende Durchschnitte überschreiten, programmieren, aber er steckt fest. Und er wollte wissen, ob ich ein Video dazu machen kann. Klar, das, was Sie hier sehen, sind zwei sich überkreuzende gleitende Durchschnitte. Dieser hier wird auf 50 Kerzen und dieser hier auf 20 Kerzen zurückgerechnet. Wenn es zu einer solchen Überschneidung hier kommt und der 20er den 50er Moving Average schneidet, dann wird das als Kauf-Signal angesehen. Und wie man sieht, ist in diesem Fall der Kurs auch gestiegen. Lassen wir das mal einige Kerzen weiterlaufen. Hier haben wir den anderen Fall. Es kommt zur Überkreuzung. Und jetzt liegt der 50 Kerzen Durchschnitt über dem 20 Kerzen Durchschnitt. Dann bekommen wir hier oben Verkaufen angezeigt, weil der Kurs jetzt nach unten geht. Immer wenn sich die beiden Linien hier überschneiden, wechselt hier oben der Text. Wie kann man das jetzt als Expert Advisor programmieren? Dazu rufen wir hier oben über diesen kleinen Button oder mit der F4 Taste den MetaEditor auf.

MQL5 Tutorial
MQL5 Tutorial – Simple Chart Objects

MQL5 Tutorial

Play Episode Listen Later Nov 23, 2023 6:37


  Introduction to Creating Simple Chart Objects in MQL5 (00:00 – 00:34) Introduction to the tutorial on creating simple objects like arrows on the chart each time a tick comes in, using MQL5. Opening MetaEditor and Creating a New File (00:34 – 01:05) Instructions on opening MetaEditor, creating a new Expert Advisor file named “Simple Chart Objects”. Setting Up the Code Structure and Creating Price Array (01:05 – 01:39) Deleting unnecessary code and creating an array for price information using MQL rates. Sorting the Array and Filling with Price Data (01:39 – 01:52) Sorting the array downwards and filling it with price information for the current chart and period. Creating a Static Counter and Drawing Arrows (01:52 – 02:25) Creating a static counter and using it to draw arrows on the chart with ‘ObjectCreate’. Configuring the Arrow’s Appearance and Position (02:25 – 03:08) Setting the arrow’s type, color, and width, and positioning it at the highest point of the current candle. Changing Arrow Appearance with Counter Value (03:08 – 03:42) Changing the arrow’s appearance based on the value of the static counter. Setting Arrow Color and Size (03:42 – 04:23) Configuring the arrow’s color to green and increasing its size. Moving the Arrow and Displaying Counter Value (04:23 – 04:57) Moving the arrow to the highest price of the current candle and displaying the counter value on the chart. Incrementing the Counter for New Symbols (04:57 – 05:17) Increasing the counter by one for each new tick, resulting in different symbols on the chart. Compiling the Code and Testing in MetaTrader (05:17 – 05:51) Compiling the code and testing the Expert Advisor in MetaTrader using the Strategy Tester. Observing Dynamic Symbols on the Chart (05:51 – 06:11) Watching the changing symbols on the chart during the test and understanding how to print dynamic symbols using MQL5.   This time we are going to create simple objects. Each time a tick comes in, one of these objects will be painted here. Usually you will see things like arrows up and down, but actually there are a lot of more possibilities for such an arrow symbol. Everything you see here is called an arrow even if it doesn’t look like one. Now how can we create an Expert Advisor in MQL5 that is going to draw objects like these? To do that, please click on the little button here or press the F4 key on your keyboard. And that will bring up your MetaEditor window and here you want to select File, New, Expert Advisor from Template, Continue. I will call it SimpleChartObjects here, Continue, Continue and finish. And now you can delete everything above the OnTick function and the two comment lines here. And first we need an array for prices, we can create one by using MQLrates and it will have the name Price Information, now we are going to sort the array downwards from the current candle by using arraysetasseries and by using copyrates we are going to fill the price information array for the current chart and the period selected on the chart from the current candle zero for all the bars on the chart and store the values in our array. And now we are going to create a static counter, it will be an integer with the name i, and we will use that value to actually create an arrow with the name MyArrow. Please remember in MQL 5 an arrow can look like a circle or a square or anything else. So we use ObjectCreate for the current chart and our object will have the name MyArrow and we use OBJ_Arrow to create it. The next parameter would be a sub window; we will use a zero here because we are going to create the arrow here in the main window. You might have seen indicators that use a sub window below. We will use the current time and the arrow should be placed on the highest point of the current candle in our price information array we have created here. And with object set integer for the current chart, and the object, my arrow, we use OB J Prop_Arrow Code, and the value of the static counter to change how our object looks. Currently we have the value 179 and as soon as that changes to 180 the arrow code changes and so does the way our arrow looks. And for 181 our arrow would look like this; let’s select a color here, that is done by using objects set integer for the current chart for the object with the name My Arrow and we use OBJ_Prop_Color and we would like to have the color green. If you press F1 on your keyboard you will see a lot of other colors that you can use. To make our object a little bit bigger we’re using object set integer for the current chart for the object with the name MyArrow and we use the OBJProp_Width to set the size to 20. And now we move the object by using ObjectMove for the current symbol and for the object with the name MyArrow on the main window we used, for the current time and we move it to the highest prize of the current candle. I would actually like to have a chart output for the current counter value so we use comment to output the text “i has the value” followed by the current value of the static integer variable i. And in the last step we are going to increase our counter by one, that is done with I++ and now the next time a tick comes in we should see another symbol on the chart. Okay that’s it; let's compile the code here and that worked without any errors. So please click on the little button here or press F4 on your keyboard to go back to MetaTrader. And in MetaTrader click on View, Strategy Tester or press control and R to bring Not sure what to do? Click on the automated trading assistant below How to create a chart object with MQL5 How to create a label object with MQL5 MQL5 TUTORIAL - SIMPLE ON BALANCE VOLUME How to create a line object in MQL5 MQL5 TUTORIAL - SIMPLE SHIFTED SMA EXPERT ADVISOR The post MQL5 Tutorial – Simple Chart Objects appeared first on MQL5 Tutorial.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial – Simpler Standard Deviation Robot mit MQL5

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Nov 18, 2023 4:11


Mit MQL5 und Metatrader 5 wird der Standard Deviation Indikator geliefert, der dazu genutzt werden kann, mögliche Kursänderungen im Forex Trading auf dem Chart vorauszusagen, denn er berechnet die durchschnittliche Kursbewegung der letzten X Kerzen und schlägt aus, sobald sich der Kurs überdurchschnittlich stark bewegt… Das was hier im Hintergrund läuft, ist der so genannte Standard Deviation Indikator. Der vergleicht aktuelle mit historischen Kursbewegungen und soll helfen, eine Wahrscheinlichkeit zu berechnen, die Auskunft darüber gibt, ob der Kurs jetzt steigen oder fallen wird. Die grundsätzliche Idee dabei ist, über einen Zeitraum in diesem Fall von 20 Kerzen zu messen wie stark sich der Kurs entwickelt und je höher der Indikatorwert ist, desto höher ist die Wahrscheinlichkeit einer Kursumkehr. In diesem Fall hat das gepasst. Wie können wir jetzt einen solchen Indikator als Expert Advisor in MQL programmieren? Dazu klicken wir zunächst hier oben auf diesen Button oder drücken die F4-Taste. Das ruft den Metaeditor auf und hier klicken wir auf Datei, Neu, Expert Advisor von Vorlage, Weiter und vergeben hier den Namen SimplerStandardDeviationEA, klicken auf Weiter, Weiter, Fertigstellen und löschen jetzt alles oberhalb der Ontick-Funktion und diese beiden Kommentarzeilen hier. Gut, das erste was wir jetzt benötigen ist ein Array f+r unsere Preisdaten. Das ist vom Wert double, damit es Nachkommastellen verarbeiten kann und trägt den Namen STDDEVArray. Im nächsten Schritt definieren wir jetzt die Eigenschaften für unseren Indikator. Die wird uns für das aktuelle Währungspaar auf dem Chart und die aktuell eingestellte Zeitperiode also beispielsweise für das Minutenchart, auf einer Basis von 20 Kerzen ohne eine Verschiebung nach rechts oder links zu benutzen für den SMA die Werte für die Schlusskurse berechnen. Danach benutzen wir die Funktion ArraySetAsSeries um unser STDDEV-Array abwärts von der aktuellen Kerze zu sortieren. Und dann füllen wir mit CopyBuffer, laut unserer Definition die wir hier oben getroffen haben, unser Array für die einzige benötigte Linie die wir brauchen von der aktuellen Kerze abwärts für drei Kerzen. Und nachdem wir die Preisdaten mit CopyBuffer in unser Array kopiert haben, berechnen wir für die aktuelle Kerze, das ist hier diese Kerze 0, aus unserem Array den entsprechenden Wert. Und im letzten Schritt fehlt natürlich noch die Chartausgabe, die wird den Text STDDEVWert und den von uns berechneten Wert direkt links oben auf dem Chart ausgeben. Okay, kompilieren wir unseren Expert Advisor. Das hat ohne Fehler und Warnungen funktioniert, also können wir mit diesem kleinen Button hier oben oder mit der F4 Taste in den Metatrader wechseln. Im Metatrader selbst klicken wir auf Ansicht, Strategietester oder drücken die STRG und die R-Taste. Danach wächlen wir hier die Datei SimplerStandardDeviationEA.ex5 aus und starten unseren Test. Und so sieht das ganze aus. Wie man sieht stimmt der Wert hier unten mit dem von uns berechneten Wert hier oben überein. Okay, Sie haben gelernt, wie man in weniger als 5 Minuten einen Expert Advisor für die Standard Deviation berechnet, den man mit anderen Indikatoren für die Ermittlung eines Einstiegssignals nutzen kann. Und Sie haben das mit wenigen Programmzeilen in MQL5 selber programmiert! Nicht sicher was Sie tun sollen? Klicken Sie auf den automatischen Trading Assistenten unten

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler Money Flow Index

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Nov 16, 2023 7:09


Diesmal widmen wir uns dem Money Flow Index. Diese blaue Linie hier, dieser Indikator hier, kann uns sagen, ob ein Wert überverkauft oder überkauft ist. Wikipedia sagt, dass der Money Flow Index bei einem Wert von 80 oder mehr zeigt, dass der Markt überkauft ist, wohingegen ein Wert von 20 oder weniger bedeutet, dass der Markt überverkauft ist. Im Klartext bedeutet das, wenn hier ein Wert von 83,12% steht, dann würden wir hier einen Sell Trade eröffnen, weil wir erwarten, dass der Preis wieder runtergeht. Und wenn diese blaue Linie sich unterhalb der unteren gestrichelten Linie, die hier bei 20% liegt, befindet, dann würden wir davon ausgehen, dass der Markt überverkauft ist, und würden einen Long Trade in die andere Richtung aufmachen. Gut, wie erstellen wir uns jetzt einen Expert Advisor, der den Money Flow Index Indikator in MQL5 nutzen kann? Um das zu tun, klicken wir im Metatrader hier oben auf den kleinen Knopf oder drücken die F4-Taste, das startet den sogenannten Meta-Editor. Und hier wählen wir Datei, Neu, Expert Advisor aus Vorlage, Weiter. Ich nenne das Programm an der Stelle „Simpler Money Flow Index“, wir klicken auf Weiter, Weiter, Fertigstellen. Und jetzt kann alles oberhalb dieser OnTick-Funktion hier gelöscht werden, und auch die Kommentarzeilen entfernen wir. Als erstes brauchen wir ein Array für unsere Preisdaten, das bekommt den Namen „PreisArray“ und ist vom Typ Double, damit es auch Nachkommastellen verarbeiten kann. Und danach erstellen wir eine MFIDefinition für unseren Money Flow Index, indem wir die in MQL5 integrierte Funktion IMFI nutzen, um für das aktuelle Chart und die auf diesem Chart aktuell eingestellte Zeiteinheit, den MFI Wert basierend auf 14 Kerzen aufgrund des Tick-Volumens zu berechnen. Denn wenn Sie im Metatrader auf Einfügen, Indikatoren, Volumen, Money Flow Index klicken, dann sehen Sie die 14 Kerzen und das Tick-Volumen auch in den Standardeinstellungen. Nach der Definition sortieren wir die Preise abwärts von der aktuellen Kerze, indem wir die MQL5-Funktion ArraySetAsSeries benutzen und auf unser PreisArray anwenden. Und mit CopyBuffer füllen wir unser PreisArray hier mit Daten, die laut der MFIDefinition, die wir hier oben getroffen haben, für die erste Linie unseres Indikators, das ist diese Linie Null, von der aktuellen Kerze, das ist Kerze Null, für drei Kerzen, das ist diese 3. Und das Resultat speichern wir in unserem PreisArray. Jetzt berechnen wir den Wert für unseren MFI Expert Advisor für die aktuelle Kerze, das ist Kerze Null in diesem PreisArray, wir nutzen NormalizeDouble und diese 2, da uns hier oben zwei Nachkommastellen reichen. Denn wenn wir prüfen, ob wir oberhalb von 80 oder unterhalb von 20 sind, dann brauchen wir nicht die fünf Nachkommastellen zu berechnen, die der MFI-Indikator in der Ursprungsversion anzeigt. Und das Ergebnis speichern wir in einer Variable mit dem Namen MFIWert. Jetzt fehlt uns natürlich noch je nach Wert die passende Ausgabe auf unserem Chart, denn wenn unser berechneter MFIWert größer ist als 80, dann möchten wir mit der MQL5-Funktion Comment den Text „ÜBERKAUFT“ und den berechneten MFI-Wert aus dieser Zeile ausgeben. Im andern Fall, wenn der MFI-Wert kleiner ist als 20, nutzen wir Comment, um den Text auszugeben „ÜBERVERKAUFT“, natürlich auch gefolgt von dem berechneten Wert. Und sollte unser MFI-Wert größer sein als 20 und kleiner als 80, das bedeutet, die blaue Linie befindet sich zwischen diesen beiden gestrichelten Linien hier, dann geben wir gar keinen Text aus. Denn wir haben kein Signal, und in dem Fall reicht uns zur Überprüfung der berechnete MFIWert. So, das war's auch schon, wir klicken auf Kompilieren,

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler RVI Trend Trading Robot

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Nov 14, 2023 5:55


Das hier ist der RVI Indikator, der ist im Metatrader enthalten, wir haben hier einen kleinen Aufwärtstrend und das zeigt uns unser Indikator hier auch an. Und in dem Moment wo sich hier oben eine Korrektur im Aufwärtstrend entwickelt, wird das hier ebenfalls angezeigt. Liegen beide Linien unterhalb dieser gestrichelte Linie hier, dann befinden wir uns in einem Abwärtstrend und sobald hier eine Überkreuzung stattfindet, deutet das auf eine Korrektur im Abwärtstrend hin. Dieser RVI Indikator lässt es also zu, dass man immer ziemlich genau erkennen kann, in was für einer aktuellen Trendphase man sich befindet. Wie können wir jetzt mit MQL5 einen Expert Advisor erstellen der den RVI Indikator nutzt? Dazu klicken wir Metatrader hier oben auf diesen kleinen Knopf oder drücken die F4 Taste, das ruft dann hier den Meta Editor auf und dort klicken wir auf Datei – Neu – Expert Advisor aus Vorlage – Weiter. Ich vergebe hier mal den Namen simpler RVI, klicke auf Weiter – Weiter – Fertigstellen und jetzt kann alles oberhalb dieser OnTick Funktion gelöscht werden, genau wie die beiden Kommentarzeilen. Im ersten Schritt beginnen wir mit einer leeren Ausgabe auf unserem Chart und da unser Indikator in diesem Fall mit zwei Linien arbeitet die einen unterschiedlichen Wert haben, benötigen wir auch für dieses Beispiel zwei unterschiedliche PreiseArrays. Die erhalten den Namen Preisarray 0 und Preisarray 1 und jetzt definieren wir die Eigenschaften für den RVI Expert Advisor, indem wir die MQL5 Funktion iRVI aufrufen, und zwar für das aktuelle Chart und die auf dem Chart aktuell dargestellte Zeiteinheit. Unsere Berechnung soll aufgrund der letzten 10 Kerzen erfolgen, denn das ist doch das, was man bekommt, wenn man auf einfügen – Indikatoren – Oszillatoren – Relative Vigor Index klickt, dann sehen wir hier unsere 10 Kerzen für den RVI. Im nächsten Schritt sortieren wir die Preise abwärts von der aktuellen Kerze, das machen wir sowohl für unser PreisArray 0, als auch für unser PreisArray 1. Jetzt nutzen wir copy Buffer für unsere erste und für unsere zweite Indikator Linie, um aufgrund unserer iRVI Definition die wir hier oben getroffen haben, von der aktuellen Kerze für 3 Kerzen die Preis Daten in unserem PreisArray 0 bzw. für die andere Indikatorlinie unserem PreisArray 1 abzuspeichern. Und jetzt berechnen wir uns den Expert Advisor für die aktuelle Kerze aus dem Preisarray 0, holen wir von der aktuellen Kerze 0 den RVI Wert 0 mit drei Nachkommastellen und aus dem PreisArray 1 machen wir das gleiche, aber diesmal holen wir uns den RVI Wert 1 für unsere zweite Indikator Linie hier. Gut, kommen wir zur Chart Ausgabe. Zunächst berechnen wir hier die Werte für unseren Trend und wenn unser RVI Wert 0 kleiner ist als der RVI Wert 1 und der RVI Wert 1 unterhalb unserer gestrichelte 0 Linie liegt, also wir uns hier in diesem unteren Bereich befinden, dann haben wir einen Abwärtstrend. Im anderen Fall, wenn der RVI Wert 0 größer ist als der Wert 1 und sich der RVI Wert 0 oberhalb von unserer Nulllinie befindet, dann haben wir einen Aufwärtstrend und geben das mit Comment auf unserem Chart aus. Für die Korrekturen gilt in etwa die gleiche Formel, allerdings sind hier die Größer und Kleiner Zeichen umgekehrt, denn was oberhalb der gestrichelten Linie als Aufwärtstrend erkannt wird, wäre unterhalb der gestrichelten Linie hier eine Korrektur. Gut, das war es mit unserem Expert Advisor, wir klicken also jetzt hier auf kompilieren oder drücken die F7 Taste und dann sollte der Compiler keine Fehler und keine Warnungen auswerfen. Wenn das alles geklappt hat, klicken wir hier oben auf den kleinen Button oder drücken die F4 Taste um zurückzuk...

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial Deutsch – Simpler iTrix Trading Robot

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Nov 7, 2023 6:04


Das was wir hier auf diesem Bildschirm sehen ist der sogenannte Trix Indicator. Der Trix Indicator zeigt uns an, ob wir long oder short sind. In dem Moment wo diese Linie hier überschnitten wird, ist das ein Einstiegssignal nach oben und wenn sich die Linie hier unterhalb der mittleren gestrichelten Linie befindet, dann ist das ein Zeichen für einen Short Trend. Erfunden wurde der Trix Indikator in den 80er Jahren von einem Mann mit dem Namen Jack Hutson. Genutzt wird ein dreifacher geglätteter, exponentieller moving average und eine steigende oder fallende Linie ist ein Zeichen für einen Uptrend bzw. einen Downtrend. Tatsächlich sieht das an der Stelle hier ganz einleuchtend aus und wir möchten jetzt einen Expert Advisor erstellen der den Wert vom Trix hier berechnet und uns die entsprechende Richtung hier oben auf dem Chart anzeigen kann. Dazu klicken wir im Metatrader hier auf diesen kleinen Button oder wir drücken die F4 Taste. Das ruft dann den Meta Editor auf und hier wählen wir Datei – Neu – Expert Advisor aus Vorlage, klicken auf Weiter, vergeben hier den Namen SimplerTrixRobot, klicken auf weiter – weiter – fertigstellen. Jetzt können wir zunächst einmal alles löschen was sich oberhalb dieser OnTick Funktion befindet und die beiden Kommentarzeilen entfernen. Zuerst erstellen wir uns ein Preis Array für unsere Preisdaten, das ist vom Typ double und kriegt den Namen PreisArray. Danach erstellen wir uns die Definition für die Eigenschaften des Expert Advisors indem wir die eingebaute iTrix Funktion von Mql5 nutzen, um für das aktuelle Chart und die auf dem Chart aktuell ausgewählte Periode, den iTrix Wert für 14 Kerzen anhand der Schlusskurse zu berechnen. Denn wenn wir im Metatrader auf einfügen – Indikatoren – Oszillatoren – Triple exponential average gehen, dann sehen wir auch hier die 14 Kerzen und die Schlusskurse als Basis für den Trix Indikator. So, jetzt holen wir uns mit der Funktion CopyBuffer, laut unserer iTrixDefinition die wir hier oben getroffen haben, für die erste und einzige Linie unseres Indikators von der aktuellen Kerze 0 für 3 Kerzen die benötigten Daten und speichern Sie in unserem PreisArray. Danach können wir den iTrixWert für die aktuelle Kerze berechnen. Ich nutze hier eine float Variable, die nimmt etwas weniger Arbeitsspeicher in Anspruch, als eine double variable und ist mit ihrer Genauigkeit für unsere Zwecke ausreichend. Sie trägt den Namen iTrixWert und soll aus unserem PreisArray den entsprechenden Wert aus der aktuellen Kerze bekommen. Fehlt uns noch die Chart Ausgabe und je nachdem in welche Richtung es geht, möchten wir zwei unterschiedliche Dinge ausgeben. Entweder unser berechneter iTrixWert ist größer als 0, dann nutzen wir die comment Funktion von Mql5 und geben auf unserem Chart den Text: iTrix IST LONG, zusammen mit dem von uns berechneten iTrixWert Wert aus. Und den umgekehrten Fall, der iTrixWert ist unter 0, dann nutzen wir auch den Comment Befehl aber diesmal geben wir den Text aus: iTrix IST SHORT, ebenfalls gefolgt von dem Wert den wir hier oben in unserer Variable berechnet haben. So, das war's auch schon. Jetzt können Sie hier oben auf Kompilieren klicken oder die F7 Taste drücken. Das sollte funktionieren, allerdings bekommen wir hier eine Warnung angezeigt. Der MetaEditor warnt uns hier vor einem möglichen Genauigkeitsverlust weil wir hier eine float Variable benutzt haben. Aber für dieses einfache Beispiel soll das ausreichen. Wenn sonst alles geklappt hat, klicken Sie bitte hier oben auf den kleinen Button oder drücken die F4 Taste um in den MetaTrader zurückzukehren. Im MetaTrader selbst rufen wir über Ansicht – Strategietester oder mittels der Tastenk...

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial – Simpler RSI Robot mit MQL5

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Oct 31, 2023 4:44


  Okay, Sie haben danach gefragt, also mache ich es auch. Ein YouTube Abonnent mit dem Namen Kasteren hat sich gewünscht. Ich möchte doch einmal ein Video über den RSI Indicator machen. Und hier sind wir auch schon. Der RSI oder relative Strength Index wird sehr häufig genutzt, um zu prüfen, ob der Markt überverkauft oder überkauft ist. Wenn beispielsweise der Preis oberhalb dieser 70% Marke liegt, dann ist das ein Zeichen dafür, einen Short Trade zu eröffnen. Falls aber der Preis von unten die 30% Marke des RSI überschreitet, dann würde man einen Buy Trade eröffnen. Zeigt man mit der Maus hier auf das Ende der Linie, dann sieht man hier einen Wert von 39,49 und dieser Wert wird auch hier oben angezeigt. Jetzt sind wir bei 36, 22 und auch das passt. Wenn man den Wert hat, kann man also darüber entscheiden, ob man einen Einstieg in die eine oder in die andere Richtung starten möchte. Wir möchten für die Berechnung dieses Wertes jetzt einen einfachen Expert-Advisor schreiben. Dazu klicken wir hier oben auf dieses Symbol oder drücken die F4 Taste, um den MetaEditor aufzurufen. Im MetaEditor selbst klicken wir auf Datei, neu, Expert Advisor aus Vorlage, weiter. Hier vergeben wir den Namen Simpler RSI, klicken auf weiter, weiter fertigstellen und löschen alles oberhalb der OnTick Funktion. Auch diese beiden Kommentar Zeilen hier benötigen wir nicht. Das erste, was wir benötigen, ist ein Array, der unsere Preis Daten aufnehmen kann. Also erstellen wir ein Array mit dem Namen MyRSI Array. Im zweiten Schritt definieren wir die Eigenschaften unseres RSI Indicators. Er bekommt den Namen myRSI Definition. Wir verwenden die Funktion iRSI für das aktuell ausgewählte Währungspaar und den auf dem Chart aktuell ausgewählten Zeitrahmen. Unsere Berechnung soll für 14 Kerzen gelten und als Grundlage für die Berechnung möchten wir gerne die Schluss-Kurse nutzen. Im nächsten Schritt sortieren wir unseren Array von Kerze null, also der aktuellen Kerze an abwärts. Und mit der Funktion Copy Buffer füllen wir unser Array für drei Kerzen von der aktuellen Kerze an mit den von uns definierten Daten für den RSI. Diese Null hier bedeutet, wir haben einen einzigen Buffer, also nur eine Linie, die es zu berechnen gilt, da der RSI nur diese eine Linie hat. So, jetzt möchten wir natürlich auch noch unseren RSI Array abfragen, und zwar für die aktuelle Kerze und weisen den errechneten Wert unserer Variable myRSI Wert zu. Und im letzten Schritt möchten wir noch auf unserem Chart mit dem Comment Befehl den Text myRSI Wert und den errechneten Wert aus dieser Zeile ausgeben. Kompilieren wir unseren kleinen Expert-Advisor doch einmal. Das funktioniert ohne Fehler und ohne Warnungen. Also wechseln wir zurück in den MetaTrader, indem wir diesen Button hier oben oder die F4 Taste drücken. Im MetaTrader selbst klicken wir auf Ansicht, Strategie Tester oder nutzen STRG und R, um diesen Strategie Tester hier unten aufzurufen. Hier wählen wir das Programm Simpler RSI. Ex5 aus. Bitte setzen Sie auch den Haken hier für die Visualisierung und starten Sie Ihren Test. So, und wie man sehen kann, ist der Wert hier übereinstimmt mit dem, was errechnet wurde. Wir sind jetzt bei 83,3. Ich pausiere hier mal. 84.30, 84.3. Das stimmt auch mit der Anzeige hier unten überein. Und wie man sieht, stimmt der Wert hier auch noch. So, das war es schon. Sie haben in diesem Video gelernt, wie Sie aufgrund des RSI Indicators berechnen können, ob Sie einen BUY oder einen SELL Trade eröffnen möchten. Und das alles funktioniert mit diesen paar Zeilen.  

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 Tutorial – Simpler Parabolic SAR Robot mit MQL5

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Oct 26, 2023 6:21


Diesmal geht es einen Indikator, den die meisten Trader lieben. Man bezeichnet ihn als Parabolischen SAR Indikator, und er zeichnet solche Punkte. Erfunden wurde er von jemandem mit dem Namen J. W. Wilder Junior. Und potentiell soll er Umkehrpunkte in der Preisentwicklung des Marktes darstellen können. Tatsächlich sieht das ganz beeindruckend aus. Man sieht hier, dass es aufwärts ging bis zu dieser Stelle. Dann hat sich die Richtung plötzlich geändert. Die Punkte erscheinen oberhalb des Kurses und es geht die ganze Zeit abwärts mit der Preisentwicklung, bis sich plötzlich hier die Preisrichtung dreht. Und jetzt befinden wir uns in einem Aufwärtstrend. Wenn man mit der Maus über diesen letzten Punkt geht, dann sieht man, dass dort ein Wert von 1.505 1994 angezeigt wird. Das ist auch der berechnete Wert hier oben links in der Ecke. Und jetzt geht es um die Frage, wie kann man sich mit MQL5 einen Expert Advisor erstellen, der genau diesen Wert hier ausrechnet? Und man könnte dann im eigenen System schauen, ob dieser Wert unterhalb des Kurses liegt, das würde für einen Aufwärtstrend sprechen. Und wenn die Punkte oberhalb des aktuellen Preises liegen, dann ist es ein Abwärtstrend. Um einen solchen Indikator beziehungsweise Expert Advisor zu erstellen, klicken wir erst einmal hier oben auf diesen kleinen Button oder drücken die F4 Taste. Das ruft den MetaEditor auf, mit dem wir ein MQL5 Programm erstellen können. Hier klicken wir jetzt auf Datei, neu, wählen Expert Advisor aus Vorlage aus, klicken auf weiter und nennen unser Programm an der Stelle Simpler SAR. Jetzt klicken wir auf weiter, weiter fertigstellen und löschen alle Inhalte oberhalb der OnTick Funktion und diese beiden Kommentar Zeilen hier. Und wie so oft brauchen wir zuerst ein Array für unsere Preis Daten. Also erstellen wir ein Array vom Typ Double mit dem Namen MySAR Array. Danach nutzen wir die Funktion ISAR, die in MQL5 eingebaut ist, für das aktuelle Symbol, also das Währungspaar, was wir gerade auf dem Chart haben und die aktuell eingestellte Periode, also die Zeiteinheit, wie zum Beispiel das Minuten-Chart, unseren SAR-Indikator zu definieren. Diese beiden Werte erkläre ich auch noch kurz. Wenn wir mit F4 zurück wechseln in den MetaTrader, können wir über Einfügen, Indikatoren, Tendenz den Parabolic SAR Indicator auswählen und der hat hier einen Schritt und einen Maximumwert. Und wir möchten die Standardwerte für den Schritt 0.02 und für das Maximum 0.2 benutzen. Und das sieht dann in unserem Quelltext so aus. Jetzt sortieren wir unser Array absteigend von der aktuellen Kerze 0 abwärts. Dazu nutzen wir die Funktion Array set as series und im nächsten Schritt füllen wir mit der Funktion Copy Buffer unser erstelltes MySAR Array für die erste Linie des Indikators, da er nur eine Linie hat, von der aktuellen Kerze abwärts für drei Kerzen nach der von uns hier oben erstellten Definition mit Daten. Im nächsten Schritt möchten wir den SR-Wert für die aktuelle Kerze berechnen. Das machen wir, indem wir uns aus dem My SAR Array von der Kerze null den benötigten Wert holen. Wir möchten hier aber fünf Nachkommastellen haben. Diese Funktion normalize Double ermöglicht uns für den vor dem Komma stehenden Wert die nach dem Komma stehende Anzahl von Kommastellen für die Ausgabe zu wählen. Würde ich hier eine zwei nehmen, dann hätten wir nur zwei Nachkommastellen. Wir benötigen in diesem Fall fünf. Gut, im letzten Schritt geht es noch darum, unsere berechneten Werte mit dem Text MySAR-Wert und einem Doppelpunkt mit der Funktion Commen direkt auf dem Chart anzuzeigen. Kompilieren wir also unseren Expert Advisor einmal. Da ist ein Fehler.

MQL5 Tutorial - Automatisch traden mit Metatrader5
MQL5 TUTORIAL – WIE MAN EIN TRADING SYSTEM UNTER REALEN BEDINGUNGEN TRAINIERT UND SKALIERT

MQL5 Tutorial - Automatisch traden mit Metatrader5

Play Episode Listen Later Oct 21, 2023 7:39


  In diesem Video werden wir über eines meiner Beispiele aus der Praxis sprechen. Es handelt sich um das Robot-Trading-System, das ich selbst benutze, und eines meiner Premium-Kursmitglieder wollte wissen, wie so etwas funktioniert. Lassen Sie uns also einen Blick auf die Details werfen. Nun, wenn Sie sich das Roboterhandelssystem ansehen, sehen Sie, dass dies die Version vom Juni ist. Wir haben jetzt den einundzwanzigsten Oktober und hier haben wir die Ergebnisse und Trades, insgesamt haben wir einen Gewinn von einhundertneunundfünfzig Dollar gemacht und wenn wir uns die Gesamtübersicht hier ansehen, sehen wir, dass der Saldo derzeit fast gleich dem Eigenkapital ist, was bedeutet, dass wir nur einen offenen Trade haben, der derzeit ein offener Verlust von neunundneunzig Cent ist. Was ist also der Unterschied zwischen diesem Trade und einem, der einen offenen Verlust von neunundneunzig Dollar bedeuten würde? Der Unterschied ist emotional, denn es ist nicht die Zahl, die darüber entscheidet, ob ein System funktioniert oder nicht, sondern was der Unterschied für uns bedeutet. Werfen wir also einen Blick auf die Historie, und hier sehen wir, dass wir Verluste und Gewinne haben, also nicht jeder Trade ein Erfolg war, aber alles in allem ist das Systemergebnis stabil, zumindest im Moment. Wenn wir in das System hineinzoomen, sehen wir diese Linien hier, die wie ein Fächer aussehen, und jede davon ist eine Reihe von Positionen, die wir eröffnet haben. Und an diesem Punkt hier wurden alle Positionen auf einmal geschlossen. Zoomen Sie noch ein wenig weiter hinein und Sie werden auch Bereiche sehen, in denen kein Fächer zu sehen ist, wie zum Beispiel hier. Und das sind einfache Positionen, die einen Gewinn erzielt haben, ohne dass wir eine Serie starten mussten. Wie entscheiden wir also, ob wir nur eine Position eingehen oder mehrere Positionen eröffnen wollen? Nun, in meinem Fall habe ich Regeln. Und derzeit befinden wir uns in einem Abwärtstrend. Das sehen wir daran, dass wir zwei einfache gleitende Durchschnitte haben, einen für eintausendeinhundert Kerzen und einen für eintausend Kerzen. Und solange der grüne unter dem roten liegt, befinden wir uns in einem Abwärtstrend, und der sieht im Moment ziemlich stabil aus. Wie Sie sehen, waren die letzten Transaktionen, die wir getätigt haben, Verkäufe, wir haben also mit dem Trend gehandelt. Aber wir haben immer noch einige Positionen, die sich nicht bewährt haben. Wie war das möglich? Nun, das liegt daran, dass selbst in einem stabilen Trend Korrekturen vorkommen. Das ist der Fall, wenn wir eine Position eröffnen, wie hier, und der Kurs dann plötzlich in einer Korrektur nach oben geht. Und wenn Sie genauer hinschauen, ist das bei all diesen Fächern hier der Fall. Der Kurs ist gefallen, dann haben wir hier einen Handel gemacht. Plötzlich kam es zu einer Korrektur, die sich gegen uns richtete. Aber wir konnten trotzdem alle Positionen von hier bis hier mit Gewinn schließen. Denn schließlich begann der kurzfristige Trend wieder mit dem Haupttrend mitzugehen und der Kurs ging nach unten. Es ist zwar einfach zu sehen, was passiert ist, nachdem es passiert ist, aber es ist oft ein großes Problem für die Menschen, eine Entscheidung zu treffen, was sie in Zukunft tun sollten! Nun, dies ist die Kontonummer hier. Lassen Sie uns also sehen, ob wir mehr Statistiken über das Geschehen bekommen können. Ich verwende dazu FXBlue, weil es bessere Statistiken liefert als der MetaTrader. In meinem Fall ist es auf Deutsch, weil ich aus Deutschland komme.

MQL4 TUTORIAL
MQL4 TUTORIAL – SIMPLE BOLLINGER BANDS EXPERT ADVISOR

MQL4 TUTORIAL

Play Episode Listen Later Oct 15, 2023 7:36


In this video, we are going to talk about an Expert Advisor that can tell you if you should buy or sell based on the Bollinger Bands indicator. The Bollinger Bands indicator has three bands. This is the lower band. This is the middle band, and this is the upper band. Whenever a candle closes above the upper band and reenters into the bands this is a signal for a sell trade. In the other case when the candle closes below the lower band and you see a reentry from below this is a buy signal. Usually you won't see the Bollinger Bands in your back-testing and to change this you can insert the Bollinger Bands indicator, we are going to use the period of 20 candles and deviation value of 2 because that is the standard when you click reset. Now click on ok. I will change the properties here because I like the bands to have the red color. No I right click on the chart, click on Template/Save Template. I will call this one: Bollinger Bands.tpl. Tpl stands for Template. Now let's save this and when you start a new back-test you simply need to right click the chart, select template, Bollinger Bands and here we are. Now we are going to create an Expert Advisor that can calculate Bollinger Bands entry signals. To do that please click on the little button here or press F4 in your Metatrader and now you should see Metaeditor and here you want to click on File/New/Expert Advisor (template) from template. Continue (Next). I'll call this one Simple Bollinger Bands. Continue (Next), Continue (Next), and Finish, and now you can delete everything above the OnTick() function and the two comment lines here. Now let's create an empty string for the signal. I'll call it signal and it has no value here, and to calculate the lower Bollinger Band we use the function iBands. iBands is a built-in function of MQL4 and it takes a few parameters. The first one is _Symbol; that's the symbol on the chart, the second parameter is _Period; that's the currently selected period on the chart, like the minute or the hour chart. We will use 20 candles and the deviation of 2 because that is what you see when you click on the Bollinger Bands properties. Period 20 candles, deviation 2, we have no shift and we apply it on the close price so the parameter for the shift is 0, and we use: PRICE_CLOSE for the close price and because this is the lower Bollinger Band we use MODE_LOWER and it will be calculated for candle 1. To calculate the upper Bollinger Band, you basically do the same but this time we use MODE_UPPER, everything else is like in this line. Candle 1 is the candle before the current candle, now when this candle isn't finished this would be candle 1, and this would be candle 2. To calculate the value for candle 2 we repeat those two lines here and now the only thing we need to change in the two new lines is the last parameter for candle 2. Let's calculate a buy signal. Now if the Ask price is above the close price of the last candle; that's candle[1] and if the close price for candle[2] was below the lower band. That's close 2 is below the value of the previous lower Bollinger Band and if the close price for candle[1] is above the lower band so that's close 1 is greater than lower Bollinger Band that would be a signal to buy. In the other case if the price is below the last close so if Bid is below close 1 and if close 2 was above the upper band so close 2 is above previous upper Bollinger Band and close 1 is below the upper band so the close price for candle[1] is now below the upper Bollinger Band that would be a crossing like here and that would be a sell signal so we assign the word: sell to our signal.

MQL5 Tutorial
MQL5 TUTORIAL – HOW TO CALCULATE THE HISTORY PROFIT

MQL5 Tutorial

Play Episode Listen Later Oct 3, 2023 2:56


  Introduction to Calculating Historical Profit (00:00 – 00:09) Introduction to creating an expert advisor for calculating historical profit for a specific currency pair. Overview of displaying the calculated profit on the chart. Starting with MetaEditor (00:09 – 00:16) Instructions on how to start the MetaEditor for coding the expert advisor. Brief mention of using the icon or pressing F4 on the keyboard. Including Trade Library and Creating CTrade Instance (00:16 – 00:31) Explanation of including the Trade.mqh library for trade operations. Creation of an instance of the CTrade class named ‘trade’ for executing buy and sell operations. Calculating Current Ask and Bid Prices (00:31 – 00:38) Description of calculating the current Ask and Bid prices within the OnTick function. Importance of these prices for executing buy and sell orders. Executing Buy and Sell Orders (00:38 – 00:46) Checking for less than two open positions before executing orders. Execution of both buy and sell orders for demonstration purposes. Calculating and Displaying Historical Profit (00:46 – 01:01) Use of the GetCurrencyPairHistoryProfit function to calculate historical profit. Displaying the calculated profit on the chart. Functioning of GetCurrencyPairHistoryProfit Function (01:01 – 01:09) Detailed explanation of how the function calculates total historical profit for a specific currency pair. Initializing Variables and Fetching Historical Data (01:09 – 01:17) Initialization of variables for storing deal information. Use of the HistorySelect function to fetch historical deal data. Iterating Through Historical Deals (01:17 – 01:25) Iteration through historical deals using a for loop. Obtaining profit, swap, and order type for each deal. Ensuring Matching Currency Pair for Deals (01:25 – 01:34) Checking the currency pair for each deal to match the current symbol. Compiling the Code and Further Learning Resources (01:34 – 01:49) Instructions on compiling the code in MetaEditor. Recommendation for the premium course or basic videos for further learning. Testing the Expert Advisor in MetaTrader (01:49 – 02:04) Returning to MetaTrader and starting the strategy tester. Selection of the created expert advisor and enabling visual mode for testing. Invitation for Premium Course Members (02:04 – 02:09) Invitation for premium course members to suggest ideas for new videos. Conclusion and Summary (02:09 – 02:24) Conclusion on how to calculate and display historical profit for a currency pair using MQL5. Emphasis on the functionality of the created expert advisor with minimal MQL code.   In this video, we are going to create an expert advisor that calculates the historical profit for a specific currency pair and displays it on the chart. Let’s see how we can do that. To begin, start the MetaEditor by clicking on the little icon or pressing F4 on your keyboard. The code starts by including the Trade.mqh library, which provides functions and methods for performing trade operations.   We then create an instance of the CTrade class called trade to execute trade operations like buying and selling. Inside the OnTick function, we calculate the current Ask and Bid prices for the symbol. These prices are essential for executing buy and sell orders. The code checks if there are less than two open positions. If true, it executes both a buy and a sell order.   This is just for demonstration purposes. The historical profit for the currency pair is calculated using the GetCurrencyPairHistoryProfit function and then displayed on the chart. The GetCurrencyPairHistoryProfit function calculates the total historical profit for the specific currency pair. Several variables are initialized to store information like the total number of deals, ticket numbers, order types, and profits. The HistorySelect function is used to fetch historical deal data. A for loop iterates through all the historical deals.   For each deal, the profit and swap for the deal are obtained, the type of order (buy or sell) is determined, and the currency pair for the deal is checked to ensure it matches the current symbol. Once you’ve written the code, press F7 to compile it. If this was too fast for you or if you don’t understand what all the code is doing, you may want to check out the premium course on our website or watch one of the basic videos first. After compiling, go back to MetaTrader by pressing F4 or clicking on the icon. In MetaTrader, press control and R to start the strategy tester.   Pick the expert advisor that we have just created, enable the visual mode, and start a strategy test. You should then see the expert advisor on the chart. If you’re already a premium course member and have an idea for a video like this one, please send us an email. In conclusion, you’ve now learned how to calculate and display the historical profit for a specific currency pair using MQL5. With just a few lines of MQL code, you’ve created a functional expert advisor. Thanks for watching, and I’ll see you in the next video! Not sure what to do? Click on the automated trading assistant below MQL5 Tutorial - Advanced Library Expert Advisor MQL5 TUTORIAL - 134 STANDALONE BOLLINGER MACD EXPERT ADVISOR MQL5 TUTORIAL - SIMPLE TENKANSEN STANDALONE EXPERT ADVISOR MQL5 TUTORIAL - SIMPLE IVIDYA STANDALONE EXPERT ADVISOR MQL5 TUTORIAL - SIMPLE ITRIX STANDALONE EXPERT ADVISOR The post MQL5 TUTORIAL – HOW TO CALCULATE THE HISTORY PROFIT appeared first on MQL5 Tutorial.

Rankia Podcast
Inteligencia Artificial en Trading: Revolucionando las Inversiones con Javier Etcheverry

Rankia Podcast

Play Episode Listen Later Sep 5, 2023 31:40


Descubre cómo la Inteligencia Artificial está cambiando el juego en el mundo del trading en este video informativo y detallado presentado por Javier Etcheverry de ActivTrades. Aprende cómo la IA puede procesar grandes cantidades de datos, eliminar sesgos emocionales y mejorar tus estrategias de inversión. Además, Javier te guiará a través de ejemplos prácticos de cómo utilizar la IA en plataformas de trading como MetaTrader y TradingView. No importa si eres un principiante en el trading o un veterano experimentado, este video te proporcionará valiosos conocimientos y consejos para mejorar tus habilidades de trading.

Rankia Podcast
Inteligencia Artificial en Trading: Revolucionando las Inversiones con Javier Etcheverry

Rankia Podcast

Play Episode Listen Later Sep 5, 2023 31:40


Descubre cómo la Inteligencia Artificial está cambiando el juego en el mundo del trading en este video informativo y detallado presentado por Javier Etcheverry de ActivTrades. Aprende cómo la IA puede procesar grandes cantidades de datos, eliminar sesgos emocionales y mejorar tus estrategias de inversión. Además, Javier te guiará a través de ejemplos prácticos de cómo utilizar la IA en plataformas de trading como MetaTrader y TradingView. No importa si eres un principiante en el trading o un veterano experimentado, este video te proporcionará valiosos conocimientos y consejos para mejorar tus habilidades de trading.

MQL4 TUTORIAL
MQL4 TUTORIAL – SIMPLE SAR EXPERT ADVISOR

MQL4 TUTORIAL

Play Episode Listen Later Sep 2, 2023 6:42


In this video we are going to create an Expert Advisor that uses the parabolic SAR indicator you see to create buy or sell signals here. Whenever these little dots here are below the current price, that would be a buy signal like right now, and when the direction changes like here and the dots appear above the price, that's a sell signal. Now how can we create an Expert Advisor that is able to produce buy and sell signals based on this indicator here? To do that please click on the little button over here or press F4 in your Metatrader. Now you should see the Metaeditor window here. Here you want to click on “File/ New/ Expert Advisor (template)” from template. Continue. I will call this one: Simple Parabolic SAR (SimpleParabolicSAR). Continue and finish. Now you can delete everything above the “OnTick” function and the two comment lines here. The first step is to create a string variable, we need it for the signal, so it's also called: “signal” and we do not assign any value here because we are going to calculate the value later on. Now let's actually calculate the SAR indicator, that is done by using the built in iSAR function. The first parameter will be the current symbol on the chart, the second parameter is the period, and you might ask yourself what these two values here mean? Well if you click on to: “Insert /Indicators /Trend /Parabolic SAR” you will see that the parabolic SAR indicator has a stat value of 0.02 and a max value of 0.2. This is actually what we use here 0.02 equals the step value and 0.2 equals the max value. The last parameter here is for a shift, but we don't want to shift the indicator value to the right or to the left so we use zero. Now let's find out if the SAR indicator is below the bid price because we know when it's below, that's an indicator for an uptrend and in MQL4 we simply use an “if” statement to find out if the SAR value we have calculated here is below the bid price. If that is the case that would be a buy signal, so let's assign the word “buy” to the variable signal we have created here. In the other case if the SAR indicator is above the ask price – that would be the case here – and it would be a little sell trend and to find out if that is the case we would use the “if” statement and find out if “MySARValue” is above the current ask price. In that case we would have a sell signal, so let's assign the word sell to the signal variable we have created. And last but not least we want to create a chart output, so we use the built-in command function to output the text: “MySARValue”, followed by the calculated value. This backslash “n” (“/n”) statement creates a new line for the output, and in the second line we want to output the word: “signal” followed by the calculated signal. Okay that's it! Don't forget the closing bracket here and when you are finished you can click on the compile button here or press F7 on your keyboard – Oh! I've accidentally out commented the “OnTick” function so let's recompile the code here, and now it says we don't have any errors and we have no warnings, and if that is the case for you, you can click on a little button here to go back to Metatrader. In Metatrader we use a little trick please click on “Insert /Indicators /Trend /Parabolic SAR”. Okay. Now right click into the template, select template, and save the template as: “tester.tpl” because the tester template is what Metatrader 4 is going to use for your back test. Let's click on save and select “View/ Strategy Tester” or press CTRL and R and in the Strategy Tester you want to select the “SimpleParabolicSAR.ex4” file. Don't forget to enable the visual mode here and now click on start.

MQL5 Tutorial
MQL5 Tutorial – Simple Order Cancel Order EA

MQL5 Tutorial

Play Episode Listen Later Sep 2, 2023 6:41


  Introduction to Order Cancels Order (OCO) System (00:00 – 00:09) Introduction to the concept of OCO, where one order’s execution cancels the other. Visualization of sell stop and buy stop orders on the chart. Understanding Orders and Positions (00:09 – 00:30) Explanation of the difference between an order and a position. How orders become positions when triggered by price movements. Creating an Expert Advisor in MetaEditor (00:30 – 01:01) Instructions on opening MetaEditor and starting a new Expert Advisor project. Naming the project ‘Simple Cancel Order.’ Setting Up the Expert Advisor (01:01 – 01:30) Removing unnecessary lines and importing the ‘trade.mqh’ file. Creating an instance of the CTrade class. Initializing Trading Parameters (01:30 – 02:05) Getting account balance, equity, ask, and bid prices. Normalizing prices for different currency pairs. Creating Buy Stop and Sell Stop Orders (02:05 – 03:28) Conditions for opening pending orders when no positions or orders exist. Setting up buy stop and sell stop orders with defined take profit points. Implementing Order Cancellation Logic (03:28 – 04:49) Checking for active trading and differing balance and equity values. Creating a function to cancel open orders. Compiling and Testing the Expert Advisor (04:49 – 05:32) Compiling the code in MetaEditor. Instructions for testing the Expert Advisor in MetaTrader. Visualizing the Expert Advisor’s Functionality (05:32 – 06:06) Observing the behavior of the Expert Advisor with pending orders in MetaTrader. Explanation of how the Expert Advisor cancels one order when the other is triggered. Conclusion and Summary (06:06 – 06:06) Recap of how to create a simple OCO Expert Advisor in MQL5. Emphasis on the ease of coding this functionality with a few lines of MQL5 code.   Today we want to talk about a system that is called OCO that is the short term for Order Cancels Order. If you look on our chart we have a sell stop here and we have a buy stop there and here is where the price is and if the price moves to the sell stop that would trigger a short position. And if the price rises and hits the buy stop we would have a long position. Now what’s the difference between an order and a position? You use an order if you want to open a position so you can place your orders in the market and if the price moves and hits your pending order it will become a position. You see that we have cancelled the other order now. It’s no longer here, so let’s find out how to create an Expert Advisor that can cancel pending orders. To do that please click on the little button here or press the F4 key and once you have done that piece click on File, New, Expert Advisor from Template, Continue. I will call it Simple Cancel Order, Continue, continue and finish and now you want to remove everything above the OnTick function and the two comment lines here. And to have anything to close we first need to import the file trade mqh by using the include function. We want to create an instance of the Class Ctrade and that will have the name trade. In the first step we need to get the account balance that is done by using account info double, Account_Balance. Now we need to get the equity by using account info double, Account_Equity and we also need the ask prize here we use symbol info Double_Symbol for the current chart and the constant Symbol_Ask. We also use normalized Double_Digits because we have currency pairs with five digits and other currency pairs with three digits and now we do exactly the same to get the bid price, but this time we use Symbol_Bid. Now if we have no open position and no order, so if positions total equals zero and if orders total also equals zero, we need to open a pending order for a buy stop and another one for the sell stop, the position size is ten micro lot. In both cases the buy stop order will be placed one hundred points above the ask price and the sell stop order will be placed one hundred points below the bid price. For the current symbol we have not defined a stop loss, the take profit is three hundred points above the ask price and two hundred, no let’s also use three hundred points below the bid price. We use other time GTC that means the order will stay until we cancel it, so we have no expiration time here. If we would use an expiration time we would use this parameter to define it and the last parameter here is for a comment but we don’t need that. If we are trading right now – that would mean that the balance has different value than our equity. We want to cancel the open orders so let’s create a function called cancel order. It's a void type because it doesn’t need to return any kind of value and here we use For Loop. It starts by using orders total minus one and until the value for the counter is zero that means as long as we have open orders it will go through all the open orders. We use order get ticket for the current order to find out the ticket number and it now will delete the pending orders by using Trade.OrderDelete for the order ticket that we have calculated here. And the last thing we need to do is to close the For Loop and the cancel order function. Now let's compile the code by clicking the little button here or pressing the F7 and that did actually work without any errors. So now please click here or press F4 to go back into Meta Trader. And in MetaTrader you want to click on View, Strategy Tester or press control and R, and here you want to select the Simple Cancel Order.ex5 file, select any currency pair and enable the visualisation mode. Not sure what to do? Click on the automated trading assistant below MQL5 Tutorial - Simple Sell Stop Expert Advisor Embrace the Power of an MQL5 Buy Order MQL5 TUTORIAL - HOW TO CALCULATE THE HISTORY PROFIT MQL5 Tutorial: How to get the Order History Profit MQL5 Tutorial - Advanced Library Expert Advisor The post MQL5 Tutorial – Simple Order Cancel Order EA appeared first on MQL5 Tutorial.

Online Forex Trading Course
#516: How to Trade Crypto's, Indices and the Commodity Markets

Online Forex Trading Course

Play Episode Listen Later Aug 27, 2023 5:27


How to Trade Crypto's, Indices and the Commodity Markets  Podcast: Signup For my Forex Masterclass Find out more about Blueberry Markets – Click Here Find out more about my Online Video Forex Course Book a Call with Andrew or one of his team now #516: How to Trade Crypto's, Indices and the Commodity Markets In this video: 00:28 – We don't only trade the Forex market  00:50 – Bitcoin's massive crash in price 02:03 – We trade Crypto's in the same way as we trade the Forex market 03:07 – Trading the Patterns that work   03:27 – Indices taken just this week 03:58 – Book a call with me and my team 04:31 – Blueberry Markets So you want to know a safe way in which you can trade cryptos, but also indices, commodities as well as the forex market. Let me explain how we do that. Right now. Hey, the Forex Traders! This is Andrew Mitchem at the Forex Trading Coach with video and podcast number 516. We don't only trade the Forex market  So obviously at the Forex Trading Coach we trade the forex market, but there's so many of you out there that want to look at other markets as well, and metals, indices, other commodities and of course cryptos. Now crypto has been still the buzz word, although things have just quietened it off a little bit. But you know, the issue that I see with a lot of those markets. Bitcoin's massive crash in price Especially if you look at Bitcoin, for example, you know, the most well known crypto is that if you go back, let's say to the end of 2021, Bitcoin was up around $69,000 and everybody was predicting it was going to get to 100,000 and then just keep going. And of course, what happened? Well, it did the complete opposite. It absolutely crashed and it fell away. And by the way, back then, I predicted that would happen. And I was looking at the charts and looking at the monthly or the weekly charts back then. And on one of my live webinars clients, I said, it's going to really drop. And we have a price prediction level. And guess what? It did that and ended up going even further. But here we are right now, August 2023, and right now the price of Bitcoin is around $26,000. And imagine being back then sort of 65, 68, 69, just about reached $69,000, but somewhere around about then and, you know, buying a whole lot of Bitcoin. First of all, you need a huge amount of money upfront and to invest. But also if you've bought a $65,000 and it sort of dropped to today, $26,000, that's a massive loss. You've taken that huge hit. We trade Crypto's in the same way as we trade the Forex market And so the way that we trade cryptos, just this week I've taken trades on Bitcoin itself and the Etherium and also Chainlink is exactly the same as looking at the forex market. So we can buy, we can sell, you know, go long and short week and look at the same charts on our Metatrader 4, Metatrader 5 and we have the same patterns, the same candle patterns. We're looking for continuations, we're looking for reversals. We can use different time frame charts. We have the same risk of our trade goes against us. We have the same reward to risk. We're looking at the same time of day. So there's nothing different to what we're doing trading, say, like cryptos than if we were trading the EUR/USD for example. And that's the beauty of it. It's just opened up a massive bigger amount of markets. And therefore when we come to look at chart patterns, which is what we do, we're looking for patterns and we know the patterns that we look at have high probability of a successful outcome based off history in all the years of doing what we're doing. Trading the Patterns that work   So when it comes to the pattern, I'm not really bothered if I'm taking a trade on Bitcoin or Chainlink or the EUR/USD. It does not matter to me. And so we're taking the patterns based on what we know works for us. So that's for me is the way that I can trade these other markets. Indices taken just this week

MQL5 Tutorial
MQL5 Tutorial – Advanced Library Expert Advisor

MQL5 Tutorial

Play Episode Listen Later Aug 27, 2023 6:41


    Introduction to Expert Advisor with Self-Defined Functions (00:00 – 00:14) Introduction to an expert advisor that opens buy stops and calculates profit on a chart. Explanation of using self-defined functions compiled in a library. Understanding Libraries in MQL5 (00:14 – 00:27) Explanation of what a library is in MQL5 and its purpose. How to create a library for reusable functions. Opening MetaEditor and Creating a Library (00:27 – 00:41) Instructions on opening MetaEditor from MetaTrader. Steps to create a new library in MQL5. Setting Up the Library File (00:41 – 01:01) Explanation of import statements and the structure of the library file. Introduction to the functions ‘getProfitCurrencyPair’ and ‘openBuyStop.’ Defining Functions in the Library (01:01 – 01:30) How to define custom functions in the library. Example of creating functions for opening buy stops and calculating profit. Initializing Variables and Importing Trade Functions (01:30 – 02:05) Setting up initial variables and importing necessary trade functions. Explanation of the ‘property library’ directive. Creating Self-Defined Functions (02:05 – 03:28) Detailed steps to create self-defined functions in the library. Example of a function to calculate profit for a currency pair. Implementing the Buy Stop Function (03:28 – 04:49) Creating a function to open buy stop orders. Explanation of parameters and conditions for the buy stop. Compiling and Testing the Library (04:49 – 05:32) Instructions on compiling the library in MetaEditor. How to test the library’s functionality in MetaTrader. Using the Library in an Expert Advisor (05:32 – 06:06) Demonstrating how to use the created library in an expert advisor. Visualizing the expert advisor’s behavior in MetaTrader. Conclusion and Summary (06:06 – 06:25) Recap of how to create and use a custom library in MQL5. Emphasis on the efficiency of using libraries for reusable code.     What you see here is an Expert Advisor that is opening buy stops and we have a calculated profit on the chart and it uses two self defined functions that we have compiled in a so called library. You can think of a library as a file that contains self defined functions that you can use again and again. Now how can we create such a library in MQL5? To do that please click on the little button here in your Meta Trader and now you should see the MetaEditor and this is our main module and we use these import statements here to import the file MyLibrary.ex5 and in that file we have a function called GetProfitCurrencyPair and another function called OpenBuyStop. And in the OnTick function we check if we have no open orders and if that is the case we want to OpenBuyStop so we call the self defined function OpeBuyStop from our library. And to calculate the profit we use the function GetProfitCurrencyPair and that’s also self defined in our library. And to create your own library please click on File, New, Library, Continue, this one is called myLibrary and now you can click on Finish. And the first thing we need is property library, without that you cannot compile the file and to be able to open the buy stops we need to import the trade functions from the built in trade.mqh file. And to get the profit of the current currency pair we need to create our self defined function and this extension 2export” is used because only a function with such a modifier is accessible for our MQL 5 programs. And in the function we declare a variable called ProfitThisCurrencyPair; it contains no value here and now we go through all the positions using this For Loop and we use PositionGetSymbol for the current counter and if the symbol on the chart equals the symbol of the currency pair from our position, we use PositionGetDouble, position_profit to calculate the position profit and position get double, position_swap to calculate the swap. Just add the two values up to get the profit of the currency pair. Let's end the For Loop and we use normalize double and two digits to calculate the profit for the currency pair and format it for two digits behind the dot, and afterwards we use return to return the profit for the currency pair back to the main module. Let’s add another function for the buy stop, it’s called OpenBuyStop and it also has the export extension and to open the buy stop we want to know the ask price, the balance and the equity. You can get the ask price by using SymbolInfoDouble for the current symbol and you use symbol_ask and with NormalizeDouble and _Digits we make sure that we have three digits for this currency pair or five digits for other currency pairs and to get the balance of the equity we use AccountInfoDouble, Account_Balance or AccountInfoDouble, Account_Equity. And if equity and balance are equal, we want to open a buy stop by using trade.buystop for 10 micro lots. The buy stop will be one hundred points above the ask price of the current symbol. We haven’t defined a stop loss, the take profit will be three hundred points above the ask price and we use Order_Time GTC because that is good until the order is cancelled so it will not expire and because of that we use a zero for the date/time and the last parameter would be for the comment, we don’t need that so we also use zero here. Let’s add the last bracket to close the function and press this little button or F7 on your keyboard to compile your library. I made a mistake here, of course I need to create an instance of Ctrade now that’s done and I recompile and this time it worked without any errors. So let’s click on the button here our press F4 to go back to MetaTrader. And in MetaTrader you want to click on View, Strategy Tester or press control and R, and in the Strategy Tester please select the file simpleLibraryMainModule.ex5 and please remember that you also have to Not sure what to do? Click on the automated trading assistant below MQL5 TUTORIAL - HOW TO CALCULATE THE HISTORY PROFIT MQL5 TUTORIAL - SIMPLE SAR STOCHASTIC STANDALONE… Create an MQL5 Expert Advisor with MQL5Tutorial.com MQL5 TUTORIAL - SIMPLE TRIPLE CANDLE STRATEGY How to combine the Parabolic SAR and the Stochastic… The post MQL5 Tutorial – Advanced Library Expert Advisor appeared first on MQL5 Tutorial.

MQL4 TUTORIAL
MQL4 TUTORIAL – SIMPLE EMA STOCHASTIC STANDALONE EXPERT ADVISOR

MQL4 TUTORIAL

Play Episode Listen Later Aug 11, 2023 3:51


  In this video, we are going to create an Expert Advisor that uses the Parabolic SAR and Stochastic Oscillator indicators to generate buy and sell signals in MetaTrader. Let's see how we can do that. First, start the MetaEditor. You can do this by clicking on its icon or simply pressing the F4 key. We begin with the #include directive to import the Trade.mqh library. This library provides us with essential trading functions. Following this, we create an instance of the CTrade class named trade. This instance will be our primary tool for executing buy and sell orders. Next, we calculate the current asking price using the Symbol Info Double function with the parameters Symbol and SYMBOL ASK. This gives us the price at which we can buy. To ensure precision, we use the Normalize Double function, inputting the price and Digits to adjust the number of decimal places. Similarly, we determine the bid price using the Symbol Info Double function with the parameters Symbol and SYMBOL BID. This is the price at which we can sell. This price is also normalized using the Normalize Double function. We then set up an array named Price Info of type Mql Rates. This array will store our price data for specific time periods on the chart. Within the On Tick function, we sort our Price Info array using the Array Set As Series function to prioritize the latest data. We then fill this array with price data for the current symbol and time frame using the Copy Rates function. Here, we're copying data for three candles, giving us a snapshot of recent price movements. The closing price of the most recent candle is then determined using the Price Info[0].close reference. We then call the Check Entry function. Inside this function, we use the Parabolic SAR indicator to check the current and previous values to determine if there's a buy or sell signal. If the current SAR value is below the current price and the previous SAR value was above the previous price, it suggests a buy signal. Conversely, if the current SAR value is above the current price and the previous SAR value was below the previous price, it suggests a sell signal. Additionally, the Check Entry Stochastic function is used to refine our signals. This function checks the Stochastic Oscillator values. If the K line crosses the D line from below in an oversold area, it suggests a buy signal. If the K line crosses the D line from above in an overbought area, it suggests a sell signal. With these signals in hand, the code decides whether to execute a buy or sell trade. If both the trading signal and the filter signal return a buy and there are no open positions, the trade.Buy function is used to buy 0.10, equivalent to 10 Micro Lot. If both signals return a sell, the trade.Sell function is used to sell 0.10 Microlot. Once you've input all the code, press F7 to compile it. If this was too fast for you or if you don't understand what all the code is doing, you might want to check out the Premium course on our website or watch one of the basic videos first. After a successful compilation, return to MetaTrader by pressing the F4 key or clicking on its icon. Once in MetaTrader, press Control and R to start the strategy tester. Select the Expert Advisor you've just created, enable the visual mode, and start a strategy test. You should then see the Expert Advisor in action on the chart. If you're already a Premium course member and have an idea for a video like this one, please send us an email. By the end, you'll have a deeper understanding of what you've learned and the Expert Advisor you've coded yourself with jus...

MQL5 Tutorial
MQL5 TUTORIAL – SIMPLE SAR STOCHASTIC STANDALONE EXPERT ADVISOR

MQL5 Tutorial

Play Episode Listen Later Aug 11, 2023 4:21


  Introduction to SAR Stochastic Standalone Expert Advisor (00:00 – 00:10) Introduction to creating an Expert Advisor in MQL5 that uses the Parabolic SAR and Stochastic Oscillator indicators for buy and sell signals. Starting with MetaEditor (00:10 – 00:25) Instructions on opening the MetaEditor from MetaTrader and the initial setup, including importing the ‘Trade.mqh’ library. Setting Up Price Calculation (00:25 – 01:12) Explanation of calculating the asking and bid prices using the ‘SymbolInfoDouble’ function and normalizing these prices. Preparing Price Data Array (01:12 – 01:29) Setting up an array named ‘PriceInfo’ to store price data and sorting it to prioritize the latest data. Implementing Parabolic SAR Indicator (01:29 – 02:17) Using the Parabolic SAR indicator within the ‘CheckEntry’ function to identify potential buy or sell signals. Refining Signals with Stochastic Oscillator (02:17 – 02:45) Utilizing the ‘CheckEntryStochastic’ function to refine trading signals based on the Stochastic Oscillator values. Executing Trades Based on Signals (02:45 – 03:09) Decision-making process for executing buy or sell trades based on the combined signals from SAR and Stochastic indicators. Compilation and Testing in MetaTrader (03:09 – 03:38) Instructions for compiling the code and testing the Expert Advisor in MetaTrader using the strategy tester. Conclusion and Additional Resources (03:38 – 03:53) Recap of the tutorial and an invitation to explore more advanced courses or send ideas for new videos.   In this video, we are going to create an Expert Advisor that uses the Parabolic SAR and Stochastic Oscillator indicators to generate buy and sell signals in MetaTrader. Let’s see how we can do that. First, start the MetaEditor. You can do this by clicking on its icon or simply pressing the F4 key. We begin with the #include directive to import the Trade.mqh library. This library provides us with essential trading functions.   Following this, we create an instance of the CTrade class named trade. This instance will be our primary tool for executing buy and sell orders. Next, we calculate the current asking price using the Symbol Info Double function with the parameters Symbol and SYMBOL ASK. This gives us the price at which we can buy. To ensure precision, we use the Normalize Double function, inputting the price and Digits to adjust the number of decimal places. Similarly, we determine the bid price using the Symbol Info Double function with the parameters Symbol and SYMBOL BID. This is the price at which we can sell. This price is also normalized using the Normalize Double function. We then set up an array named Price Info of type Mql Rates.   This array will store our price data for specific time periods on the chart. Within the On Tick function, we sort our Price Info array using the Array Set As Series function to prioritize the latest data. We then fill this array with price data for the current symbol and time frame using the Copy Rates function. Here, we’re copying data for three candles, giving us a snapshot of recent price movements. The closing price of the most recent candle is then determined using the Price Info[0].close reference. We then call the Check Entry function.   Inside this function, we use the Parabolic SAR indicator to check the current and previous values to determine if there’s a buy or sell signal. If the current SAR value is below the current price and the previous SAR value was above the previous price, it suggests a buy signal. Conversely, if the current SAR value is above the current price and the previous SAR value was below the previous price, it suggests a sell signal. Additionally, the Check Entry Stochastic function is used to refine our signals. This function checks the Stochastic Oscillator values. If the K line crosses the D line from below in an oversold area, it suggests a buy signal. If the K line crosses the D line from above in an overbought area, it suggests a sell signal. With these signals in hand, the code decides whether to execute a buy or sell trade. If both the trading signal and the filter signal return a buy and there are no open positions, the trade.Buy function is used to buy 0.10, equivalent to 10 Micro Lot. If both signals return a sell, the trade.Sell function is used to sell 0.10 Microlot. Once you’ve input all the code, press F7 to compile it.   If this was too fast for you or if you don’t understand what all the code is doing, you might want to check out the Premium course on our website or watch one of the basic videos first. After a successful compilation, return to MetaTrader by pressing the F4 key or clicking on its icon. Once in MetaTrader, press Control and R to start the strategy tester. Select the Expert Advisor you’ve just created, enable the visual mode, and start a strategy test. You should then see the Expert Advisor in action on the chart. If you’re already a Premium course member and have an idea for a video like this one, please send us an email. By the end, you’ll have a deeper understanding of what you’ve learned and the Expert Advisor you’ve coded yourself with just a few lines of MQL code. Thanks for watching, and I’ll see you in the next video! Not sure what to do? Click on the automated trading assistant below How to combine the Parabolic SAR and the Stochastic… How to create a Bollinger Bands Expert Advisor MQL5 TUTORIAL - SIMPLE ITRIX STANDALONE EXPERT ADVISOR MQL5 TUTORIAL - SIMPLE BEARS POWER STANDALONE EXPERT ADVISOR MQL5 TUTORIAL - 134 STANDALONE BOLLINGER MACD EXPERT ADVISOR The post MQL5 TUTORIAL – SIMPLE SAR STOCHASTIC STANDALONE EXPERT ADVISOR appeared first on MQL5 Tutorial.

MQL4 TUTORIAL
How to code a standalone Bollinger Bands Expert Advisor

MQL4 TUTORIAL

Play Episode Listen Later Aug 7, 2023 5:38


  Here is a detailed summary of the video The video starts with an introduction on how to automate the Bollinger Bands indicator to automatically open four trades for Metatrader 0:01. It shows that a first open position is already in place 0:13. The speed is slightly increased to demonstrate that it works 0:16. It is explained that the Bollinger Bands indicator was the indicator with which the first profits were made in automated trading 0:23. Next, it shows how to automate this indicator with MQL4 for Metatrader 0:32. This is done by clicking on the small button or pressing the F4 key on the keyboard to call up the Meta Editor 0:41. In the Meta Editor, a new Expert Advisor is created and named “SimplerBollingerBandsStandAloneEA” 0:55. Everything above the On Tick function is deleted, as are the two comment lines 0:64. A variable for the signal is created 0:71. Then it goes to the determination of the Bollinger Bands 0:86. It is explained that entry signals should be created whenever a candle closes outside one of the bands and a re-entry takes place 0:93. The Bollinger Bands are calculated with the built-in iBands function for the current currency pair on the chart and the period selected on the chart 1:09. This is calculated for twenty candles 1:20. It shows how to insert the Bollinger Bands in Metatrader by clicking on Insert, Indicators, Trend, Bollinger Bands 1:33. It explains how the actual order commands are executed. If the signal has the value “Buy” and the OrdersTotal function returns zero, i.e., if there are no open positions, then ten micro lots are bought 2:40. The same applies if a sale is to be made 2:77. Finally, it shows how to create a chart output. The comment command is used for this 2:94. The video ends with the explanation that in this short video, you have learned how to generate buy and sell signals for the Bollinger Bands and how to automatically trade the recognized signals with Metatrader four 3:83. Not sure what to do? Click on the automated trading assistant below MQL4 TUTORIAL BASICS - 102 SIMPLE BUY CROSSOVER STOP   This video, we are going to create an Expert… MQL4 TUTORIAL - SIMPLE COMMODITY CHANNEL INDEX In this video we are going to trade the Commodity… MQL4 TUTORIAL BASICS - 88 SIMPLE ALLIGATOR INDICATOR In this video we are going to create an expert… MQL4 TUTORIAL - SIMPLE MODULAR EXPERT ADVISOR In this vid...

Cashflow Hacking Podcast
Jacob Holm Ushers Us From Manual to Machine Trading With His New EA at Statera Trading

Cashflow Hacking Podcast

Play Episode Listen Later Feb 23, 2023 45:52


Jacob Holm is the Co-Founder of Statera Trading.  Statera means balance in Latin, which is something that is highly valued by Jacob and his partner, Blayn Marshall, in both trading and their everyday lives.In this episode of How To Trade It, Casey and Jacob discuss the transition from manual trading to automated trading, the importance of backtesting, and the qualities that make for a great trader. You don't want to miss it! Subscribe to How To Trade ItYou'll want to listen to this episode, if you are interested in hearing Jacob Holm                  discuss…[03:09] Developing your own Expert Advisor[04:51] The one thing we discovered immediately[08:32] The best feeling you can have[13:36] Sustainability is essential[15:16] A solid money management system[17:30] Avoiding over optimization[20:08] MetaTrader[21:39] Reliable backtesting[24:12] Getting started[28:09] If I lost all my money tomorrow…[33:19] 0.3% risk per trade[38:24] Getting connected with JacobSponsor:This is Casey Stubbs, 2022 was a disaster for most traders. I am releasing a new service called swing trading reports.Each Sunday,  before the market opens, I will bring you up to speed on the latest market trends, including gold, bitcoin, S&P 500, and multiple currency pairs.The normal price for this is $75 a year, but we're bringing the price down to $50 a year, if you use the code HowToTradeIt25 when signing up.Visit https://swingtradingreport.com  to join the community of successful traders today!Jacob bought his first stock when he was 14 years old with help from his parents. Later, when he was old enough to open his own trading account, he started trading the forex markets. Today he trades both manually and automated trading strategies. He bought his first commercially available EA in 2014 and has been fascinated by automation, algorithmic trading and building. Additionally, Jacob is an entrepreneur and has run other companies and been involved in other ventures. He has been working at some of the biggest brands in the world and with hundreds of clients over the last few years.Resources & People MentionedPareto PrincipleTICK DataExpert Advisor Assessment - FREEConnect with Jacob HolmWebsite:https://stateratrading.com/YouTube:https://www.youtube.com/channel/UCvYwqFbpqqkGNy2PqFbLqkFacebook:https://www.facebook.com/stateratradingofficial1/Instagram:  https://www.instagram.com/stateratrading/Support the showConnect with Casey: LinkedIn: https://www.linkedin.com/in/caseystubbs Twitter: https://twitter.com/caseystubbs316 TradingStrategyGuides.com: https://www.tradingstrategyguides.com/ Email: info@tradingstrategyguides.com

Crece Tus Ganancias
40: La Crisis de MetaTrader

Crece Tus Ganancias

Play Episode Listen Later Oct 10, 2022 8:34


Desglosamos que va a estar sucediendo y que soluciones hay para que no te pierdas la oportunidad de invertir.