Is there a Rules-Based Indicator or Condition that would trigger a Buy based upon my most recent Sell Price?
For example: Presume a simple Strategy of Buy @ Market when Price crosses above SMA=50; Sell @ Market when Price crosses below SMA=20 OR Trailing StopLoss=2%. Suppose Bought @ Price=100; Price rose to 115; Price dropped to 112.7, which triggered a Sell based upon Trailing StopLoss. If market turns back up, and if current price already is higher than my Buy criteria, I would like to Buy back @, say, Price=2% higher than my most recent Sell price (i.e. – 112.7 x 1.02 = 114.95). Can this be done using Rules?
Size:
Color:
Such rule does not exist.
Referring to previous closed Position's exit price in strategy codes is pretty trivial, though.
Size:
Color: