I have around 3 months C# programming experience behind me starting with a programmer
Except for little details I'm ready to go for real money BUT........
Basically I trade a GBPAUD Renko 7 (Brick Size) and it's MACD crossover
Based in Brussels, Belgium I change "day" at 11PM and as shown in my first Snapshot my brick get's disrupted and, if I have an open position, Short or Long I "ALWAY"S get the following message in my output window:
CancelAllOrders ........with no other explanation (TraceOrders = true)
Here is my Initialise section
protected override void Initialize()
{
CalculateOnBarClose = true;
AddRenko("$GBPAUD",3,MarketDataType.Last);
EntryHandling = EntryHandling.UniqueEntries;
EntriesPerDirection = 1;
TimeInForce = Cbi.TimeInForce.Gtc;
TraceOrders = true;
}
The Strategy is attached to a GBPAUD "Renko 7 Bricks"
As You have noticed I added "AddRenko("$GBPAUD",3,MarketDataType.Last);"
I Trade MACD CrossOvers and that Renko 3 is there to switch my "MarketPosition to Flat" faster Than it would With the Renko 7 .That's all it does
So The Exact message I have (if I have a position Opened) at 11PM is
CancelAllOrders BarInProgress = 0
CancelAllOrders BarInProgress = 1
.
.......with no other explanation
And the strategy itself is not disabled , it keeps running and would send new orders
The second snapshot is the Strategy screen before I press the OK button to activate The strategy
As you can see "Time in force is Ctc"
I trade under the "managed approach rules"
Any way to fix that problem?
Would switching to "unmanaged approach" avoid Cancelling my Orders and fix this.
My Strategy is really a KISS "Keep It Simple Stupid" so that I'm not really scared going for the "unmanaged approach". I already had my first "taste of it".
Before I forget, my broker is GAINCAPITAL/Forex.com