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?
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue