MQL4 and MetaTrader 4 - page 992

  pending orders help.  (13   1 2)
I am using MT4 with my broker OANDA.   I am trying to setup a macro the will place pending orders for both buy and sell. My problem is that F9 brings up the trade window and then I can use tab to get to change the order type to pending however the numbers are all zeros. The only way I have found to...
[Deleted]
  EA Backtesting - How To  (11   1 2)
Hello @ all,  I need some help with the backtesting of my EA. Here is the overall structure of the EA:   extern int ticket_b1;extern int ticket_b2;extern int deleted = 0;extern int deleted_tmp;extern int order_type;int init(){      return(0);}int deinit(){   return(0);}int start(){   // At this...
[Deleted]
I have a fxcm metatrader system and using the mt4 version. The download is okay but I am facing problems with the format in my Excel sheet. When the value is above 1 like the eurusd the input has to be divided by 100.000 to achieve the right value. When the value is less then 1 like the usdcad then
Hi guys, i would like to ask for a favour.. i need an expert advisor, that its deactivateing<for the current day> all the another expert advisors activated on the account, when an X ammount of pipps it was been reached.. then on the day 2 its reactivateing back again from 00:00... The expert also...
[Deleted]
Dear   I’m new on MT4. I’ve been trying for many days to Close an open Order (which has been set up with a take profit limit), before the TakeProfit limit is reach.   My initial command is :    OrderSend(Symbol(), OP_SELL ,Lots ,Bid ,3 ,0 , Bid-TakeProfit*Point, NULL ,16384,0,Red);   I have a...
Hi, I am using this functions: https://www.mql5.com/en/articles/1540 How should I clear the text in my csv-File? Should I delete it and create it new, or is there a better way?
[Deleted]
Is is possible to take the BB_MACD_CCT_alerts_v2 indicator and turn it into an EA for any currency pair and in any time period? I am not a programmer and would not have a clue as to how to convert an indicator into and EA. Can someone point me in the right direction? I would like to back test...
    examp  up image   there have four of levels,but ,i want to get the levels's price,how can i do 
I still think that mt4 is lacking re: graphing of DrawDown. Does anyone know the best way to get backtesting data OR  live forward trading data into mysql? or into a spreadsheet directly?  I think that this ought to be the easiest way to graph trades and visualise drawdown in real time - albeit...
I have an application that requires lines to be drawn on the chart, I was told previously that this is not possible.  However in looking at other applications such the ZUP indicator or Fibonacci indicators, clearly this could be done.   Any guidance would be appreciated.   
[Deleted]
Hi Guys - anyone heard of ProSLTP ? Google it Looks to be a cool management tool and you can try it 2 weeks, the only thing is you need to use your e-mail and they will send it to you. I also used it for more then 3 weeks and I still can use it - maybe they forgot to remove the protection LOL. Would
[Deleted]
MT4 account Copier just Google it Very good forex account copier explanation. I have tested several, but best one - copier based on mt4 api. I've forgot url for video: copying speed comparison for copier based on api and scripts. If I found, I will post too.
is it possible to change the color of the comment and the size of it. Comment("\n                                  YOU ARE RISKING TOO MUCH");
Hello, I need a function for an EA that is similar to Print() but that takes into account the maximum length that can be displayed in the Journal-tab of MT4 without truncating the string. So basically I need a function that simply replaces Print() in the whole EA that then looks at the string I pass...
A query, when I have an Expert Advisor  running, and change the timeframe in platform Metatrader4, the EA restarts, and rerun the INIT function, my question is will also reset the values ​​of global variables?
i know this is a more general math question then a specific Coding question, but it's for my EA is there a way to add together chances eg Prediction 1 predicts that there's a %55 chance the next candle will be going up Prediction 2 says there's a 53 chance it will go up and prediction 3 says there's...
Folks,   I am confused.  Can you please explain for me Maximal and Absolute Drawdown.  I thought I understood but in my testing it shows a gross loss of 63 and a maximal drawdown of 4030 and absolute drawdown of 1715 but it never drops more than 21 below the opening balance ... how can that be?...
[Deleted]
I'm trying to call CreateProcess() from MQL, without success. Following is the import declaration: #import "kernel32.dll" int CreateProcessA( string lpApplicationName, string lpCommandLine, int lpProcessAttributes[], int
Hi All, I have a problem here. When my friend open a trade, I am unable to see his trade when i login using the investor password. Anything I have miss out? Hope someone can help. BTW i am using Oanda MT4. Thank you.
Hey Guys, I am trying to identify some code which will allow me to test once per bar. For example, running an if() statement at the start of a new bar. One in which you can select a specific time frame rather than what the time frame is currently operating on. Any ideas? I am stumped, its late and...
[Deleted]
Hi! I am having SOME problems with ordersend. For instance, the EURJPY symbol: BID=104.323 / ASK=104.355 I try to open a sell position at 104.326, with a slippage of 10, and use normalizedouble with precision 3, since Digits=3. I also refresh rates just before my send order. I STILL get error 129,...
Hello, I would like to use MT4 as it comes, with indicators that are already predefined. I have only limited experience with another computer language, and therefore will use existing trading strategies with indicators from the MT4 platform. Can you please explain what steps I have to follow to do
[Deleted]
Hi I am looking for someone to program a ea. I can pay for our service. Please contact me with message  thanks 
I havethis indicator on my chart to show me CCI divergence. What I want to do is grapthe signal from the indicator into an EA and then for now just give me an alertso I can see the EA has got the signal. For some reason i'm not allowedto show the indicator here, it says 'The text is too long' when...
Hi there,   Could someon please give me some advice or help on this: I would like to add some function which will modify a SL and TP, when I have some profit in points. For example: my EA opens LONG trade when EURUSD is 1,2000 -> SL 1,1900 and TP is 1,2100. When EURUSD is 1,2050 i would like to have...
Hello ,How do I create EA with multi time frame(5min chart and 1H chart)  
I am backtesting on two terminals simultaneously. I updated the EA on one terminal, and then copied it to the other and re-compiled it there as well. Both terminals are loaded with the relevant indicators. Both terminals have identical history data. When I run the two EA's side by side, with...
Alright does not make sense. The following code triggers as if the order was closed and it is not, still a buy: Statement same as I have always used, except for variable name. Went back and looked at some old programs that used it. if( (AccountNumber() == MasterAct[index]) &&...
[Deleted]
  SPAM  (3)
.
Hi, I need an help in writing this indicator, it doesn't work. I must find the last bar that formed a Fractal Up. The indicator will return the shift from the present bar, to reach the Fractal bar. For instance, if the Fractal Up is formed 3 bars ago, the indicator will return 3. Thank you for your