MQL4 and MetaTrader 4 - page 496

hey all..... please don't spend undue time on this, but perhaps someone might know offhand..... a trade management ea manages all trades on all pairs.... sometimes the orders per pair might reach a hundred.... think of like grid trading..... the number of trades roughly correlates to the recent...
Hi,  I am new to MT4 & % and I have both installed on my computer. I was reading an article on the 10 best strategies and liked the look of Binary Wave. Trying to install it, I have the Binarywave.mq5 in the Expert directory under a new folder Binarywave/ I have also included the smoothalgorithms...
Hi, I have a small problem with the ArrayMinum () function, because it can not read the lowest value of the matrices. Instead, if I use ArrayMaximun it works all over again. //Global Scopeint m=0;double CLOSE2[8];//----------------//for(int L=2; L<10; L++){                    if(Open[L] >...
Hi friends, I'm working on an EA and I'm going to lighten my EA code lines, so I decided to use the #include preprocessor and put some of my functions into the .mqh files and use them by putting the #include directive in my EA's code. I actually have a problem with declaring global variables. I'm...
Hello! I want to achieve the effect of built-in Fractal indicator - shifting arrow plots above an below price action by a certain number of pixels. In MQL5 PLOT_ARROW_SHIFT does the job perfectly, but I couldn't find anything like that in MQL4. I'm aware a similar effect can be done with another
I was reading mql4 WebRequest() docs and it is turned off during backtesting.  So is there an alternative method(s) to download data from the internet, process it, and then incorporate that data into the backtest when IsTesting() is true? edit:  one of the uses will be to download historical news...
Hi, I try to use 'else {}' code when market closed just it could play. But two sounds mixed, where is a problem, please? // SELL if ( sparam == "SELL GROUP" ) { ObjectSetInteger ( 0 , "SELL GROUP" , OBJPROP_STATE , false ); _ticket = Order ( "SELL GROUP" );
In the following why is it when I input another symbol different to the chart the Indicator is placed on to it doesn't return that symbol? #property indicator_chart_window#property indicator_buffers 1extern color LabelColor  = LightSkyBlue;extern int Corner        = 1;extern color UpColor     =...
Hello, I have an EA that open #3 orders after candle close (if some conditions are true). The issue is that the orders are opened after 10 minutes from candle closing (see attached screenshot of Journal and chart). The orders should be opened at 4:30:00 instead of 4:40:00  Can you help me to...
#Article and Forum for Beginner & About Trading Strategy - Open H‌ello, ‌‌I already found few articles that I will read all of them before I start to write code for my first Trading Strategy EA's.‌‌ But I think if someone ( professional coder or programmer ) will share some links about Trading
Hi everybody, how do I avoid error 131? //+------------------------------------------------------------------+ // -- Money Management Parameters //+------------------------------------------------------------------+ extern string __s6 = "-----  Money Management Parameters  -----------"; extern bool...
Need to write a string variable that includes the current chart _Symbol. How to do this without the letters turning green/not being able to because of it or any other workaround? Dont want to use 40 eas when one will do
hello please i need to Heiken Ashi candles chart like same renko , offline chart , i need to HST file thank you
Hi, I started to study mql4 and I'm trying to draw some lines into the chart. Using some examples, I developed the following (it simply draws horizontal lines on open,close and mid of the previous weekly candle), but I notice that sometimes it doesn't work for some instrument and sometime it take...
Trying to decipher the last line of code in this segment: int counted_bars= IndicatorCounted (); if (counted_bars< 0 ) return (- 1 ); //check for possible errors, -1 returned in log if true. start() ends and waits until next tick if (counted_bars> 0 ) counted_bars--; int limit=
//+------------------------------------------------------------------+//|                              Triple Pantalla(Sergi Intradia).mq4 |//|                                                     Sergi Suades...
  EA on linux  (7)
Hello. I'm using ubuntu 14.04 and I want to start paid EA. I see that free EA are work ok, but if I want to add purchesed EA, nothing happen. I got version 2.9 of Wine. Could someone help me with this problem. I search on forum about info, but i can't find a solution of this problem.  Best regards,...
Hi, How do you retrieve the open price of the current open order? Thanks.
Hello, can is possibol create this condition? If, within three seconds, from the open [0] there are 25 points, open position
  Daily Cams EA  (22   1 2 3)
Camarilla Pivots are some of my favourite indicators. If you are not familiar, go to camarillaequation.com to understand the basics. I used the Daily Cam levels as an indicator, but I designed my own strategy (EA) with somewhat different logic to above reference. The EA turns-out to work well on...
void ReadFile_Array()  {   FileHandle=FileOpen(subfolder+"\\TestCSV.csv",FILE_READ|FILE_WRITE|FILE_CSV);   if(FileHandle!=INVALID_HANDLE)     {      while(!FileIsEnding(FileHandle))        {         str=FileReadString(FileHandle,FILE_READ|FILE_CSV);        }     }   for(Separator=",";str...
  Traders Forum  (355   1 2 3 4 5 ... 35 36)
What do you think of the 'code protection' thread? A discussion about market mechanisms started there, but as soon as I tried to figure it out, all the participants in the discussion disappeared. Let's track them down and bring them back to the thread so we can get to the truth together. What is
Who's after me?)
Anyone know how to configure  mq4 file, so I can choose and change anytime  maximum spread ? I only managed to create the  icon in the EA settings:  extern double   MaxSpread  = 5; but I can`t figure out the rest of the settings... Thank you
  Filter without delay  (163   1 2 3 4 5 ... 16 17)
Hello all! The black line is the EUR/USD quotes, sampled at 1 sec. Red and blue are two filters with different parameters, respectively. I am showing a few pictures of how the filter's response changes on trends. Where the red and blue lines break is the data boundary for the filter, i.e. I do not
Here my indicator code in below. I want to catch the Arrows to open orders. please help me. #property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Blue#property indicator_color2 Red//---- input parametersextern int       NumBars=500;extern int...
Please coders, help, Im not so experienced in MT4 coding. I wont to take and show in EA, RSI value at moment of opening ticket, OrderSend. My EA opens tickets in RSI range 30-70, but I need to know RSI value exactly in OrderSend moment and show that value in Chart for analysing and optimising.
Hello, Could someone tell me what are the steps to revert Metatrader 4 to earlier versions, if possible given some examples please? I have several indicators that do not work with the latest version. Thank you
I tried to make a library. dll file for my EA with Microsoft Visual studio 10. But compiler says 'old code' and doesn't works the. dll. I also tried to compile original. dll file from Examples folder of MQ4, but same result. Please tell me which version of Visual studio will works
  EXIT MAIN PG  (2)
Hello  I know if we find error in   OnCalculate()   by instruction  return(-1) we can stop indi execution and exit it   . But when in sub-program or function is there an instruction to stop the indi execution ? Tnx