Chinedu Peter
Chinedu Peter
  • Information
1 year
experience
4
products
8
demo versions
0
jobs
0
signals
0
subscribers
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
Chinedu Peter
Added topic Can I host my EA on a virtual machine
All I have noticed so far is that virtual hosting is all about getting signal, auto trading, hosting indicators and copying trades. But I want to host my own EA on a remove server so that I can trade using my EA on a hand held device. My EA has
Chinedu Peter
Added topic Help on how to insert/delete a record in a file
I need to know how to insert a record to file, or to delete a record for that matter. More like database management. I used to think that FileSeek(Handle, 0, SEEK_CUR ) would point to a position where a record would be written. But it does not point
Chinedu Peter
Added topic HELP COPYING FILE TO ANOTHER FILE
Hi, I want to copy from "AdjustFile.txt" to "TransferAdjustFile.txt" one record at a time The content of the "AdjustFile.txt" is as follows: But I am getting the following content for "TransferAdjustFile.txt" I used the following codes
Chinedu Peter
Added topic Which ChartEvent does this...?
What is the ChartEvent that recognizes that an order has been placed or modified manually?  Thanks in advance. 
Chinedu Peter
Added topic How EA understands a modified order?
Hi everyone.  How can I make my EA to understand that an order has neen modified manually?   Thanks in advance. 
Chinedu Peter
Added topic How to SHADOW orders
Please how can one shadow orders. It was recommended to me as part of the solutions to a question I had asked. 
Chinedu Peter
Added topic How ea can identify diffefent modes of modifying orders
Hi everyone.  I want my EA to be able to differentiate among the following ways of modifying orders from the orders themselves: 1. When an order is modified manually (user shifts the price level on chart using the mouse or opens the "order
Chinedu Peter
Added topic inverse of iChartShift() function
Please what is the inverse of the following function: iBarShift ( NULL , PERIOD_D1 ,DateTime); I wish to get the date of a candle. Thanks in advance
Chinedu Peter
Added topic How do I calculate risk?
If I use a leverage of 500, in how many cross hair pips will a lot of 0.04 stop out, assuming a POINT of 0.00001 on a balance of 200 USD
Chinedu Peter
Added topic Looking for a function to return integer value of a symbol. Any help?
I am aware of the function SymbolName (i, true ); used to return a symbol name given an integer. I am looking for a function to return the integer value of an instrument given a symbol name. Something that looks like: IntegerValue (SymbolName, true)