MQL4 and MetaTrader 4 - page 285

recently i get this message and then my mt4 crashes. what can cause this? Access violation at address 775F2636 in module 'ntdll.dll'. Write of address 0000000C
i need a script to open multiple symbols but every symbol with different template
[Deleted]
  Heiken Ashi EA  (13   1 2)
Hello, nice day! Alex here, and i'am newbie with mq4/EA. I want to create "the most simple Ea" with Heiken ashi Smoothed (not only indicator ), but a simple EA that operate the same pair long&short using 1minute time frame (or max 5 min) with this criteria : ...go buy with the first "10seconds...
hello, We know we can get as extern variable  timeframes enumeration by t : extern ENUM_TIMEFRAMES tf; Is it also possible to get as extern variable all symbols contained in market watch ? thanks
Hi I need to get the largest of several numbers, but I don't know how to do it. There is a function called MathMax, but it doesn't work for me since it only gets the highest value of 2 numbers. Can you help me, please
Hello I'm trying to make an ea where the user can type the name of the indicator in the ea settings and type list of comma separated parameters. next i want to detect the type of every parameter and then pass it to the iCustom. and to check if this parameter is string or double i tell the user if it
Hi, I am new to MQL and am trying to get my head around how it works. Analyzing the default Ichimoku Indicator, I wrote my own version trying to use the "iIchimoku" built-in function, but even though it compiles without error it just doesn't work. This is what I have the doesn't work. Can someone
Hi there guys, Stuck with this - my swing finding function seems to be returning 0 while inside the loop, but when I set an Alert at the if statements that define variable F they return a value (so I know it works). It's the value is turning to 0 as soon as it enters the while loop. What gives
hi every one how i can reload an custom indicator completely i mean like why i go to setting of input and press ok and custom indicator applied again to the chart? i know about ChartSetSymbolPeriod but when i change the period how i can back to original period and also the indicator input will back
Hi, For an EA, I need a function with loop to find lot size. There may be a random number of open lots. When a lot is open, there is always a Take Profit as target. But if the Take Profit is not reach and there is a opposed open signal, we open this new order by calculting the new lot size of this
Hello, I have built an indicator to generate signals and an EA that calls the indicator through iCustom to help me place trades. The EA is not a robot but determines the entry, stop and TP levels when a signal is generated and waits for a button press to place a trade manually. I am looking to back
DECOMPILED CODE REMOVED
  Question Regarding Array  (11   1 2)
Hello, This may sound abit stupid to professional coder but is it not possible to use variable as array, as there will be invalid index value (i tried understanding it but i seem to not be able to) Example Code would be input int FASTEMA = 50 ; int start() { blah blah blah
I am trying to Validate my Expert Advisor to put on the Market. I get this error when attempting to Validate. test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there
hi guys is possible clean and erasy all inside indicator in separated window ? if yes how _ thankz at all
[Deleted]
I have code for somebody on metatrader4, he did give me investor login to live accounts. i have see on the accounts that trades which have been closed are showing in the tradehistory with 0 profit/Loss, but its not correct because lotsize is big and orderclose price is different from order open
[Deleted]
Is there any way to have multiple newlines within a string? string sqlQuery = "Line 1Line 2Line 3            ";  That gives an error.
hi everybody , here is a script that opens a list of symbols , template is also definable. i need it to be modified so each symbols be loaded with a template of its own(that we had created already). like for EURGBP symbol i have a template named EURGBP , and when this script runs it loads EURGBP
  Serial port communication  (15   1 2)
How I can communicate via serial port with external equipment monitoring and control with string or int data type
  Help please.  (2)
Hello everyone, newbie here so if I'm posting in the wrong place please don't crucify me. I am using one of Mladens Indicators in my strategy, problem is it is not giving alerts. I have downloaded two different versions of it but still no success. I am using it in conjunction with 2 others Indies
Hello, I have downloaded a free code, it makes good trades, but does not colse in time the buying is ticket=OrderSend(Symbol(),OP_BUY,LotsOptimized(Lots),ND(Ask),3,NDTP(Bid-Stop_Loss*pips),NDTP(Bid+Take_Profit*pips),"Long 1",MagicNumber,0,PaleGreen);
Hi, Im stuck with my EA for mt4. I cant get through the validation. It says "no trading operation". I have trading operations in MT4 when i test it on every currency that the validation says its not. I have added controls, IsNewOrderAllowed CheckMoneyForTrade CheckVolumeValue These controls are just
I currently have several MT4 installations, several from one broker and a couple of other brokers for testing purposes. I want to uninstall the unused terminals, but running uninstall, regardless of which directory it is run from, removes only the first installation. i.e. Running uninstall from my
How do you manage to make a real robot work correctly? I learned to program in mql4, I created programs but I am constantly attacked by hackers. Is it the Hacker or the broker who does such things? if he is the hacker, why doesn't the broker get involved in protecting his clients? 1) The last
Hello, I've been looking for a while but can't find any information... :( I would like to create an level price ALARM on the terminal automatically via MQL4 command. The Alarm function only creates a popup, but I would like to create an alarm when the price level reaches it. is it possible to do it
  Copy Signals  (2)
Hello, I have a problem with a signal service. I copy a signal and all trades are only opened with 0.01 lot. On the Signal Provider page (mql5) are different lotsize. My account has the same leverage and balance. Anybody can help me to solve this problem? Thank you in advance
Hello everyone, I have a question about the WebRequest function . I have a software who updates correctly on my website a file (every 10 seconds) through FTP. The problem is when I use WebRequest to get the last new data... The first time I do the request it shows me the new last data correctly, but
Hi Everyone, This is my first forum post so apologies if my question is vague and/or explained incorrectly. I have a bollinger band strategy that has a int period of over 1100 in the iBands (weird I know, just work with me here) double bbMid03 = iBands(NULL,0,1100,bbStd03,0,PRICE_CLOSE,0,0); Each
I noticed that one-one scale fixing does not work well for small time frames . As can be seen above. Is there a way to fix this and get a nice looking chart? Regards
  EA on MT4  (1)
I am running a new EA on MT4 live for the first time after backtesting a basic strategy. I have a smiley face on the top right of the chart, but no trades are getting triggered. How do i check if it is "live" or working? Thanks Bhav