Download MetaTrader 5

MQL4 and MetaTrader 4 - page 711

To post a new topic, please log in or register
Hi guys, In the docs it says: "Note: At the testing, local time is modelled and is the same as the modelled last known server time." just to be sure. In real time, on Fridays, when the server stop streaming data, Print(TimeHour(TimeLocal()) will be printing the local computer time. Right? Thanks,...
any indicator can detect ranging market ?
I apologize for my English. Hi I have a problem and do not know how to fix it, I hope someone can give me a solution. I have the EA USUALEXPERT.MQ4 that is in the metatrader programming book, but in this EA I can only open an operation to buy or sell at a time. The strategy is sigiente while the...
please can any one answer me whats the metatrader4 server name and also port
Hi all, simple question: is it possible to set the position of object - whether it is in front of the chart or behind the chart - for each object separately? I know that the chart option "chart on foreground" exists, but that sets all objects to the background. Could the answer to my question be the...
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrade 5 is published at mql5.com: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input...
Hi, kind of a silly and short question. Every chart in MT4 has 2 triangles, one touching the upper border of the chart, the second one touching the lower border. Now the upper triangle lets you choose how far to the left should the chart be shifted (or moved) if you toggle the chart shift. What does...
I HOPE SOMEBODY CAN EXPLAIN ME THIS. I started my investing journey with the Forex market, so there when I make a market order to go long the price where I entered the market never changes. Example lets say I go long on EUR/USD at 1.4000 right? That price where I bought it will never change so you...
Looking for some beta testers to help test a new trading system. So far it has proven successful and generated over $300 in last 15 days on a $100 deposit. It is risk free to you. Let me know if you are interested. The link is below. Beta Testing Application - IntelliTraders
  Removed (4)
hello, i would like to ask you for help, i want to make a my indicator: the highest close price of the last five period, but i don't know which formula use. thank you in advance for your help :)
Hi together, I developed an EA which I run since 1 month successfully on a Demo Account and I also made Backtest. Then for 1 week I start trading with a live account. For example today with StrategyTester only 1 Trade should be the result ( today from 1 am to 9 am), but with the Live Trading my EA...
I have an indicator that shows how many logs/shorts there should be open. This indicator is also used by an EA to open and close positions. This same system works with several strategies for a year now. As I have been testing a new strategy on a demo, a really weird thing happened. Every now and...
Hi! i'd like to know how can i round a number. For example i have 15049,704932354 to 15050. Thanks
An obvious question and I'm sure there is a simple answer staring me in the face, but, as Blackadder would say, "bugger me with a fish fork" if I can see it?
Hi! I've been trying to make an indicator that shows me when to enter and leave trades. I thought of making something like this for(shift = 1000; shift < Bars; shift--) { ma5c=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,shift); ma5o=iMA(NULL,0,5,0,MODE_EMA,PRICE_OPEN,shift); if((ma5o > ma5c))...
on my MT4 connection bar i am getting 0-1kb is this normal? i have a fiber optic connection. i am asking because it seems my ea no longer make many trades. anyone hlep? [IMG]http://img.photobucket.com/albums/v203/digitalsakurauk/0011696.jpg[/IMG]
Hi I tried to modify this simple program to display an UpArrow at three places ( times) depending upon the if condition. It works partly and displays one arrow when i run it offline in simulated mode. But does not work at all when online. Please can someone point the mistake and show me what i shud...
HI I need someone to copy a indicator script for me, I can direct you to the script and I need to be able to import it to my charts .. is all, how Much to do this task? Thanks in advance Dellitron
  breakeven function (12   1 2)
Hi all, since the search function seems to be down on this site I'll just ask away. I implemented a breakeven function into my EA from someone else's EA. There were no errors when compiling and back-testing yet when I watched the back-test report there were also no trades / order placements within...
I want to find the "Close" price everday at the same time. I've searched and searched, but to no avail. I keep seeing iClose and iBarshift, and have tried to use, but I am unable figure it out. I simply want it for the same hour everyday. Will someone please help with the code? Thank you,...
Backtest works fine with current settings, however it won't execute anything live. 2011.06.08 15:54:24 universalMACrossEA EURUSD,H1: 19:00 - 0 - 255 - 10 - DOWN 2011.06.08 15:54:23 universalMACrossEA EURUSD,H1: MinCrosDistance SELL All I get are messages like that over and over, the last message...
I don't know if this is possible so I want to reach out and see if anyone can confirm. I bought an Expert Advisor from a company, and it is obviously a .ex4, so I can't edit it; therefore, (this may seem like a strange question) but I want to create a script to change a buy order to a sell order...
For some reason I am having differculty in getting some text to appear on the left of the screen, at the same position that a line was created. I thought the code was simply, but the text keeps appearing at the top of the screen, which means that the Y position passed is not being accepted. Is there...
Hello all, I'm trying to use ArrayMaximum to return and use the maximum volume value in a 20 bar period. The indicator is compiled, but if I delete the ATR condition (ATR_0>ATR_1), it doesn't work properly. In fact I think it didn't return the maximum value from the array. Can a programmer help me...
Hi. I'm sort of new to this MQL4 thingy and I need your opinion on how to improve this code I have. Here it is: int TicksWithLowADX = 0, TicksWithLowForce = 0, SlippageCounter=0; bool ADXIsLow = False; bool ExplosiveIsBought = False; bool ForceIsLow; double Price1,Price2,Price3,Price4,Price5; int...
Hi. I'm new to this expert advisor thing and also to the language of MQL4 can anyone help to check and see any errors or anything that can be improved? Here is the code for it: //+------------------------------------------------------------------+ //|...
I'm tearing my hair out!:) I have just programmed a risk management EA but I have one problem which I just can't figure; the picture shows my problem. I have a trailing stop of 7 pips but for some reason, sometimes it doesn't work. As you can see in the picture, I enter a long position which...
Hi guys, I want delete my pending order if price reach StopLoss which is defined in order. I need to check this conditions in every price change, but now it checks only once after ordersend. Can you give me advice with this. if( OrderSelect(ticket,SELECT_BY_TICKET) && OrderCloseTime()==0 ){   if...
There has been some discussion out there of how long MetaTrader 4 will continue to be offered by brokers. The problem with this is MT5 doesn't support hedge positions, which really sucks if your using an EA that uses Hedge positions. So I would like your thoughts on this. How long do you think...
1...704705706707708709710711712713714715716717718...1244