MQL4 and MetaTrader 4 - page 1182

To post a new topic, please log in or register
my name is Kevin and i'm an active fx trader. i have several years of experience behind me and in my experience, the biggest obstacle that i faced was how to psychologically handle losses here and there. sticking with my system, based on specific indicators and a good fundamental awareness, i know...
For example, MACD window shows local max and min numbers ( plus max value ~ minus min value: 0.3~ -0.9). Now, I want to fix the range of MACD within same big absolute values in MQL4 Codes.(0.9~ -0.9) function? or code technique?.. everything OK.. help me.. ^^;
Many of the programs displayed on this site have copyright designations. To what extent can one use this code for his or her own use? When a displayed program has a copyright symbol in it, can one copy and modify a subroutine and consider it his or her own? What types of activites are protected...
Hi I am a newbie trader who needs a good EA. I am not a programmer so please keep it simple.
I have no interest in working with EAs that work on less than daily charts. However, when I run them through the tester (in visual mode) I get multiple trades in one day (tester seems to go tick-by-tick). All of my EAs and their indicators are set to evaluate on the close price, so multiple trades...
Hi All, I'm still learning MQL4, I understand much so far, I like to read any MQL4 file I find, and try to understand it, one thing an the following file I give up in it. In the Operator 'for' the author's add number (+9 )? what is the purpose to add this number? #property indicator_chart_window...
Gerade im deutschprachingen Raum gibt es noch wenig Möglichkeiten Hilfe bei der Programmierung zu bekommen. www.meta-trader.de www.meta-trader.de hilft bei der Umsetzung und programmiert für den Anwender auf Anfrage die EAsAuch unter www.tradenwiedieprofis.de bekommt man Hilfewww.tradenwiedieprofis...
I need to read and write files outside of the Experts directory, to some directory outside of the MT4 file structure. According to the Documentation section here, access to files outside of the Experts Dir is "prohibited". Seems an absurd restriction to me, but I suppose they had *some* reason for...
The reason I ask is that an EA must use the various values from multiple indicators as part of its strategy. The Data Window would be a "one source fits all" solution.
Hello I'm not a code wiz and a total newbie to MT4 and there i'm not able to write my own scripts, so i wonder if anyone would be kind enough to make this piece of code for me. The code should be able to trade all currency pairs and one any time frame The psudo code: Create three EMAs EMA (1)...
Hi all how can I add a stop loss to this ea so I can change it in the perimaters window and set stop losses, also I need it to trade on mini accounts. I dont know coding and sure could use the help Thank You Much Mike...
I have a script, when put on a 1-minute chart, that makes a new, updated, offline chart with a new candle every n ticks.  Now the problem is that sometimes, the MT4 terminal (on live feeds and on demo), brings new ticks with a volume increase of more than 1 (tick, not pip!).  Some volume increases...
Attached below is a rather typical MACD indicator that works just fine. My problem is that I have commented out a line of code using SetIndexDrawBegin because it doesn't seem to do anything. I've used small numbers (like 3) and larger numbers (like 27) and cannot notice any effect. So, why would I...
I've come to see that there is a trend in starting to focus on shorter timeframes in the market, particularly with the volatility reflected by the economic crisis. I use MT4 for trading often but have recently found other platforms (such as ninja trader) that offer shorter timeframes based on ticks,...
Where a broker feeds an extra decimal point on a pair, is it your experience that indicator values & rates of change are greatly different than on standard feeds? Or is this specific to FXCM? TIA -BB-
On the website of the Automated Trading Championship 2008,an article Jury Session Record of the 17th of October 2008 has been published. The Automated Trading Championship 2008 gathers steam. Several hundreds of Expert Advisors execute trading operations. However, not all of them are successful....
hi big headach on this part pip stuff - please u help? also need knowledge on multi symbol ea - metaquotes talk but never see any hard facts - just atc blags on how some using multisym ea's but no real info.. 1. If i do MODE_DIGITS on many pairs, i get answers of 3 or 5 If do MODE_POINT on same...
Can anybody send me, I don't program, Fast stochastic alert with sound and text message. Also the indicator should be visible.
  Create EA together? (13   1 2)
Hi all here :-) in my opinion here we are some (good) programmers and some (good) traders. What, if we go together, take the knowledge from the traders and put them in our knowledge as programmers and make together a profitable and stable ea? Someone interested? I guess, first we need to find a...
When I use it, I can only logon to MetaQuotes-Demo. Is it a demo version of MultiTerminal what I downloaded? Thanks.
I want to place a text object 23% the distance between two time points on a trend line, on a daily chart. I get the time of each end point on the trend line using: Time1=ObjectGet("t1", OBJPROP_TIME1), Time2=ObjectGet("t1", OBJPROP_TIME2) then work out the 23% distance using: Time23 =...
  script or EA? (1)
I would like to scalp using shortcuts. I don't know If it would be a script or a EA. I need Lots, Slippage, TP and SL only. BUY when I press CTRL+SHIFT+B SELL when I press CTRL+SHIFT+S CLOSE when I press CTRL+SHIFT+C Any help? Thanks
I am interested in understanding MQL4 and programming more on a whole. However, the language used in this site is frequently more technical that I would hope for. Does anyone have any links to good websites that slowly introduce code writing for beginners? Any input would help. thanks.
Can anyone tell me how to deal with this. It appears when an EA tries to open a trade
Hey this Thread is to all the users facing problems and looking for solutions regarding the Forex AutoPilot Buy it HERE -> http://leyzinhu.forexrobot.hop.clickbank.net Post your Questions and/or Answers on this thread I'll move'em up to this very first topic 1. What are the Variables that we should...
I have a strategy which i checked that it can capture most of the moves in M1 with minimum losses. Loser trades are normally closed and reversed. Most of the time there will be an open trade, SL will be used but the closure of the trade will be automated based on the same entry criteria. Please...
Hi, I've got a real strange problem using a dll with MetaTrader: I've written a 2 Indicators and 1 dll. Both indicators call the dll to caclulate its values. Indicator 1 calls function1 from the dll to get its values and Indicator 2 calls function2 from the dll to get its values. Indicator 2 can...
Hi. Can anyone maybe help me by answering this question? I want to run 3 experts with the same indicators but with different settings on one account. All three will run on Eur/Usd. I created the experts using a free ea builder. I have givin each of them a unique magic number. Will the magic number...
  No trend EA (5)
I'm working now on a EA that work nive with no trend, but when is a trend (let's say more trhan 300 pips with no come back) it mean a big loose, so i want that it work only when is no trend market, so I need to use an indicator that say with security when the market is going to take trend (in more...