MQL4 and MetaTrader 4 - page 912

To post a new topic, please log in or register
Hello. I am trying to have my statment published on my website. All topics around here seems to have this step already accomplished and most people are looking to go from the regular statement to the detailed one. Me? I am still trying to get it on my website. How is the entire process done? What...
I have developed a strategy but dont know how to develop an EA. Can any good programmer deveop an EA for me. i can mail the complete strategy to him. my email id is : amangoyal01@yahoo.com
http://eesfx.com/wiki/docs:frameworkA framework for writing strategy manuals & documentation isneeded. Having a standard for documentation of FX strategies will help documentwriters, by providing an easy to use template, which will increaseorganization. It will help users understand documents as...
Hi, what do I have to change, if I get the ERR_CANNOT_OPEN_FILE Error, when I want to open a csv-File in the C:\Program Files\MetaTrader - Alpari_Demo\experts\files - folder?? Thank you!
Hi guys, I'm experimenting with a new system.......I would like to apply a Bollinger Band to an On Balance Volume indicator. This is pretty easy to create on the chart using "First Indicators Data" as the applied price when I load the BB manually. My question is, how would I do this programmatically...
Hi I'm having a big problem with windowmaxprice / minprice. They do not seem to be reliable. What I'm doing is using an ea to take screenshots of each chart and storing the maxprice and minprice so i can calculate where things are on the chart using a VB application I've written. But I'm finding...
Any way we can guess how many total customers there are in the world using MT4, demo, live, active, etc.? Of course brokers do not publish 100% of their data but maybe there is some way to obtain this information through MetaQuotes or by using some interpolation / analysis of existing data.
I seem to have this problem sometimes when doing mult colored line plots: the current bar paints to zero or EMPTY_VALUE... I came across it once a few weeks back, and in that situation moved the code from a library to the indicator code and it worked fine. This time I want to leave it in the library...
I am a .net programmer, but new to mql4. I am working on this EA for a friend of mine. seems like "infinite loop" is the only solution. Here's what I need to do. I need to check 6-7 currency pairs every minute to figure out the trend. usually calculate is triggered by "tick", new tick coming in,...
I would like to compare two offline chars and get the correlation between the signals. i'm not sure how to access (2) offline charts with the custom indicator. Any suggestions?
hey there, I am using a mt4 demo from broco, and since 2 weeks I have the following problem: I open mt4 and once in a while ALL my charts my actual profile have been reset to 1h eur charts. all settings, objects etc that I use have been reset. any idea why this is happening? It happend the 3rd time...
Hello Mrs... I use the fallow code for create an loop. This loop save in .csv file any information. But when I finish or remove this script, all information in my .csv file are erased... I imagine that is happens because my loop is infinite. So, when I remove this script I generate an error...I dont...
Hello, I am looking for a modification of the magnified market price indicator. I would like it to show the current price increased or decreased by one specific amount of pips that is determined by me. For example, the current price EUR/USD is 1,2750. I would like the indicator to show 1,2750 +/- a...
I want to change from a Demo to Lite account. Advice on how to achieve this would be appreciated. Thanks, Stuartp77
  close all trades? (13   1 2)
Hello, I am trying to close all open trades after it as been open for 48 hours. For some reason I cannot seem to code it correctly. Where should I put the orderclose function and how should it be worded? Any bit of advice would help a lot. I'm starting to get better at this coding thing. Thanks!
Hello I have question about adx values in array. With Sar it works but with adx doess not. Any idea? If I delete "adx[i]>20" I get alerts and arrows otherwise not. Is there any other way to store adx values into array. for(int i = limit - 1; i >= 0; i--){   if(sar2 == false && sar3 == false &&...
Hello, Sometimes on my Mt4 terminal, my EA doesn't react to new ticks. While its like this, it doesn't let me access the EA's properties and change parameters. While in this state, I can still scroll on the screen and view journal tab, etc. I have two terminals from the same broker running side by...
hi, this strange thing happend to me the first time. a test based on daily openprices faild for 2 months during backtests, (EA did not open any trade) so i investigated this problem. after watching the data on different timeframes it cames out that on the daily chart the whole june and big part...
  Expert Coding (7)
I trying to code an EA using QQE Adv custom indicator. I have used the iCustom() function to return values in the EA upon which a trading condition is established. But the EA doesn't place a single trade when am back testing it. What am missing?
Hello! When I insert indicator to chart it does not draw last arrow others are. If I go in metaeditor and compile indicator it draw it. What can be problem? Thanks!
int CountBars=1000;if (CountBars>=Bars) CountBars=Bars;   SetIndexDrawBegin(0,0);SetIndexDrawBegin(0,Bars-CountBars); What is the difference between last 2 lines.? And how can I code that arrow will appear immediately when some conditions is meet? Thanks!
Hi there, could anyone please tell me how i can change the time setting on my account. I live in england which is GMT zone, but the market watch is one hour in front. Many thanks
i wanted to execute a buy but cannot with the code below. my broker need 25 pips from market price, but i already set to 25 and still cannot, why? please help. =OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);
I need to program time intervals in a non-linear fashion. A linear example would be measuring blocks of 10 candles at a time therefore it would look like this: [ 10 ] [ 10 ] [ 10 ] whereby interval 1 to 10 then 11 to 20 then 21 to 30 Whereas I need a non-linear fashion where every single candle is...
I have this array of 31 price values. I want to compare them to a new array FrequencyArray[][1] where I store the count of how frequent a particular price appears in the list of 31 price values and their price value itself. So we will use LineArray[] as the mass list and do a lookup on...
Hi my friends, I need to modify magic number by EA. Ex: I have a order which was open by OrderSend(...) command with magic number is "12345" and now I need change the magic number "12345" of this order into magic number "67890" but I don't know how to do. Please help me. Thanks a lot all my friends...
When is a Doji no longer considered a Doji? We all know that visually a Doji is basically a candle where the open and close are nearly equal and there is a high stem and a low stem. Variations of the Doji such as dragonfly shows no high, but long low, a gravestone has a long high, but no low. BUT...
Hello How can I download the maximum amount of data, I have checked several brokers and the amount of data they allow is very small? How do I have to do it properly so I will have no missing data? Kind Regards
alright fellas.... i would like to code a ZigZag indicator that is based off of the swings of an oscillator. for example i would like to find the highest price reached during a bullish momentum swing (momentum indicator moving from negative to positive) and then the lowest prices reached during a...
Say I've coded a custom indicator or EA with an infinite loop, loaded it onto a chart, and closed MT4. Every time i start MT4 afterwards, it'll load the faulty code and freeze up. Other than recompiling and commenting out the faulty loop, is there any way to start MT4 from a blank slate with no...