ZigZag source code or pseudocode

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6018 quote
    AlphixAlphix
    Participant
    New

    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 quote
    NicolasNicolas
    Keymaster
    Legend

    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 quote
    AlphixAlphix
    Participant
    New

    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 quote
    StefStef
    Participant
    Average

    Hi Alphix,

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

    #6924 quote
    NicolasNicolas
    Keymaster
    Legend

    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)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

ZigZag source code or pseudocode


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
Alphix @alphix Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by NicolasNicolas
10 years, 4 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 04/26/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...