Need help with this simple strategy...
Only 1 position open at a time.
Buy at the open.
Sell if profit target % is acheived.
IF not sold, then sell at open next day and buy new position at the same time.
Want to optimize on the % target.
Size:
Color:
Here is the code I have been trying to make work correctly, but I'm not even close.
CODE:
Please log in to see this code.
Size:
Color:
Why would you buy something immediately after selling it? Makes zero sense to me.
Size:
Color:
Hopefully, I am not that stupid, Well maybe I am...
But I would select the timing to reenter the buy based on another model. If I can get this one to work right then I can combine the 2 models.
Size:
Color: