I was trying to work with the ZigZag indicator (myZZ=ZigZag[10](close)) using it as a filter for backtesting a strategy however when i executed my code i received the following Message: “your trading system uses obsolete instructions which are not supported by the bactesting engine (ZigZag)”???
Is there a new instruction for this or it was just simply removed from Backtesting?
I recoded a similar zigzag indicator to be used in automatic trading, it is part of the paid course here: Formation programmation avancée avec ProRealTime (soon available in English, within 1 or 2 weeks). So I can’t post the code here, sorry.
Bear in mind that ZigZag is only a way to find peaks and troughs like many others, like the ones described in the topic Roberto has pointed you.
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