MQL4 and MetaTrader 4 - page 1441

Hi, I am a newbie and have just started a demo account with Alpari UK Ltd( seems comes default with MT4). When I downloaded history data a few days back, a warning appeared suggesting this data may not be same as Alpari Uk data. I didn't bother. However, I wanted to understand why I am able to see...
I got very good result on backtesting, the modeling quality is only 25%. How can I increase the quality ?
Dear, Is it possible to change the SL/TP to an invisible mode? So, the "dealer" cannot detect the SL/TP until I execute the order? Thank you.
In DLL, MT4_EXPFUNC char*__stdcall GetState(int& st,char* which,int& prd) in such function, MT dead if let st= 123; MT4_EXPFUNC char*__stdcall GetState(int* st,char* which,int* prd) in such function, MT no dead. Both do not change parameters st, which, prd. only can return soththing with return(.....
[Deleted]
Hi. Please, how I can be a beta tester? Greetings!
I KEEP GETTING ERROR 132 (REQOUTE) FOR THIS CODE WHEN TESTED ON STRATEGY TESTER.THE CODE IS ABOUT FINDING A DIVERGENCE BETWEEN PRICE AND MACD.HELP CHECK IF ANY ERROR .THANKS IN ADVANCE.I HAVE ATTACHED THE CODE TO THE POST.
Members of foreign exchange to invest a friend: Do you look forward to a trading system allows you to achieve your success in the field of foreign exchange transactions of the ideal, you can now do, as long as you click the following steps, the success of distance away from you. 1. Into the trading...
[Deleted]
If one has all the history data downloaded locally is it possible to run Strategy tester offline without login?
Hi Looking for a basic script that will once dragged and dropped will place a buy order with your set Stop Loss. (SL can be editable in the mql file If anyone could help me or point me in the right direction that would be great, thanks all Happy Trading
Can not return var by parameter from functions in DLL ??? there are a function in DLL, ====================== MT4_EXPFUNC char*__stdcall GetState(int& st,char* which,int& prd) { //st = 1; which = "EURUSD"; // prd = 5; return (which); } ==================== if I call such function in a script: MT...
Hi, I am trying to write some filewrite() and fileread() codes. filewrite() like this:   int Open_Filing()  { Handle_Open=FileOpen("open.csv", FILE_CSV|FILE_READ, ';');    if (Handle_Open<0)      { Handle_Open=FileOpen("open.csv", FILE_CSV|FILE_WRITE, ';');        Handle_Open=FileOpen("open.csv",...
[Deleted]
I am using a 64bit Vista machine. I have written a simple custom indicator that does not have any extern variables, it has 8 buffers filled with the value 1.0 . When I use ICustom to retrieve the buffer information to the EA and print it, in the Journal the values all come out as 0 . Can anybody...
[Deleted]
  NEW PICTURE  (4)
Hello, I've downloaded 3 scripts on a forum but my Meta Editor can't compile them; I desperately need to use them. Each time I click on the compiler button, it says: "could not launch the compiler". I don't know what to do to solve this problem. I have two MT4's installed once from InstaForex and...
Greetings all, I need a code that will only allow my expert to go long if the last trade was short and only go short if the last trade was long. Thanks...........
This code gives me the occasional order modify error 1. It seems like the code checks that the stop isn;t the same so not sure why the error occurs;       if (TrailingStop >0)      {         int totaltrail = OrdersTotal();         for(int itrail=totaltrail-1;itrail>=0;itrail--)...
In the strategy tester mode,can i open placing orders(buylimit/buystop/selllimit/sellstop)? I test my EA include opening placing order,MT4 return error 130,but after I modify placing order to market order,order opened success. //ticket=OrderSend(Symbol(),OP_BUYLIMIT,lots,Ask,slippage_3...
How do you draw fibo retracement lines onto the chart permanently?
I want to find the overnight high and low between 2 times but am having some anomalies in the numbers. Is this code correct? For example, at 0600 we work out out the highs and lows of all candles from 1900 to 0559 It doesn't seem to be counting back to the 1900 candle at present. double StartHour =...
[Deleted]
hello can i get some help about the code to stop expert from open new trades if there is open trades  thank you
[Deleted]
See here for code in thinkswim.script http://www.thinkscripter.com/2009/03/16/kaufman-efficiency-ratio/ ANy chance of having this in MT4 ?
[Deleted]
I've written a very basic MACD indicator that returns 1 when the MACD crossed upwards through the MACD signal in the PRECEDING sample period (be it 1H, 4H etc), -1 when the MACD crossed downwards through the MACD signal and 0 otherwise. The indicator fires off correctly when I just plot a normal...
[Deleted]
I have and indicator that draw objects(numbers) when certain conditions met, but when online i have to switch between time frames to refresh it (so it can draw ) is there a way to updated it every tick
Hello all, I sincerely hope that the developpers will not forget to add more acclimatization into MT5. I cannot imagine a platform like MT4 which should be an advanced trading platform doesn't even have the option to close all open positions with one click. I hope this little thing will be included...
Heiken Ashi Smoothed indicator(attached) Would anybody help me with the code so that it displays a horizontal line -where there is a signal change? ...And can it be given the signal color? Thanks.
Hello to whom it may concern, Learning this lanugage is a challenge. A challenge of which I accept, but I sure could use some experienced person who could lend a hand to explain a few basic steps. Once I can get the idea, I would be willing to help others. But at this time I am so lost . It has...
Anything wrong with this? I keep getting an order modified error.      int totaltrail = OrdersTotal();      for(int itrail=totaltrail-1;itrail>=0;itrail--)      {         if( OrderSelect(itrail,SELECT_BY_POS) && OrderCloseTime()==0 )          {            if( OrderType()==OP_BUY ) {...
Is the result of MetaTrader backtest false due the overfiting?
Im working on my first EA. Ive got hostorical data dating back a couple years to backtest and one case i need help with is when the bottom completely drops out. as seen in the picture im ataching. Clipped from my EUR-USD M15 backtesting chart, the trade before the dropout is satisfactory however it...
[Deleted]
i wrote in my test stratege like below: int start() { Alert(TimeToStr(TimeCurrent())); return(0); } in 5min-10min, stratery test gave not any infomrtion,no lert,no message . The journal showed me the message "Testgenerator:no ticks generated" What's wrong?