Please help me add selllimit and buylimit orders to this line of code so that I can place both stop and limit orders at the same time. Thank you <Improperly formatted code removed by moderator>
Hi folks, Could somebody tell me what does he think about this simple EA? It works good in metatrader back tester . Note : The back testing optimized for the maximum accuracy results
Please Guide Me To Programming in MQL4: I Want to Define Selected TimeFrame and Loop for this How to Programming this? is this false? enum ENUM_TIMEFRAMES timeframe [5]= {PERIOD_H4,PERIOD_H1,PERIOD_M30,PERIOD_M15,PERIOD_M5}; for(timeframe = 0; timeframe < 5; timeframe ++ ) { . . . }
By the way, you have to keep an eye on him because the minimum stop changes from 2 to 20 and he keeps on placing bets but does not put them in the free flight, they need help him at this point to close the bets in profit! The best time to trade is in a dynamic corridor! this way you gain......! 1
Hey programmers I don't get any further with my simple webrequest to a google drive file, to just pull out a simple word, how the sentiment of nas100 is. (https://drive.google.com/file/d/1Cu9HVjzxKZoZ5E1z_hYL1wO0pKWfz2jC/view?usp=sharing) I always get an 404 Error when trying to access the file over
I ordered EA multiplied ATR trailing and There is some problem to make it work for me.All seems to be good to go but nothing happening.I believe EA works fine.Looking for someone Who would be able to give me some helpful hand and explain what am i missing or doing wrong about goal i am trying to
I am unable to download any indicators from the market for MT4. When I select download, it will ask if I have MT4 installed then I select the "Yes I have MetaTrader 4 installed" button but then nothing happens afterwards. Please advise on how to resolve this
Hello there, I'm working on the converting the MT5 version of my EA to MT4 version, and it's not reacting the same on MT4. Basically it's an EA to do manual backtest on the strategy tester. As you know the OnChartEvent() function doesn't work on tester, so instead I'm using the OnTick() function to
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of answering the same question over and over again
Hi, Could you give me mt4 multiterminal platform and regular mt4 platform I could not find it on the web. Thanks in advance
if ( ObjectCreate ( 0 , "UpArrow" +Time[i], OBJ_ARROW_UP , 0 , Time[i], Low[i])) { ObjectSetInteger ( 0 , "UpArrow" +Time[i], OBJPROP_COLOR , clrDodgerBlue ); ObjectSetInteger ( 0 , "UpArrow" +Time[i], OBJPROP_ARROWCODE , 233 ); // Arrow code
haha gotcha! but actually, I can't run back testing on my EA's in the weekends, because I use 'MODE_TICKVALUE' in my calculations; and if the markets are closed, it pulls the 'live' value for that 'constant'; which is ZERO. you got me good, MT4. double tickValue = MarketInfo( Symbol ()
Hello, If there is another position with the same Comment, I do not want a new order to be opened. I wrote a method for this, but it is not working. I am getting a false response in the "if(OrderType()==orderT)" part, and it allows opening a position. There is only one open position and it is
Hi, I've been studying and coding EAs and scripts for a few weeks so I'm fairly new to MQL language. I felt a necessity to code an EA that creates a close button for every open position directly on the chart and at the right most corner of the screen, near the price level of each particular position...
[Deleted]
Hi Guys Please assist if you can. I'm new and can't get my head around this one. I have small account that I'm playing with just to get the idea of whats for what but I'm in a small dilemma at this stage. The account balance are 156 odd $ and my equity are still at 126 odd $. Free margin shows -86...
I have been trying to login to my MQL5 community on MT4 to download an expert advisor from the Market, but it gets stuck when I click on Login. I'm using Dipgate VPS with Chrome as the default browser on Windows 10
//+------------------------------------------------------------------+ //| 5MinTrader.mq4 | //| Copyright 2024, MetaTrader 4 | //| https://www.mql4.com |
Thanks in advance. "Modify" appears very often in backtest report as below and how can I hide it
Hello Friends, I want to be run MT4 Script on every 10 seconds repeat. Here is the code. Please help me, many thanks. //+------------------------------------------------------------------+ //| Shadow SL n TP.mq4| //|
Hello, suddenly, I cannot install MT4 on my PC anymore. I am using Windows Server 2012. When I try to install I get the message "Sorry, something went wrong: Please try again later". I tried he setup.exe from 3 different brokers. All the same error. MT5 terminal installs without any problems. Does
I want to add different color to text that is in same line, in a single ObjectSetString , For Example If the string is like this: This is Total Profit / Loss: $250 / -$20 Then I need to show like This is Total Profit / Loss: $250 / -$20 $250 => in Green color and -$20 => in Red color Is this
This is News Trader EA created by Igorad. Besides, we may use this EA to draw the lines with text on the chart when the news coming. Explanation of the settings and how to use this EA you may find in the next posts. ---------------------------------------------- Version 2. - Please find attached the
Hello, I am new here and new to MT4. I had several active charts with active EAs attached to them and their information windows were all visible. All of a sudden most of them disappeared but the EA name and the smiley face are still there, I can't for the life of me get them back. I even went as far
My mt4 terminal is so slow that it crashes, Sometimes i can close it with the task manager only. I uninstalled the program and reinstalled it, but it comes back as I deleted it. How can I speed up this very slow terminal? Or I can delete it completely, to reinstall it of course. Thanks for help
hello, i have created a Semi Automated EA that gives me signals. problem is that in the same time that my EA is Attached to 15Min charts in 8 different Currency Pairs, I need to keep changing the time Frames to Verify the signals. and every time that i Change the time frame, EA Automaticly Deinits
My grid ea uses count buy and sells and close all in profit It works perfectly on 1 pair When 2 or more pairs is loaded it gets confused Is it possible to count only for a specific pair? Please advise what must be added and where in the code below int Count_Buy(){ int OpenBuyOrders=0; for(int
string accounts[]; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit () { string url = " https://example.com " ; string
Hello, Different brokers have different Margin call and Stop out level percentage. How to get that using MQL4 code? I am trying something like this but not working double marginCallLevel = AccountInfoDouble (ACCOUNT_MARGIN_CALL_LEVEL); double stopOutLevel = AccountInfoDouble

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.