MQL4 and MetaTrader 4 - page 203

The following test code is not work on MT4(build 610). I want use Characters of Windings with the OBJ_LABEL object on MT4(build 610). (1) compile ( build 509 ) & execute ( build 509 ) -> OK (2) compile ( build 509 ) & execute ( build 610 ) -> OK (3) compile ( build 610 ) & execute ( build 610 ) ->...
Hi, First time I try to call an indi into my EA... and I got lost o_O ! Here the indicator: RSI divergence. //+------------------------------------------------------------------+//| Custom indicator initialization function...
Hi all I would like my ea to check if daily chart (Engulfing&Harami), if it's buy/sell then i would like to do the same on the M5 Chart. Below is my code, please help if you know the problem. //+------------------------------------------------------------------+ //| Expert tick function
I have created an EA which works perfectly as it should on 4 of the 6 pairs that i trade. The two pairs that dont work are EURGBP and EURUSD: They are fine in strategy tester , but when i put the EA on a chart in live the on Bar function does not do anything. Is there a simple reason why? please
[Deleted]
Hi guys, I need help to search for the source code regarding this indicator or its updated version. I believe this is a free indicator made by someone or a group, as it is not tied to the user platform. I have traced it to another forum, but Sergey told me he has no idea of who created it. There is...
  mq4 source code  (2)
Where can I find the mq4 source code for the MT4 > Navigator > Indicators > Trend > Moving Average that includes the Apply to: "Previous Indicator's Data" and "First Indicator's Data"? Thanks
Hi team, I'm experimenting with the coding of the Donchian Channel (Defaulf setup) + Super Trend indicator (Default setup) in one indicator, but I can't find how to have them together, is even the beginning right? #property indicator_chart_window #property indicator_buffers 4 #property
Hello, I started with Forex trading this week from my iPhone app using my live account after switching from the demo account (broker: Oanda). I’ve been using MT4 all week without a problem and suddenly today (Friday) around 5-6pm, I go back in cannot see anything (balance, trades from the week and
Sometimes I got "On Update" for charts. Do you have mq4 script to update currency's all time frames? So that I can get the data and display properly on chart, thanks
Hello everyone, I am having This problem, the code seems to be written all right but if I insert the filter time from 8:00 to 20:00 I get the error 'inTimeInterval' - function not defined Where am I doing wrong? #property copyright ""#property link      ""#property version   "1.00"#property...
How to get Bid upto 6 Digits? Please help me with this. I know I can get it by DoubleToStr(Bid, 6 ); but this is in string format which cannot be used within any other formula. I want to use it in different formula. Any help will be really apreciated. Actually, I am working on get MACD values using
Hi I get OrderSent error 130 if I put a StoppLoss or Take Profit during OrderSend when I seems to have a to large value (SL > 1% ) .. ( that is an invalid stop loss ). I am use to get this if I have to tight stop loss, but is there a limitation on how fare away stop loss can be? The limit seems to
Hello I am trying to Create a bitmap label but its not working , i checked the object list on chart (CTRL+b) i can see that it created a label but the image isnt visible on chart. Here is the code : string name = "label 1" ; ObjectCreate ( 0 ,name, OBJ_BITMAP_LABEL , 0 , 0 , 0 );
I was trying to code my own EA and created some custom function, the issue that I am facing is as if the custom function that I have is not being read in the EA if the variable that I have assigned this function to is initialized with -1 although when I change that variable to zero, it works fine
My EA is operating very slow on MT4 Tester, it contains loops and nested loops, I do not know if that would slow it down that much, Can I save the data of the loops in functions in array and would that make a difference in speed of the tester? thanks
This is the code I have so far but for the sharpe ratio. int OnInit () {   if (IsTesting () || IsOptimization ()) GlobalVariableSet ("InitialBalance", AccountBalance ());   return (0);}void OnDeinit (const int reason) {   if (IsTesting () || IsOptimization ()) GlobalVariableDel...
[Deleted]
Hello to all professors I created a box and with this object I have the amount of perfite inside the box Now I want the color to change to green when we were in profit and the color to red when we were at a loss I asked the professors for guidance. Label( "GOLD:T6" , 240 , 200 , CORNER_RIGHT_UPPER
[Deleted]
How can i increase the border Width of a button
Hello, I want to print the list of symbols having open orders buy,sell and pending orders. I have a MT5 version of code but could not make it working in MT4. Would very much appreciate if you can help me to convert this code into MT4 version. Thanks. string SyMass[]; bool Find( string aSymbol) { int
  VPS  (1)
I RENT A VPS FOR MT5 ICMARKET . NOW I WANT TO STOP THERE ......IS IT POSSIBLE SAME VPS I USE FOR MT5 FBS BROKER ,,,,,CAN SOME ONE GUID ME PLEASE HOW CAN I DO THAT .THANKS
Hi all! How do i Simultaneously delete or add indicators for all charts? I have 20 over pairs and whenever i decide to add or remove an indicator say, a 50 MA, i would have to add them on all the 20 over charts one by one. How do do them simultaneously? thank you
  Nested if statements  (11   1 2)
Hopefully someone can help, my knowledge on mt4 code is limited, I am trying to wright nested if statements, what I am trying to do is: if NAME(variable)=string1(typed into code) then insert number(double typed into code) into RESULT(variable), else if NAME=string2 insert a different number into
Hello everyone, I recently came with an idea of doing trading based on currency strength or currency index. The thing is that I'm having a little bit of confusion when deciding which one to use, so I came here seeking for your enlightment and wisdom :). My idea is that (atm)...an idea and I'm also
Good day, hope all is well. I love MT4, but let’s be honest, it believe it’s just time for an modern update… I’m certain whoever runs the MT4 app for IPhone & IPads can do it, I’ve been looking all over the place for contact information on getting in contact with them, I honestly don’t believe that
Could someone put the option "minutes" in the parameters in this indicator? For example: so that we can put the time span between 10:30 and 15:30. I would be very grateful
  Data collection  (1)
is there a way to collect data (as seen below) just like on the signals page without it actually being categorized as a signa? i have a quantitive trading EA and id like to collect data on it but because its considered a signal I receive an error stating that "the signals are too frequent and makes
Seeking help to setup and maintain MT4 trading platform on an ongoing basis. Am 82 yrs. Familiar with trading but technology ignorant. <Deleted> Am located in Costa Rica
I have read several posts in other threads about Moderators being selective in certain things. And I constantly see regular Contributors bashing those who are new, albeit some of it deserved in my opinion. I have also seen some regular Contributors just disappear because of all this, I assume. What...
It seems that MetaTrader 4 build 1335 does not allow to install any new indicator. Neither by copying and pasting from the File -> Data-Sheet command not by directly copying them into MetaTrader\ 4.app/Contents/SharedSupport/metatrader4/support/metatrader4/drive_c/Program Files/MetaTrader
I have had no luck with MUTEX so I thought this might work. I wrote a ''Master" ea that cycles through my 10 preferred symbols three times each before moving on to the 18 lesser symbols. The code writes to a global variable every half a second, each time representing the next symbol in the