Hello,
I’ve added a SMA to the profit curve of a system (whichever it is).
I’d like to test adding a condition for buying or selling.
A trade should only be triggered if the condition is met.
For the trade to be triggered, the profit curve must be greater than its moving average.
Is this possible? Any idea on how to translate this into code?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok