Hi!!
Need help please!!
I'm new to programming...and i'm trying to make an EA...
It works fine if i put a cross condition to close an order...
...but...
i would like to tell the EA to close an open order at the close of the current bar....
how can i do it??
If I use Close[0] or iClose function...it seems backtesting that it closes my order at the "tick" close and not at the bar close....
I would like to tell the EA this kind of thing...for example:
"if my sell condition is met...close the order at the close of this current bar"
anyone can tell me how i can do it??
Thanks a lot!!
Need help please!!
I'm new to programming...and i'm trying to make an EA...
It works fine if i put a cross condition to close an order...
...but...
i would like to tell the EA to close an open order at the close of the current bar....
how can i do it??
If I use Close[0] or iClose function...it seems backtesting that it closes my order at the "tick" close and not at the bar close....
I would like to tell the EA this kind of thing...for example:
"if my sell condition is met...close the order at the close of this current bar"
anyone can tell me how i can do it??
Thanks a lot!!
Market is like a puzzle, YOU have to fit the pieces!!