ZigZag source code or pseudocode

Forums ProRealTime English forum ProRealTime platform support ZigZag source code or pseudocode

Viewing 5 posts - 1 through 5 (of 5 total)
  • #6018

    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.

    Many thanks for your help,
    Rob

    #6054

    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.

    #6057

    Thank you for your reply Nicolas.

    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!

    Cheers,

    Rob.

    #6921

    Hi Alphix,

    Is it not just superior because it keeps redrawing itself to fit the historic data?

     

    #6924

    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.

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login