Rules-Based BuyBack Condition
Author: lspinv
Creation Date: 5/30/2011 10:44 AM
profile picture

lspinv

#1
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?
profile picture

Eugene

#2
Such rule does not exist.

Referring to previous closed Position's exit price in strategy codes is pretty trivial, though.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).