MQL4 and MetaTrader 4 - page 660

To post a new topic, please log in or register
Hello All. I use a to save .csv files in Experts/Files in C folder. For this, I need to use a top level, Administrative lever to save in C folder. But I want to use the DDE to passa values for an applivative that I use to analyse the traders. But, DDe only function in non top level, non...
Hi. I am look for the EURUSD and the spread (Ask-Bid) is always 5 pips when I run the script. Can I use the real spread be, or defined it ? Thanks.
Hi, I have found a few pages around claiming that the default stochastic indicator for MT4 is incorrect. Is that REALLY true ??? Is there a broad consensus on the issue? I could not find enough people talking about this to be completely satisfied with a concrete answer. To try and check, I re-wrote...
  Grammar Snob? (4)
I understand this is not a typical post. The majority of individuals perusing the MQL4 threads are focused on script and strategy. While that is all well and good, am I the only one that is horrified by the grammar and writing style of S. Kovalyov's book titled 'Programming in Algorithmic Language...
Hi, I find that for indicators, the static variable content never hold whenever change of timeframe, this never happen to EA. Anyone seeing the same, is this a bug in MT4?
Could someone share some order entry logic with me? If my ea logic says it's time to buy, I don't want my ea to execute the buy order if the price is still dropping. I want it to allow the price to drop, and enter on a reversal. for example: ea says enter at 1.45500 but price continues to drop...
Hey people. im new here and kinda new at this metatrader thing. ive played around with practice accounts in fx trading and even have a finance degree. im very interested in this auto trading thing, and have seen quite a bit with metatrader 4, mql, expert advisors. wheres a good place to start, and i...
Something really strange is happening: void MyFunc() {   // This function is called from within 'start()'   int myArray[1]; // defined a one dimensional array with size of 1 element *ON LOCAL FUNCTION LEVEL*   Alert(ArrayRange(myArray,0));   while(true)   {      // ... some conditions ...      int...
Can some computer savvy member suggest a solution? Recently my computer started running mt4 in a very degraded mode. It takes 1-2 minutes, sometimes, just to change a page or a time interval. This happens when the markets are open. It runs much better on weekends:; almost normally. I have checked...
  mm not working (10)
need help please i have tried to add mm to my ea and also to increase the lots as it trade but it does not do that can some one help me please extern bool MM=true; //money management extern double Risk=10; //risk in percentage extern double Lots=0.06; extern double Slippage = 3; //In bars. How...
I know this is very blah question. HoweverI would appreciate if someone could give me answers or opinions. Is it possible to manipulate broker pricefeed by EA of MT4?
I have two indicators that I believe might be sending different values to the platform than what they are showing on the indicator window. Can someone add code to my indicators that will output the values that they're sending to the platform? Thanks.
https://www.mql5.com/en/code/10633 this is a script in codebase. A easy one to send market order with mouse drag&drop. But I don't know why it uses a 10 times loop ... ? Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional)...
There are support and resistance indicators like https://www.mql5.com/en/code/9711, https://www.mql5.com/en/code/9373. If there any EA sample with "Stoplose" of these support and resistance? Or other EA Stoplose base on support and resistance? Please give some example. Thanks.
I have one pair up and running, but on other pairs, the "waiting on update" is still showing. Its been 2 days now. How can I get this fixed?
When i compile a indicator MetaEditor change the long filename in short filename. f.e.: "aaaaccccc bbbb.mq4" in "aaaacc~1.mq4" do it is possible to avoid?
Hi, can I open a website with "https..." out of my EA?? What dll do I need for that?
I just found it out today. I am talking about the daily chart as an example. Data acquisition method 1: Just use the mouse to drag on the chart and data would be downloaded automatically and Never download data from history data center. Method 2. Go to history data center and download history data...
Hi guys, I realise this question has been covered before, many times it seems.... but please, forgive me, I simply cannot find anything that works for me. I'm beginning to pull my hair out with this. I must be missing something very basic.... I have a CSV file, with a single column of data, say 12...
Hi, I have a string in which "<row>" and "</row>" is insert 5 times. Now I want to extract the parts between the first "<row>" and "</row>" into string1 the second "<row>" and "</row>"into string2 the third "<row>" and "</row>"into string3 .... I tried it like that (but that way I am only...
Hi all, I wonder, whether somebody could answer the following question for me: I need for a pre-selected day and currency pair the following information: - Sequentional tick number in the day (for all ticks of the day) - Time of the tick in miliseconds (that what you get through GetTickCount() )....
I am running my EA in different DEMO and LIVE platforms working fine in all of them except for 1 at FXCM live. I adjusted settings to work the same in all platforms but keep getting: - Trade disabled - Ticket=-1 intead of a regular ticket as happens with the other brokers Error 4051 I cannot...
what function to use so I can compare the value from a current indicator with its value within the last 10 minutes? I tried to put those value into group but into trouble with limited knowledge of mql4.... so...could someone plssss help~~ THX A LOT~
i'm a newbie at mql4 coding, please help me to fix my script or make a new one. i have a script, that will set a pending order by the time setting. I have 2 pending orders each time 1 BUY, 1 SELL. If 1 of these trades is triggered and hits its take profit, I want to cancel the other order or close...
Hello guys lets say i have a file containing 3 lines with these numbers on it example file: 123456789 987654321 234568798 for example i need to call line 2 with it's number and set each number to a variable like: a=9 b=8 c=7 ... i=1 how can i open and use the file like this? thanks for helping me
  Backtesting with tick data (38   1 2 3 4)
Backtesting with tick data I think I have found a good way of doing this in metatrader - and I have got a fair way through this method but have got STUCK and seek some help with the final stage. 1) Got tick data from a company (commercial source) symbol: CL (oil) free sources eg. dukascopy...
I have an excel FX model that I trade. The spreadsheet generates buy/sell signals and I execute trades manually in MT4. I am trying to figure out how to pipe these signals from Excel into an execution platform (like MT4) and automatically fire off trades. Any help on how I might do this is greatly...
Hello MQL4 world, I am located in Los Angeles, California and I am looking for a developer to create two indicators to fit my needs. Both are very simple and I am willing to pay. The indicators: 1. Paints horizontal lines following candlestick closes, after certain requirements have been met. I...
Hello Does anyone know if there is a tool or a way to combine multiple entries into a single bar. So instead of having 2-3-4 bars on my screen showing each entry level, it would cost average them and show a single bar. Maybe this doesnt even need to be on a bar if it were done in the terminal...
I would like to write an integer array of the lenght of the order of 500 000 to a file in MT4. My only ambition with the file is to be able to read the array in from the file sometimes in the future. Would somebody know what type of file to use and how to program it - both writing and reading-in?...