Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Please, what i need put in my EA to it open the orders only when the time hour equals 00:00 ? I need that it open the order only in this hour, can you put here to me the programation code ?
My EA are opening orders in the hour 0:00 to 01:00. Its exactly what i want, but, i need that it open only one order in this time. When it take the profit it opens a new order, i not want this. I want thath it opens only one order in the period of the 00:00 to 01:00. In other words, only one trade per day.
I'd like to create 2 GlobalVariable so that when my EA restarts it knows to use these two variables if they exist
The first is the value of a currency when an order (the first order) was placed, I call this variable center. It is the center value ie. Bid + Ask / 2 = center
The second is count ...Just a simple count that I increase by one with every new order.....until I close them all and the count is reset to zero.
//================================================== =====
Will this work to check for Global Variables "center" and "count"....and if found write the values to the variables center and count in my EA?
if (GlobalVariableCheck(center))
if (GlobalVariableCheck(count))
{
center = (GlobalVariableGet(center));
count = (GlobalVariableGet(count));
AskStart=1;
BidStart=1;
}