How do I generate based on a signal?
For example, say a stock currently has an RSI of 50 and I wish to enter a buy order if it dips below 31.
I wish to enter this condition while its RSI is above 31.
and subsequently sell the stock at a higher RSI value.
will this order persist after being completed on both sides of the trade?
How would this be achieved?