I have the system entering long?short trades when the RSI crosses above or below the MA.
The problem is I only want the strategy to trade short when the cross happens above the 80 line and trade long when the crossover happens below the 20 line.
Please can someone help me with this code, everything i try comes up with compile errors...

Comment