I want to programme strategy with few entries per direction.
Each set of condition is same but I want to place only one order in one bar. How to do not let strategy place all orders at the same time??
My Example:
//first entry
if (Close[1] < Close[0])
{
entryOrderLong1 = EnterLong(positionsize, "MyEntryLong2");
}
//second entry
if (Close[1] < Close[0])
{
entryOrderLong2 = EnterLong(positionsize, "MyEntryLong2");
}
I mean what are the possible solutions to do not let strategy place both orders at the same bar??
Maybe some samples are available??
Rgds
Czarek

Comment