i am writing an EA
in the EA there can be 1 Position open at a time MAX.
i am trying to make it so that at the beginning of each bar the TP and SL will be re-adjusted.
but i have to define if the current open position is a long or a short to do this.
any thoughts?
in the EA there can be 1 Position open at a time MAX.
i am trying to make it so that at the beginning of each bar the TP and SL will be re-adjusted.
but i have to define if the current open position is a long or a short to do this.
any thoughts?