Will ea programs attached to mt4 software be stolen by foreign exchange dealers
Hi guys, I'm learning mql4. I was able to print the last weeks high and low. Now I like to go a bit further but I guess I need help. Here's what I want to achieve with an EA; If bar closed aboved last week high, then if price close below last week high: BUY when price hits last week high again
Hi, I have Internet Explorer 11 and I have trusted site and I have tried a lot of options, also with remove community folder still I have empty Market. How can I resolve this? Regards
Hi, I want to be able to close a trade on a specific symbol. All the scripts I try close positions on all open positions, irrespective of symbol. I tried to force the script to work on only a specific symbol by changing OrderSymbol() to " EURUSD " for example. But no joy! Still closes everything
I made an indicator an indicator to plot vlines on every candle but when closing the MT4 and opening it again after some time, there is also gap where there is no plotted vlines. See image below: I closed the MT4 then open it again after 3 minutes. Here is the code: #property copyright "Copyright
Hi everyone! I'm fine tuning my EA (code attached) focusing just on placing SELL orders. When I run it on backtesting it executes EXACTLY has coded but when I run it on my demo account then it performs in a very weird way. To highlight this wrong behavior I'm also attaching a file to clarify
Function to bring the stop loss to the opening price or just above the entry void break_even( int MAGIGMA_n, int break_points, int positive_points, int stop) { bool Return; for ( int i = 0 ; i < OrdersTotal (); i++) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)) {
hi, my indicator is gonna mark ichimoku cross and i decide to showing those marks with arrows but in chart they not showing properly(in screenshot below) this is part of my code : string ArrowName= "Arrow-down" ; StringAdd (ArrowName,( string )i); ObjectCreate (ArrowName, OBJ_ARROW , 0 , time[i- 1
Hi, Any one knows why the pending order stays in order window even after the expiry time in MT4? I know the expiry time should be current time + 10 min. I followed the same but the order is not getting deleted after the time I entered. Is there any other settings I need to do
Hello! I'm sad to admit it, but I've hit a wall with my EA. I've been studying and pulling apart EA's for days to try and get mine to work but nothing is meshing. I would be so so grateful for any input from a more experienced mind, if you have time of course 🙏 Very happy to learn and I hate asking
#property copyright "Created by William Miranda" #property link " https://www.mypage.com " #property version "1.00" #property description "" #property tester_indicator "PM" #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property indicator_chart_window #property
Hello, learning to work with MT4, wanted to download some free indicator, but when I click on download link, it shows pop up to install MT4 (image attached) Yes, I have MT4 installed, when I click on Open MetaTrader 4, it opens the app, but I cannot get the download link for indicator. Please help
string fxsymbols[3];double pipschange[3];fxsymbols[0]="AUDUSD";fxsymbols[1]="EURUSD";fxsymbols[2]="USDJPY";pipschange[0]=10;pipschange[1]=-8;pipschange[2]=3; Hey everyone, I have to arrays that are related to another. That means AUDUSD changed 10 pips, EURUSD changed -8 pips and USDJPY changed 3...
Hello pals, Hope you are happy today. I wanted to calculate and comment Maximal Drawdown and Relative DD for each tick. But the commented Maximal DD and Relative DD results are different from what is presented in backtest report. It would be greatly appreciated to point me where my mistake is. P.S
hi i have multiple EA that comes with indicators and i put the indicators ex4 files in the MQL4/Indicators and refresh the folders but the problem is when i want to test them it continuously shows empty i attached screen shots to see i don't know what else should i do i think my EA getting signal
Hi guys, I would like assistance with an indicator I am planning to use for a trading bot, this indicator is sort of like a support and resistance indicator. It draws support and resistance blocks on the chart. So my issue is, when I open up the Data Window (Ctrl + D), this indicator only has 1
EA can use a magic number to distinguish its own trades from others. What if I manually open a trade, which magic number does MT4 platform use? The reason I'm asking is, I'd like to hide my EA generated trades from brokers, so they cannot tell if it's a manual trade or automated trade. I know I have
Hi, I am trying to get the lowest and highest price of the candle but am getting it wrong it seems please assist if you can? //Price is higher than lowest price D1: if ( iLowest (pairs[i], toTF(PCS_TimeFrame1), 0 ) < symbols[i].ask) //Price is lower than highest price D1: else if ( iHighest
My forex broker doesn't have a multi terminal mt4 platform, and the metaquotes site only has mt4 multi terminal for demo server (https://www.metatrader4.com/en/company/178). Can someone please share the link to where I can find mt4 multiterminal for live servers. Thankyou
Hi All, help is needed. anyone can change this code to multipair. i have tried it. something i am missing. at line 89 it is giving the error. DSS = delta/(HighRange - LowRange)*100.0; code is added. my change it here below. #property indicator_separate_window #property indicator_minimum 0 #property
Hi, Can anyone help me with this favor? I am looking for an ADX that will alert, when a cross between D- and D+ occurs and vice versa. Sound alert that a cross happened, that will be appreciated Thanks
Hello friends ! I ask you or could I find the Ichimoku Multi Time Frame indicator on MT4? On the Graph in H1 there will also be H4 thank you
Hi, this is my last and new expert Sell when Up Buy when Down very simple good luck
Friends, I have a robot that I bought on the internet and they placed a TAKE PROFIT above the entry price. But if you try to do that using MT4 it doesn't allow it. How do they do it? In addition to the example in the attached image. The sixth order. It is a SELL order. And its selling price was
I am currently using the strategy tester , and I couldn't help but notice the OrderOpenTime() function returns the OrderCloseTime() value after the order has been closed . Meaning, while the order is open the OrderOpenTime() produces the right datetime value. No, I am not accidentally printing the
does mt4 allow you to use an old version of an EA or will it stop working if you don't update to the newest version? There is an update out for an EA I'm using and it seems to have stopped trading the old version.... do all EAs stop trading when a new version is released and you must update to
Hi All, I am creating an economic calendar indicator that display the event name in the object description of the vertical line. However if the character count exceed certain limit, the text will not be fully displayed for Object Description. Hence, I would like to seek recommendation on
hi everybody. i had some objectGet issue when optimizing the values. the code is working but the value returns as 0. if anyone could help. thank you. see code example and pic attached. //+------------------------------------------------------------------+ //|
Under if statement, can I write multiple conditions with bracket, Example -: if ( ( example1==example 2) == example 0) & example 0== example 1) How I can write this type of multiple conditions under if statement. Will this work