Could someone please tell me if it is possible to let my strategy check if the last position was long or short? I mean for exemple, before entering long let my strategy check if the last position was a short and only enter long if the condition is true??
Thanks in advance!
Comment