MQL4 and MetaTrader 4 - page 48

Hello programmers, P //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|| string Expired_com= "Demo Version HAS EXPIRED " ; bool ExpiredTime_ON= true ; int eyear= 2050 ; int emonth= 12 ; int expired_date= 31 ; //Expired Time if (ExpiredTime_ON) { if ((Year()>eyear)
Hi everyone :) Please help regarding solving / troubleshooting this error : "2020.12.26 08:46:04.507 Virtual Hosting: 6203020 obsolete version of "Communicator.ex4" cannot be transferred to the hosting server, please recompile it first" I rented VPS for my account on MT4 and unfortunately it will
Basically, when I attach the EA to GBPUSD 1M chart, I want the EA to open a BUY trade at 0.01 lot size at 18:00:00 hours and close it at 18:59:00. It then waits and open a BUY trade at 20:00:00 hours and closes it at 20:59:59 hours. There are no Compilation errors, and hence I am not sure why the EA
  Panel view  (2)
Hello! I have a EA which it loads a dashboard onto the charts which I use for trading. When I load this EA on personal computer it is displaying as expected. When I loaded on VPS , some buttons are missing, and it looks like resolution is wrong. P,ease find attached screen shots
Iam using MT4 and have a particular template I would like to view selected stocks on. Is there an easy way to scroll through the stock list one at a time. I tried to use the up down arrow keys on the keyboard. The highlight does shift through the list of the symbols on the marketwatch tab but the
Trying to sort out this issue, I see the recommended code below: (however i do not know where to add it, already tried but no result yet) bool CheckMoneyForTrade( string symb, double lots, int type) { double free_margin=AccountFreeMarginCheck(symb,type, lots); //-- if there is not enough money
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