MQL4 and MetaTrader 4 - page 829

To post a new topic, please log in or register
I'm in the process of making my first EA. I have gotten most of it down even with my very limited programming experience but I still have a few questions. 1. I need a way to make an If condition trigger when price moves a certain amount of pips in one direction without moving at all in the opposite...
Is there a way to link the charts to the pairs in the MarketWatch window so that by clicking on a pair it will open up a standard chart (not the Tick chart)? Or is there some other, better way to display a list of the pairs I follow, have just one chart open, and then be able to quickly change the...
Two new properties have been added in MQL5 - OBJPROP_XOFFSET and OBJPROP_YOFFSET. They allow creating some interesting effects:
Hello to all. I have an OsMA+2MA Cross bot. I want to put "proportional MM" in it, but Works with static lots, works with profit after optimization on any (except M1) time frame. Also, the EX4 file is here. You can test it... I promise, the bot will be posted here later. The Code:...
Here is the indicator can you please code EA for me?
I'm preparing a strategy, that's based on candle comparisons. I need that a if and else structure, returns me the graph movement. I tried this: if(Open[Bars] > Close[Bars-1]){ Print("Topo"); return(subindo); }else{ if(Close[Bars-2] > Open[Bars-1]){ Print("Base"); return(descendo); } } But a friend...
Hi, is there a possibility to let an EA open the orderwindow of my terminal?
hi, anyone know where i can get my hands on former mt4 championship Ea's ? websites ? cost ? thanks
good to be here .hope we can be friends
  EA (new bie) (4)
I am a computer engineer. interested in writing MQL4 EA programming. I am happy to assist or work together to write good EA for any one. Please let me know if you need any of my assitance. Thank you.
  Ross Hook (1)
With the help of the Forex Strategy Builder Software I've developed an strategy with the indicator "Ross Hook". I got the open source code of this indicator on there website but unfourtunatly I don't know how to convert it to an ".mq4". Here is the complete code: // Ross Hook Indicator// Last...
Hi, why is it impossible to change the deviation to a decimal number like 2.9? It is crucial for my strategy, so I would be very, very thankful if there is a solution. Thx
Hello, I'd like to access information about an Open Position. In particulat the floating Profit/Loss value. Is there a command available to do that? Thanks for your help.
I have a working EA and want to add this code I found in an old article so no new trades open on Friday. What I don't understand is how the Return(0); operates here (and can't search for it) because it's not in a function but an "if" statement. Where does it return to? It also looks like there's a...
  EMAIL SETUP (2)
Can somebody please give me a setup - configuration and provider that ACTUALLY works with metatrader. I have tried gmx, yahoo and others but i have not managed to get anything working ... it is driving me nuts Thanks
Hi, Anyone have a script to get the day and time from my PC for an EA? I can't use the weird times I'm getting from Siberia or wherever the MT4 is displaying data times. TIA Bill H.
Hey, I need some help... to modify theTakeprofit of all the SELL Orders with the same Magicnumber and ofcourse also of all the BUY Orders with the same Magicnumber – for that I need all the Openprices ofall the executed Orders to calculate the Takeprofit so, that it is 3pips better than the...
Build 392 is buggy and causes my EAs to stop running after a couple of minutes.
how to close the ticket, it just open but no close ... it is for Marketiva .. if (sendCmd("<TEST CONNECTION>", "send() failed: error " + WSAGetLastError() + " (0)", "Test connection is OK.") < 0) return (-1);   int l_file_160 = FileOpen("MarketivaSSBS.txt", FILE_CSV|FILE_WRITE, ';');   if...
I have the following function in my #include.mqh file ..... properly referenced and other functions of the include ARE being accessed and utilized. void Write (string argFileName, string argString)   // routine to log transaction to separate log file        {              int handle =...
I have a routine to read a file on init(), then would like to pass the value to start(). How can I pass this value to start()? I don't want to read the disk on every tick.
Hi, I am upgrading the MT4 platform I trade on at the request of the broker. The previous platform had a t following the designation. ie eurusdt. I had customized the charts and indicators and would like to be able to transfer that information to the new version I am trading on. Is there a simple...
Hi, I am looking to buy a forex EA / indicator with full private label right / resale rights Anyone interested in selling the the package together with backtesting and perhaps a video demo? (you don't need to appear on the video) Thank you
programer needed to code stardegy payment after agreement contact tranco@inbox.com
I am trader comming to MT4 from tradestation i get positions open for long time (1H and Daily charts) i can stay at the front of my computer 24h to close my position when things happent (so i avoid to take 1H chart) i would like to close the position when prices close above(below) a MA or when one...
Hi everybody, I'm just beginning to use MQL4 and i'm begining to like it!! I'm encoutering my first issue, i'm trying to set BUY and SELL order, but it don't work when i put stop loss and take profit values (if i put 0 it works). For exemple if i put : ordreb = OrderSend( Symbol(), 0, 0.1,Ask, 3,0,0...
Ok I've downloaded some indicators from a website for the mt4 platform. How do I transfer these files to the platform? Thank YOu
Hello freinds, I need your help. As I use the "Comment" to show data on the screen, I want to controle the wideness of the comment. For a better understanding I will give an example: I want to have a comment line on the screen of the Stocastic indicator value. Since it ranges from 0 to 100, and I...
Hi! I have one Expert Advisor operating on many charts at the same time, and I want that, if any of the charts reaches Stop Loss, no other chart can send new Orders (though I don't want to close the ones that are already in). Anyone knows how can I do that?
  Reversals (5)
What do you guys do for reversals? With all the awesome indicators being developed I'm surprised there is not more for reversals ( unless I'm using them wrong!)