MQL4 and MetaTrader 4 - page 1446

[Deleted]
I used demo account from FXOPEN on one of my computer. after a long time development, I got an good result like this picture above. it looks good. later I open another demo account (new download) and test it on another computer, I got totally differernt result like this below : does anybody can...
Dear fellow coders, I'm having serious trouble with generating a simple moving average over a custom indicator. To be more concrete it's the 'VHF' indicator which can be found by following the link: 'SVOS Multi-Indicator EA' If you have any suggestions/recommendations or a hint as to where I should...
[Deleted]
I'm trading demo accounts on MT4 and have had no problems for weeks, but in the last week I've had this same problem arise at various times daily, and it happens on most currency pairs. I believe it's caused by decimal errors, but how do I fix it? It makes my charts useless after each spike until...
hello i have a problem with an indicator i have an indicator to show the atr in pips this will be shown in the left corner below the account information Comment(prefix, "ATR (", periods, "): ", buffer[0], " pips"); now i like to move it to the right corner because in the left are very often some...
Hi Please Introduce a reference about context of Hedge and type of strategy with Hedge in forex . please help me. Thanks From all my friends.
Yesterday I posted about how to prevent whipsaw and got some excellent advice about using Standard Deviation and one of his indicators. ('Methods for preventing Whipsaw...') Today, I am curious about lot sizing and how to keep otherwise profitable trades from turning into unprofitable trades due to...
  A trillion dollars - how much is that?  (79   1 2 3 4 5 ... 7 8)
The forex market operates with volumes of $3-4 trillion a day. And what does that trillion American dollars actually look like? Let's start with a $100 note: Here's a wad ($10,000): 1 million - 100 stacks: 100 million fits on one warehouse pallet: It takes ten pallets to fit one billion dollars: And
I was looking at the one hour chart and had thought that my stop was safely beneath a support line, but much to my surprise, I found the stop an inch above the trend line when I switched to the 15 minute chart. As it turns out, two of the charts had missing data which led to the charts being...
[Deleted]
hello community, i am looking for a godd hedge trading script based on >= 3 symbols. it should have a good backtesting performance. thank you
[Deleted]
Hello MetaTrader guys, i like MetaTrader as it is easy to use and powerful as well but sometime you face something not really perfect. the logfile simply gives not a complete overview over what was happened: - expiration of order not logged - if a pending order was filled, nothing about in logfile....
[Deleted]
Hi Folks, _ have you got any experience in real live trading during out-of-hours session, i.e. trading GBPCHF between 22GMT and 6GMT? _ I am asking as I have got successful (in testing / demo) EAs for out of hours trading when markets are ranging, however I am not sure whether in real trading the
Ladies and gentlemen ! I found a neural network algorithm on the internet . I decided to check it out. I made the script for terminal . I ran it on and it worked. To make sure is correct - I made a visualization of the learning process. made visible . Well , and not to work gather dust on the shelf
Hello freinds, I want to use a single Expert that can trade simultanisly with EURUSD and USDJPY together: means: BUY and SELL, Yes, with a single Expert. Is it possible?? Thankes you all
I wrote an EA and tested it on my HP Laptop computer. I back tested it on EURO/US 15 minute chart with start time "June 1, 2009" and stop time "June 2, 2009". It opened a buy order at 2:45 GMt on June 1, 2009. My laptop computer has MetaTrader 4, build 218. I have just re-installed XP OS on a DELL...
[Deleted]
Hi Fellas I m learning to code MQL in MT4. I m trying this simple program to market buy. In the experts window i just see "2009.06.15 13:32:28 try EURUSD,M5: initialized" nothing happens after that. Not even any error message. This is the program in question: #property copyright "Copyright © 2009,...
[Deleted]
Hi all...yes I'm a newbie and need some desparate help from some smart people :) Currently my EA places waaaaay too many trades while the conditions are met. It goes something like this: if (conditions are true...) ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakeProfit*Point); The...
Hello. I'm looking to set up a test platform for testing EA's and don't want any brokerage-tainted data messing up my test results (and some brokerages, like Alpari-UK, use the "MetaQuotes Software Corp." history center for their data downloads. They are no longer providing their own history that...
meaning id like to find out foe example how much has gbpusd gone up by in all history withot goin back 80pips
[Deleted]
CRASH DETAILS: There has been a critical error Time : 2009.06.14 22:04 Program : Client Terminal Version : 4.00 (build: 224, 15 May 2009) OS : Windows XP Professional 5.1 (Build 2600) Processors : 2 x X86 (level 15) Memory : 981356/679724 kb Exception : C0000005...
Hello freinds, I write an Expert which is running in EURCAD chart, and it uses the bid price of USDJPY? I wrote the folowing lines: RefreshRates(); double B_UJ = MarketInfo("USDJPY",MODE_BID); And It still compute the veriable B_UJ as 0.0, WHY? Can somebody help me? Thankes
Hello I have had an idea of setting a yearly percentage increase on my account. one where the loses are spread accross the year and turned into a TP example account open $300 Percentage increase 300% Target $900 Tick Value GBPJPY 1.022 Yearly pip target 881 monthly 73 weekly 17 Daily 4 If the first
I like this expert advisors but need to know what is the best way to use. Should I have any indicators along with this? Should I change some settings within the file to make it run better. Any help would be great.
[Deleted]
  Multi Threading  (6)
Is there anyway to get better performance out of MQL4?  Because of this languagebeing single thread, it sometimes misses trades that are trying to be executedat the same time in my expert.  How do you do it?
[Deleted]
I am working on preserving my trades through catastrophic platform event. Each trade event is documented in a csv file. The intent is that if the EA is restarted for any reason, it can load the order details at initialization to be able to operate on existing trades What I need to know is the magic...
hi I have an EA and I'd like to make it works with a cycle. I've got 5 variables double ma1 = iMA(NULL, 0, 1, 0, MODE_EMA, PRICE_CLOSE, Current + 0); double sar = iSAR(NULL, 0, 0.02, 0.2, Current + 0); double Macd=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,Current + 0); double...
[Deleted]
Hi there, Does anyone know how can I export the trades history (account history) to ms excel? It would be very helpful since will allow me to separate the trades by currency pair and better analise the data. Thank you very much Regards Paulo
[Deleted]
Bars in test 125169 Ticks modelled 21792507 Modelling quality 89.93% Mismatched charts errors 0 Initial deposit 500000.00 Total net profit 89041.04 Gross profit 274756.43 Gross loss -185715.39 Profit factor 1.48 Expected payoff 215.07 Absolute drawdown 8249.14...
[Deleted]
Hi all, trying to figure out how to convert pip to dollar amount if I open a 0.1 lot size trade for example? Thanks.
[Deleted]
Hello all, When you test an EA with Tester, after it finish, you can open the graphic of the test (not the balance acount graphic but the other with the symbol you have tested and open/close position). So normaly you can see on this graphic all indicators used in your EA but it seems that indicator...
Hi, Guys, I just got into coding 2 days ago and now adapted an easy ea to my own strategy but it dosn't want to do what I'm telling it to. So here is what it should do: Entry 1.It shall only open one order per bar. 1. Go short if the Extrapolator falls the next bar and the Price gets above the...