MQL4 and MetaTrader 4 - page 1023

I've just discovered MQL4, and I am reading the documentation ;-) The doco says: "Stop Loss and Take Profit orders (described below) can be attached to a market order." When I open a market execution order the 'Take Profit' field is 'greyed out'. How do I attach a Take Profit order? Do I have to...
after i adding the code in to my indicator if(ObjectFind(compass = W1_SELL);  {   ObjectCreate("W1_SELL", OBJ_LABEL, 0, 0, 0);   ObjectSetText("W1_SELL","W1 SELL COMPASS",10, "Arial", Sienna);   ObjectSet("W1_SELL", OBJPROP_CORNER, 0);   ObjectSet("W1_SELL", OBJPROP_XDISTANCE, 4);...
I saw there are topics here related to my subject. but i was unable to find a way to fill gaps in the data in history center. can we get data for each 5 minute during a day from history center? if so there should be 288 records per day.
Another time that I cannot write an EA without coming to this forum for aid. ;( At least you all can see how well I have progressed! ;) Compiling the tops and bottoms over a set amount of bars is failing me :( See: Code: #property copyright "Copyright 2012, bmel_12.25.81"#property link "http...
  Range Bar Trading  (10)
I am trying range bar trading but the offline charts are not updates to current date. Does anyone know how to update offline charts?? Thanks in advance
  LRC custom code  (10)
Hello, I would like to know what to modifiy in the code of this indi so that it doesn't refresh the channel on every bar and so that the channel stay on the chart for old bars, like in the picture attached and showed on this video : https://www.youtube.com/watch?v=peYbHALhyX8 (5:35). Thanks a...
[Deleted]
Hi everybody, I'm new here. I read much on this site and I have learn here very much. You all are great. Author of this strategy Dr. Barry Burns, he calls it 5 energies. It works on M5 timeframe with confirmation on M15. It's only working version for M5 timeframe and one market (I optimized it for...
how it type (if there is no opened positions now) in mlq4 please thanks
[Deleted]
This 3 ADX and 2 OSMA signal works better than many setups I have seen in the past. I feel it has Great potential if put in an EA form. I really want to do this soon.Problem is I am still learning the code. I am not there yet. In my first message I listed the inputs and variables of ADX and OSMA
[Deleted]
Im currently testing this system that can be implemented in a EA to greatly boost profitability without future collapse of the account. This image is from a 5 year strategy test(23.06.2007-23.06.2012)
  Holy-Grail!! At-Last  (39   1 2 3 4)
Just can't resist :). Lil eye candy for you
Hello I have mt4 to mt5 conversion questions: below code will not compile due to MODE_MAIN and MODE_SIGNAL mt4 keywords, what is their equivalent in mt5? also iMACD has wrong number of parameters , can you correct? void ann_prepare_input() { int i; for(i=0;i<=AnnInputs-1;i=i+3) {
Hello folks, I have reviewed the OrderSend and OrderModify functions and found that slippage is expressed as a int value, which is very straighforward for 2-3-4digit pairs. But what about 5-digit pairs? Must slippage be expressed in pippetes on pips when trading a 5-digit pair? Thanks in advance.
I have Spent two days and fail to find out what mistake I made, so please help me out!! Case: I want to open two sell orders, the second one will be open when the market go up 5 pip, but when I run this code (below), it only open the first one and never open the second one. Your helps gonna be...
Hello guys. Since it's plenty of code and I am still a newbie with mql4 I thought to ask you an advice based on your experience. I am spending hours to study market and MT4 and I would like to have a little satisfaction to build a robot that works a make a decent ROI at the end of the year (I am not...
Hi, I found an indicator I would like to use put it does not come in the compiled format. I use windows 7 664 and have tried every suggestion to get my metaeditor to compile but it does not. If someone would compile this and put up a link to both files I would be grateful. Thank you in advance...
[Deleted]
  asking  (2)
Dear staff of fxclearing.com i m lina123 and owner of account 1216831,i m confused why my account being blockade and i cannot login to my account and suddenly appear message invalid account or password? tell me what happened?and can i m take my money away with me? Thanks waiting your reply lina123
Hi, I am using the http51.dll an get the following error:    string fromServer = httpGET("http://www.test.de", httpStatus);      if (httpStatus[0]==200) {      //Simple parse string from server :)      Alert(fromServer);   } else {      //Error catching :(      if (httpStatus[0]>0) {...
who can I contact for problems with the EA Snowie the EA with 3 indicators.?
  "Cool peppers!"  (123   1 2 3 4 5 ... 12 13)
Hello! For those who are "cool". We do not need (should not) be shaking the air masses of the forum with photoshop-drawn stats, shake them in this thread. Clear signals, such as: EURUSD , buy, SL 200, TP 300, 5:51:49. If you have any misunderstandings on the forum, you are welcome here. Clarify the
[Deleted]
My EA is instructed to open buy/sell order at specified level under certain conditions But due to fluctuation and/or freezing movement about the same level, my EA executes additional orders repeatedly. How to adjust my EA to open only one position at the specified level?
dear friends I am new on the forum and i'm new in using new EA apart from those offered on the mt4 platform. last week I have downloaded the EA Charles 1.4.0. I dont know how it functions exactly .but i want to set it so that the stop loss could be 150 pips and the take profit at 200pips. where...
How Can I delay a trade with 10bar after it has an already existing trade.
[Deleted]
I've get an ea that makes a call to my server for authentication (checking their username/account number in my DB) I need this function, put into a .dll so when my .ex4 is easily compiled, they can not edit the code to take this authentication function out so easily. I'd also like some of the ea's...
In the documentation, after calling OrderSend(), I can't seem to see an error code for partial fills. Does anyone have any experience with how to detect and correct (ie a further trade to buy what has been missed)?
Hello I come from Thailand. I think in Thailand,there is legal issue about Forex trading.So Forex is not popular here. But I really appreciate MetaTrader program.I try to find some broker here on the web,but I do not know which one I could trust. Some website I could not contact,some just do not...
[Deleted]
I've been trying to do a backtest days of quality with a minimum of 90% and I want to take the last 2 years, but I can not do well. The maximum that I can do is from 6 last months and 54%. Someone could spend a manual to do a 90% backtest? Thanks!! Llevo dias intentando hacer un backtest de calidad...
Need help with the code below, its a simple code meant to be optimized but i cant make it work. Please help!!!! Thanks Daen //+------------------------------------------------------------------+//|                                            Buy Low Sell high.mq4 |//|                        Copyright...
  what is wrong with my code?  (12   1 2)
So I have this Median indicator Here is the code .... #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Black #property indicator_width1 2 extern int Length = 14; extern int ApplyTo = PRICE_CLOSE; double median[]; double array[]; int midlea; int...
  Ubzen's FREE EA Project#1  (48   1 2 3 4 5)
Hello Members, this is yours truly Ubzen. I've just crack the code on what I believe is a strong Money Management System. Being the nice guy that I am, I'm lending a helping hand to my fellow forum-neers. I'm hoping to start a thread for Educational purposes with a final reward of one lucky member