Chinedu Peter
Chinedu Peter
  • Information
no
experience
4
products
4
demo versions
0
jobs
0
signals
0
subscribers
Chinedu Peter
Added topic HELP NEEDED: EA user files don't seem to be migrating to VPS
Good day all and complement of the Season. My EA user-created files don't seem to be migrating to VPS. This is the file I created using the FileWrite() command. Please any reason and a possible way out. Can someone give me an example of how to use
Chinedu Peter
Added topic (Error) Not enough space for notification!
(Error) Not enough space for notification! Please what does it mean and how can I solve it permanently? Sometimes it occurred even when I have few charts open and just one or two orders to notify about
Chinedu Peter
Added topic Help needed: Using Files instead of Global Variables
Since VPS does not accept global variables, do they accept files or not? I need a variable that will be retained even when I shut down MT4/5 and not just a variable that will be remembered within function calls. And I think file processing can handle
Chinedu Peter
Added topic Eliminating global variables for VPS-friendly EAs
It is like starting afresh. Now, my EA is attached to more than one charts. So they won't all access the same static variable (with global scope). But they will all access the same global variable. How can I make my static variable accessible 
Chinedu Peter
Added topic Why Only MQL5 community?
It seems MQL5 community is the only VPS hosting company there is. Moreover, they are linked to all the brokers' MT4 and MT5 trading platforms I have tried. Or are they linked to Metaquote who produce the platforms? This may not be the place to ask
Chinedu Peter
Added topic VPS: Error sending message to server
I am trying to renew my VPS subscription as follows: 1. Open MT4. 2. Right click on my real account on navigation panel. 3. Click on register virtual server . 4. Choose amount (One yr subsc.) 5. Select card payment (Visa) 6. Enter card details 7
Chinedu Peter
Added topic What is a current chart?
Which one of these is a current hart 1. The chart upon which the EA is attached. 2. The chart that is last clicked on the window. A little confused here. Any help
Chinedu Peter
Added topic IsNewCandle not branching to true
Hi guys and complements. The following is a code is designed to show true if a new candle is seen for the given time frame (Not necessarily the current timeframe ) . However it does not branch to the 'true' section, only to all the 'false' sections
Chinedu Peter
Added topic Error 138
My EA tried to OrderSend(...) a direct order (OP_BUY) and encountered Error 138: Reference cannot be initialized. Please what is the meaning of the error and how can I get rid of it? Thanks
Chinedu Peter
Added topic Possible loss of data due to type conversion
Hi guys, I don't seem to be comfortable with the warning " Possible loss of data due to type conversion". See the code below: int PriceLeftShift = GlobalVariableGet ( StringConcatenate ( "LineVert " , Symbol (), " " , ChartPeriod ())); I understand
Chinedu Peter
Added topic Why am I getting the warning "implicit conversion from 'string' to 'number"?
//Trying to get the shift value of a vertical line whose name is stored in the variable VertName.    long PriceDateLong = ObjectGetInteger ( 0 ,VertName, OBJPROP_TIME , 0 );    long PriceDateString = IntegerToString
Chinedu Peter
Added topic How to get the date or shift coordinate of OBJ_VLINE
Hi guys, I have a VLINE ( vertical line ) that I want to obtain the date or shift value. I tried the following functions but to no avail. Please I need your support. Thanks datetime VLineDate = ObjectGet( "My VLine" ,OBJPROP_TIME1); datetime
Chinedu Peter
Added topic How can I tell my EA that a new candle has arrived?
How can I program my EA to do something when a new candle has appeared? What is the command for a new candle appearing? Anything like: OnNewBar() I need to do something when a new candle arrives, e.g. to reinitialize the content of a variable
Chinedu Peter
Added topic What is the chart id of the current chart?
How can I call the chart id of the current chart
Chinedu Peter
Added topic How to check the current timeframe
What is a good example code of how to use ENUM_TIMEFRAME, PERIOD_CURRENT, Period() and _Period? Can I check the timeframe of the current chat by writing the following? if (Period() == ENUM_TIMEFRAME)    Bla bla bla or if (ENUM_TIMEFRAME ==
Chinedu Peter
Added topic Little help needed. Copy VLine has different date from paste VLine
This program actually copies and pasts vertical lines as intended but original date is different from paste date by up to 10 seconds. Why is that? Thanks in advance. int OnInit ()   {    ChartSetInteger ( 0
Chinedu Peter
Added topic My VLine Code is ready but it is not working yet
Hello! Below is my lines of code to auto create VLine on other visible charts when I manually create it on the current chart. I don't know where I have made a mistake. Please I need your help. Thanks in advance. int OnInit ()   {
Chinedu Peter
Added topic How to obtain the properties of an object
How can I get the properties of an object, say the date value of a vertical line which I have placed manually
Chinedu Peter
Added topic How to move the Vertical line simultaneously across all open chart
How can I create and move a vertical line on all open charts simultaneously and corresponding to the same time? In other words, How can I program the vertical line to be created and moved across all visible charts by creating and moving it only on
Chinedu Peter
Added topic Large or small Slippage, which is better?
I was wondering the use of slippage and what value to specify? MT4 documentation uses 3 for slippage. Can slippage minimize the annoying requote when trying to place an order? What value of slippage can minimize 'requote'? Can I use slippage as large