MQL4 and MetaTrader 4 - page 49

Please could someone be so kind as to attach notifications to these two existing MT4 indicators for. For the IINWMARROWS indicator could a notification option be added for when a new arrow is printed and for the Solar Wind indicator could the notification option be added for one it changes from red...
  Programming  (2)
hi! I am trying to program an indicator which i can plot in my chart and it tells me if the market is either open or close. It consists in a rectangle, either green labelled open or red labelled close. I made the next coding but somehow I'm finding the 2 same errors constantly which are: "unexpected
Hello, I'm trying to use function pointer in my object, but i got "Pointer to this function type is not supported yet" error at compile. class OrdersManager { typedef void (*OrderCallback) ( int ); public : OrdersManager() { } public : void displayOrderTicket(
Hi, there, I hope you are all well. I'm writing an EA in mql4. The goal is to use iCustom() to get the values of a custom indicator . Here is what I wrote: double b= iCustom ( Symbol (), 0 , "SMC Indicator" , 2000 , "Smart Money Concepts" , 1 , 0 , false , "Real Time Internal Structure" , false , 0
Please I came across this indicator "NonLag_v7 created by" TrendLaboratory" here, and I am trying to turn it to an Expert Advisor but I have been having diverse challenges and error messages. the dominants' error is "out of array". If I try to maneuver to get pass the error, the Expert Advisor will
hi everyone, I've been trying to solve this problem for days now. but it keep give me the same error "'unexpected end of program" and "'unbalanced parentheses" hope that you will spot the error and solve it thank you in advance below the code void OnTick () { // Calculate the
Does anyone know the name of the MT4 version of this indicator? (in MT5 it name LT Day Hi Lo) the indicator explains the highest and lowest points of the previous period and today.. If anyone knows, please tell me the name of the indicator
int OnInit () { double str_up = iCustom ( NULL , 0 ,indi_3,TimeFrame,atrPeriod,atrMultiplier, 0 , 1 ); double str_down = iCustom ( NULL , 0 ,indi_3,TimeFrame,atrPeriod,atrMultiplier, 1 , 1 ); double volumedown = iCustom ( NULL , 0 ,indi_4,MA_Period,MA_Shift,MA_Method, 0 , 1 ); double volumeup =
I just purchased an mt4 indicator and clicked to install on my mt4 terminal but it still does not turn up in the market tab after multiple attempts. I am signed in to my mql5 but still not available in my mt4. It is showing on my purchases section though on my mql5 website tab. I have restarted and
Hello I'm looking for correct lot calculation in mql4 that solves my test as below with simple and clear explanation. We have BUY Stoploss 400*Point and Takeprofit 400*Point We Have SELL Stoploss 800*Point and Takeprofit 800*Point Risk amount will be set to 1000$ and account balance 100000$ Result
We have created a EA that seems to get the stop loss honored on Demo accounts but not on Live accounts. Please help with suggestions. This EA uses fixed stops at a set price to exit ALL trades
Hi Everyone What is the simplest way to set variables in order to avoid the repetitiveness, please? (total means OrdersTotal) if (total== 1 && Bid-PriceS>HT){ ticket= OrderSend ( Symbol (),OP_SELL,Lots* 2 ,Bid, 5 , 0 ,TPS, "Original" , 0 , 0 ,Red); } if (total== 2 && Bid-PriceS>HT* 2 ){
Hello I need use of replay mode on MT4 actually I have costumized ATR indicator that shows only live result and I need replay bars and use it in the past Soft4FX is very useful but using it continuously is very time consuming for me and strategy tester in MT4 is not useful for me I need somthing
Forgive my ignorance here, but where would I need to post a development request for an update to the Metatrader Software to include an option to add a selected template to all open charts? Hope someone can help.
Greetings, I'm using MT4 with around 20 values within my EA. The optimization process typically takes over 5 days, and I'm seeking ways to expedite it. Would upgrading to a new computer with more RAM be a viable solution for this setup? I'm looking to accelerate the testing process. Any advice or
  Chart Handle?  (8)
Hello everyone. I am trying to limit my EA such that it is the only active EA in MT4 terminal. I have successfully gotten all chart handles but I can't find a way to read the ExpertName for that chart only. I found a post from 2011 but the codes are unfortunately outdated and do not work. Can you
I want to ask, what should I do to prevent EA from lagging when changing pairs using an indicator? because it's really annoying + because if I use EA on 26 chart pairs it's complicated🥲 anyone please help me 🙏 🙏 🙏
I uploaded my EA version 1 to the market and whenever i try to upload version 2 it shows me the error "File version must be higher then last product's version". i contacted the service desk but i didn't recieve any help
Hey guys hope everyone is having a good week. I need help with a great custom momentum oscilator. It has for signals weak buy, strong Buy, weak sell and strong sell signals . Can someone please help me add arrows buffers to the chart whenever the oscilator gives signal. I would really appreciate
I am having a difficulty in solving " array out of range " error, which occurs constantly when I perform strategy tester with my EA under development. I tried to figure out the cause and fix it by referring to MQL4 reference and other sources available in cyber network, but so far no progress for
I use this code to disallow more than 2 EA on one mt4 terminal but its operations is not consistent,pls any assistance. Thanks string GLOBAL_NAME = "myeaname" ; int init() { //... GlobalVariableSet (GLOBAL_NAME, WindowHandle( Symbol (), Period ())); return ( 0 ); } int nameea = 0 ; int
  MQL4 MT4 version  (2)
I took an EA. They asked me to load their files in MQ4 folder in MT4.However, i could n't see MQL 4 folder from the MT4 setup i downloaded from MT4 website.I tried renamed to MQL4 from MQL5.it didn't work can someone help me as i have taken a supscription already and unable to use it
hi. initial deposit in strategy testers 1000$. lot siz in my EA is: double LotSize = ( double ) DoubleToString (AccountBalance() / 1000 , 2 ); The problem is that with previous profits or losses that change the account balance, new trades are opened with a volume of 1 lot. hi. i want to buy 1/1000
I have 4 mql4 files that are under the file name "expert advisor", two of them are MACD & Moving average sample codes, the other two are project files that I've been working on, for simplicity lets call one file A and one file B. Whilst working on file A, I just made small changes to the code and
Hi I know how to activate DDE for quotes from MT4 to Excel by using the syntax: 'MT4'|BID!EURUSD for example. Is there a way to use it in a more generalized way? If I want to set up a table with different FX pairs e.g. EURUSD EURJPY USDZAR AUDSEK 1.3728 124.30 7.6778 6.4584 … and don’t want to
What are the basic differences between RefreshRates() and ChartRedraw() functions. Does ChartRedraw(ID) update the chart timeframe of non current chartd?, as much as it updates chart objects
I am new to MT4 Expert Advisor coding, and I am having difficulty finding a comprehensive guide on how profiling works on MT4 EA. Although there are variables such as count, time, and percentage, fully grasping these concepts proves challenging. I am in search of a detailed guide or FAQ that delves
Hi, I am developing an indicator that I have adjusted to run as an EA. The reason for this is that I find that an EA works much more reliably in the debugger than an indicator. The screenshot below is the result when running in the indicator - I am imposing a histogram over the bodies of the candles
When I run the strategy tester it runs the MT4 default green bar candle chart layout. There have been times where the tester has ran with my default chart layout. Is there something I set to make it always use my chart layout, so I don't have change the MT4 default green bar candle chart settings