Topic: Long - short sequence

Hi guys, quick question: is there a way to crate a strategy that allows opening position in only one direction and changes direction after each trade?

For example:
first trade is to go long - then after closing it the only direction allowed for next trade is short and so on - long-short-long-short-long-short .... etc

Re: Long - short sequence

You can do it.

[Opening Point of the Position]
Bar Opening
     Enter the market at the beginning of the bar
     Base price  -  Open

[Opening Logic Condition]
Long or Short
     Open long positions only

[Closing Point of the Position]
Close and Reverse
     Close all positions and open a new one in the opposite direction