And it was set in the OnStateChange() under the condition State == State.Configure, right!?
So all I need in the OnBarUpdate() is EnterLong or EnterShort then it will exit automatically for me once the Profit Target or Stop Loss is hit, right!?
I don't need to put any ExitLong or ExitShort in my program, right!?
But NO MATTER what and how I set up my PT and SL, my order was NEVER EXITED!
Why was that!?!?!? What did I do wrong!? PLEASE help me out!!! Thank you very VERY much! God bless you !!!
Comment