Topic: Different strategies for long and short positions
I am trying to build a basic strategy and then expand upon it but I can't get the basic structure set up correctly.
Below is a copy of the description that I pasted here.
Opening (Entry Signal)
Open a new long position 2 points above the previous high when the following logic condition is satisfied:
the position opening price is higher than the Moving Average* (Simple, High, 26, 0).
Open a new short position 2 points below the previous low when the following logic condition is satisfied:
the position opening price is lower than the Moving Average* (Simple, Low, 26, 0).
Closing (Exit Signal)
Close an existing long position at Moving Average* (Simple, Low, 26, 0).
Close an existing short position at Moving Average* (Simple, High, 26, 0).
It's pretty simple, however if you will notice the high and low in bold I have had to change manually in this post. Is it possible to have a slightly different strategy for long and short positions?
Thank you for your time. Any help is appreciated.