I was wondering if there is a function or instruction that can make an indicator expire? For example if you build a moving average with the expiring function and import it then the indicator will expire after however long the expiry date was set to?
The usual way is indeed to embed your whole code into a date/time condition.
If you plan to sell an indicator, be aware that the PRC marketplace is coming and with a complete licensing solution that includes expiration after X days after purchase, all automatically. Still working on it, you will all be alerted when it comes available.
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