protected override void OnBarUpdate()
{
...
if ( x[0] > x[1]) ExitLong();
if ( x[0] < x[1]) ExitShort();
}
But I’m trying to code the following methods i cant retrieve the correct logic to do that please read my questions and help me with some guidance for that.
1. I want execute orders not only in market I want when my strategies get condition filled enter the order in Ask or Bid according my guidelines For example
(Strategy condition filled THEN strategy sends order Buy to BID or Sell to Ask)
Also I want to know how put that Option available in code to True o False in my strategies code
.
I really appreciate that info
Best regards
Gavetso

Comment