MQL4 and MetaTrader 4 - page 131

All, I’m receiving push notifications for orders that has been closed for over a month. This seems to happen every Saturday in where I receive multiple notifications to my MT4 mobile for orders that closed months ago. Anyone experience this or have an idea on how to stop it
Hi all, I am trying to pass data type long exactly timestamp to c# dll but it's gives only one value or zero value ... I don't why.... here is my code c# public class ExportAll { [DllExport("TestFill", CallingConvention = CallingConvention.StdCall)] public static int TestFill (
  ArrayResize doesn't work!  (23   1 2 3)
can someone help? double tab[]; Print ( ArrayResize (tab, 30 )); Print ( ArraySize (tab)); for ( int i= 1 ;i<= 30 ;i++) tab[ 30 -i]=i....;
Hi all, could anyone suggest to me a recourse or complete and advance easy to learn mql4 coding
REFRESH EA-OBJECTS after ORDERCLOSE after 20 SECONDS ONLY ONE CHART, I want that all objects of that chart/currency-pair become refreshed/renewed, ONCE after all orders are closed, at 2 different TIMES of OP-BUYS and OP-SELLS, after the last/second ORDERCLOSE of OP-BUYS or OP-SELLS, about 20 seconds
I want to count the number of losses per day instead of lifetime losses. How can that be done? -> MQL4 PS: I tried to post it in MQL4 forum, but as I click on forum at www.mql4.com it redirects me here
[Deleted]
I have been trading forex manually for over a year now, and I consider myself intermediate. Two months back, I paired up with my friend, an advanced coder and doesn't know a lot about forex strategies; together with my scalping strategy and coding skills, we programmed an EA. Over the course, we
I am facing problem in installing mt4 in aws amazon show specify the proxy server. How to solve
As I set up my indicators and templates, and saved. Every time after switch off my pc and start again mt4 shows its default values and I do not find my indicators and templates which I installed and saved in previous session
Hi! I ould like to have an EA that automatically change the global tp of open orders, connetect direcly with margin I'm using. P.E. : I'm using 1$ of margin I want to set 2x-3x ... so my global TP will become 2$-3$....if the margin used change automatically also the Global TP change, more money I
Hi, my C: drive is almost full and when I tried to download historical data there isn't any space left. I want to run the mt4 using portable mode and found a good how to instruction in here . In the video the app data folder is copied to a new folder, from this point there's 2 app data one in the
I am trying to set up 2 MAs ontop of an RSI, using the Previous Indicators Data, and place a sell/buy when they cross. However I just can't seem to get my head around it and get it working and placing the buy/sell at the correct place. Any help is appreciated. My current code (mql4): double
[Deleted]
I have taken this code from an indicator and placed it into my EA so I can see the Bar Timer countdown Yet I have 3 Warnings - implicit conversion from 'number' to 'string' + h + ":" + m + ":" + s, I would like to correct/remove these warnings All help appreciated. int ttc, d, h, m, s, rest;
Hi all, first of all, English is not my native language so I hope you won't get angry, if some misunderstandings occur in this thread ;-). Furthermore I want to give you a realistic view about my programming capabilities - well there are almost none. I can print "Hello world" in Python and know...
i try to install metatrader4 with windows 7, and the programe blocked installation it ask "specify proxy server" and login password
Hi all, I have been working primarily on MT4 which has undoubtedly the broadest support among my brokers, only a couple offer MT5 and not necessarily with the same instruments I want to trade with my algorithms. Recently I started delving much deeper into MQL5 and its standard library classes for
[Deleted]
I would like to be able to subtract 2-3 hours from the current time. What's the formula to do this?
Is that normal? I was finding it strange that this week the EA haven´t taken any trade so far. I went to Tools>Options>Expert advisors and to my surprise the "allow automated trading" was off, but it was definitely NOT me! The EA was taking trades last week, even friday. After the weekend, somehow
Hello everyone, please help, why do I order/open my position always different from the signal provider, for example, when the signal provider buys 0.01 at 2 PM then buys 0.01 again at 3 PM but on my mt4 account I only buy 1x at 2 PM and there is no second order, does anyone know the solution? even
  'Close all'/'Open' tools  (593   1 2 3 4 5 ... 59 60)
'Close all' scripts for MT4
Hello MQL5 Community, I am currently developing an EA and would like your assistance in implementing 2 MA Cross and CCI Filter conditions to confirm entry as either OP BUY or OP SELL market conditions. I'd like to have a choice for both conditions before using them as "True or False." The idea is to
Hi everyone, In the recent few months I'm doing some EA's and scripts. I'm looking to create a manual trading panel from zero with my own specs and it would be nice to know where from should I start? What should I look for an interactive (trading panel with tabs and etc) trading panel? Thanks and
Hello guys, is it possible to insert an order in MT4 from outside, e.g. via API...? (I would like to create orders based on telegram messages.) Or can I regularly poll something from inside MT4? If yes, could someone link me an example? Many thanks! Roger
Hello everyone. I would like to learn more about how a Multi Account Manager (MAM) sysyem works. In particular, will a MAM system work on demo accounts? For demo accounts, trades do not use the order book or liquidity providers. So hypothetically, is it possible to set up a MAM system using only
[Deleted]
I have installed a few different metatrader accounts on my computer. Now I need the registry entries from them. I only found HKEY_CURRENT_USER > Software > MetaQuotes Software > MetaEditor 4 + MetaTrader 4 But I found nothing from the different installations e.g. from fxcm, alpari, ... Where are...
  Problem with EA  (2)
Hi guys, I have ordered an equity protector EA on freelance, this EA doesnt remove and reload correctly if MT4 crashes and re-opens I dont know why this crashing is happening repetedly on VPS for my MT4 terminals but the bigger problem is : one of my EA's doent reload corectly on re opening the MT4
Hello All So I'm trying to find a much more efficient way of converting an integer or a double to string, without typing + IntegerToString (AccountNumber(),0)+ every time I use a Mail, Print or MessageBox function . I believe that you can apply the following: string thisIsTheAccountNumber =
Hi I write a code to to trade using MT4 API to perform a trade. Can we add a message to journal, so in the journal can show message such as location or device version ? Thank You
I notice a lot of requests by non-programmers for others to 'please implement an on/off button' in various indicators. This is actually a nice handy feature to have. Unfortunately there is a *terrible* template someone(?) is using to implement the on/off button that is, at best, slow and
  Breaking the For Loop cycle.  (31   1 2 3 4)
Morning, So I have a function which is designed to Select an order from the ledger through the OrderSelect(..) feature. It also selects the OrderSymbol(...) as well as the Magic Number(..). If any of these return False, it's supposed to return a Print Message (for demonstration purposes as seen