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.
'Don't trade for 30 minutes since my last trade'
So if my indicators indicate that I should add to my current trade again then I place trade in the same direction only if 30minutes have past
I am doing the following - this code does work yet - it is just in design phase - I don't know how to add 30 minutes to my last order
This is for an EA only working on the current pair
int start()
{
int cnt, ticket, total, stop1;
static datetime lasttime
Hi,
I'm new with MetaTrader and have a basic question:
I want to limit the open positions in my expert-advisor to only 1 position at a time - but I want that limitation per symbol, so if I'll run another expert-advisor on another symbol, It will open a new position on that symbol.
In another words, I want to be able to open 1 positions for all the symbols, but not more than 1 position for a symbol (And I'm talking about many expert-advisor on many symbols...)
How can I do It ?
I saw the "totaltrades" function, but from the documentation I understood that this function applys to the account and not for the current symbol,
so "if totaltrades=1 then exit;" will cause to 1 position at a time for all the symbols...