MQL4 and MetaTrader 4 - page 255

I'm not sure whether it's ok to post this here. I couldn't find anything in the freelance area that covered this specifically. I'm looking for a casual tutor of MQL4 paid by the hour/session and scheduled as needed. I'm interested in reaching out during times when I have a coding task that I can't
Hi i'm making an ea to get values from a custom dashboard type indicator which scans around 10 pairs with multi time frame in a separate indicator window when i tried the strategy tester i get an error saying CExtAppDialog: find subwindow error also the buffer values is zero from 0-7 with the shifts
// HelloWorld for MT4GUI // Lets include the imports file mt4gui.mqh #include <mt4gui2.mqh> // global Variable int hwnd = 0 ; int buy_check = 0 ; int sell_check = 0 ; int lot_size_label = 0 ; int lot_size = 0 ; int SL_label = 0 ; int TP_label = 0 ; int SL = 0 ; int TP = 0 ; int execute_button = 0 ;
In this example an EA (in MT4) should open orders partially, but should close all orders together and time is critical in this case. If there are for example 20 open orders, when they will be closed, they will be closed successively and this process will take several seconds. Is there a way in MT4
  No smile face,  (15   1 2)
Hi all, The smile face was on at one time, but can not get it back. Tools/option/expert advisor is enabled. Expert Advisor on top of screen is checked . There is no smile, scowl, nothing at all. Reloaded the program. I'm embarrassed to ask. But what is wrong? Cheers
Hellow folk(s) i have this function double high_price() { int highSto_price; highSto_price = iHighest ( Symbol (), PERIOD_H1 , MODE_HIGH , x_hours, 0 ); return (High[highSto_price]); } that return the high stock price for a certain period of hours ...It works well but i get an error while
My code is supposed to display a clock on the chart. In this case, I am displaying seconds only. The problem is that I set the loop to run every 40 milliseconds with EventSetMillisecondTimer(40). Considering that 40 milliseconds happens 25 times at every second, the display update should never skip
Hi gys i purchased an indiactor but now its not working anymore on my mt4, what can i do, its not even attaching to my charts
For various reasons (of which the time it takes to run an optimization in the ST is the most important) i need to code my EA to trade on Open Prices when running on a live account so that I can do my optimizations under the "Open Prices" model in MT4. I already code all my indicators with a shift of
I'm a newbie to programming, so please forgive this as probably a very stupid question.... I'm trying to pass a variable (" SL_sell" - see below ) into an OnChartEvent - so that when a Sell Button is pressed, the Stop Loss is defined by the ATR value (which is being constantly updated in OnTick)
Hello All coders.Nice to meet you. I have some difficulty in create Divergence object in chart. My idea is to create divergence line by two conditions 1 -if Highest Bar in last 100 Bars < High Bar in last 5 bars ,Draw trendline in chart by two anchor points (last highest bar and last 5 high bar) 2
I have been using the attached indicator for quite some time and it used to work very well. After a recent Windows 10 update, it is not working/loading any more. - Does anybody have a version of this indicator that is working correctly under the current win10? By the way, I have only an ex4 (not
Anybody know if objects display from indicator resource? My indicator shows text objects and uses a single array. Also, how to link to an indicator from the indicators folder? I am having to copy the ex4 to experts folder
[Deleted]
Hello, plz help me,How I use Heiken ashi indicator for android mobile I m using android 2.3 gingerbred os mobile and for trading MT4 App....
Hi, I am new to MQL4 programming. I am trying to add code to my EA using fractal. The condition is if there is NOT Up Fractal in last 4 bars , it should open BUY trade..Here code compiles without Error but it is NOT opening trade.. here's the code: bool Upfractal() { int a; for (a= 1 ;a< 5 ;a++)
Hi every body i want to get return value from an indicator names Spider Indicator i use iCustome Function in MQL4 i have to mention that i use MT4 Here is my Code: //+------------------------------------------------------------------+ //|
Hello guys, I would like to suggest you a new EA idea that will be helpful and needed by many traders. Please go through the following scenario: In my trading strategy I use an EA that helps me in my trading. But, from time to time I have to change the EA's settings from time to time in order to
Hello. I need help with a specific indicator in MetaTrader4. I do not believe it the Bollinger Band is programmed correctly. In fact I was scrolling on other indicators and noticed that some of them are not programmed correctly. Anyone know how I can fix this issue
hi, does any coders can help to add some buffers to this indicator? i need these buffers : Bulls1 Bears1 UpPer1 DnPer1 hope some one can help. thanks
Hello, I've been struggling with this for a quite a while, and I get some error that just don't make sense to me, Hopefully some of you pros can help me out and find what I'm missing. I want to assign the ticket number to each open order after removal and then also get the open price of the oldest
I have a problem with my expert, I created a very simple scalping to try but it doesn't work. very simple RSI> MACD = BUY / MACD> RSI = SELL. very simple just for testing, but it just makes me BUY in all cases in the test. what should I do? I put the code below, if I made any mistakes, I am learning
  .csv file error  (2)
why am I unable to obtain the exact value of timing? string sg02[ 2 ]; sg02[ 0 ] = StringSubstr ( _Symbol , 0 , 3 ); sg02[ 1 ] = StringSubstr ( _Symbol , 3 , 3 ); datetime Mesure = StringToTime ( TimeToString ( TimeCurrent (), TIME_DATE ) + " " + "09:00:00" ); for ( int i =
Hello guys I wrote an expert. But when I test it, the indicator changes in the tester strategy. What is the problem? *Please help me* Picture 1: *** Picture 2: ***
Hi. I have created an order with MT4 on Personal computer with the same account logged in the smartphone. When I want close this order inside smartphone I see this error: parameters not valid. Why
Hi. I have a code of close all order and I want, after close all, EA will stop for a certain period of time. someone help me? void CloseAllOrder() { int total = OrdersTotal(); for(int i=total-1;i>=0;i--) { if(OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) { if(OrderSymbol() == Symbol()) { int
Hi guys, In MQL4, how can i use OrderClose() for partial close? I use this code: ticket = OrderClose(OrderTicket(), lots/ 2 , Bid, Ask - Bid, NULL ); but doesn't work. Can you do an example for me, please Thanks. Marco
//Indicator Buffer 11 Cross_Top_Line TP2 if (High[i] >Buffer2[i]&& High[i+ 1 ]<Buffer2[i+ 1 ]) { Buffer11[i] = Buffer1[i]; ObjectSetText( "TP2Result" , NormalizeDouble (Buffer1[i],MarketInfo( Symbol (),MODE_DIGITS)), 9 , "Arial"
[Deleted]
  Exporting pivot point to excel  (33   1 2 3 4)
Hello friend, My English is not very good but I will try. I need to export the pivot point to excel CSV. Someone can help me? Thaks Dhylon Brazil
//---- #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red #define SH_BUY 1 #define SH_SELL - 1 //---- Parâmetros de entrada extern bool SoundON= false ; extern int AllBars= 0 ;//Para quantos compassos contar. 0 -
hello dear traders i am so confused to find the right forex sessions starting time and ending time in 3 major sessions (tokyo,london and newyork) because some websites and indicators show different starting and ending times than other indicators and websites. for example right now we are in winter