I am a newbe.
I have a strategy with a percent stop loss exit . After a stop loss exit I want to purchase the same number of shares (in the same company as the stop loss sold) at the next buy signal. In other words reinvest my profits (or loss) at each buy.
Can someone help me code this condition? Or must I make a manual adjustment to the alert?
Size:
Color:
Example:
Reentry after stop lossTo keep the same number of shares you can either use
SetShareSize in the Strategy code (and accompany it with "WealthScript Override" in the position sizing dialog) or a Fixed Share position size.
Size:
Color: