I was just wondering if I could obtain a code listing of the ZigZag function that is built into ProRealTime from somewhere? Even the pseudocode would be welcome. I would like to use it as a basis for my own modifications to the algorithm.
Hello Alphix. Unfortunaly it’s not possible. ZigZag indicator means past datas lookback and PRT don’t make loop in the past at each bar. I know zigzag indicator is hard coded in the platform. I know too, that it has been modified recently, I’ll ask if its possible to have more explanation about it, because it would interest a lot of people around here.
I realise that the algorithm that ProRealTime is using is likely to be very fine tuned to historic price movements. While doing my own back testing I’ve found it to be superior to other functions I’ve used. I can see you have a strong connection to the company. Thank you for your efforts to extract information from ProRealTime!
You are right Alphix, ZigZag keep continuously to redraw itself because its job is to show recent higher high and lower low, but the recent low given on the last period could not be the lower low in the current bar, that’s why it keeps on moving previously given informations.
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