If previous days high is higher then two days i want to place a long order today buyng when/if todays bar penetrates yeasterdays high (the problem is i only have EOD data but this should still be very possible to do). Then i want my exit to be the closing price 3days after my entry.
In code this would be something like this:
protected override void OnBarUpdate()
{
if(High[1]>High[2])
EnterLong(); //I cant use this one can i???
Now i just want my simple exit to exit 3days after the order is done at the Closing price from that day.
Comment