Zig Zag with Value

Forums ProRealTime English forum ProBuilder support Zig Zag with Value

Viewing 7 posts - 1 through 7 (of 7 total)
  • #47224

    Hi guys, Ive been having a look around the forum but cant seem to find anything which shows the value of the zig zag. I have this indicator on MT4 but much prefer Pro Realtime so hoping someone could point me in the right direction!

    I’ve attached a picture from the MT4 indicator.

    Many Thanks in advance for your help!

    #47272
    AVT
    1. go to Library
    2. use “view entire library as list”
    3. in your browser (usually under “Edit”) use “search” and enter “zig”
    4. this will go through everything with name or tag containing zig(zag)

    You will find for example this: https://www.prorealcode.com/prorealtime-indicators/fractals-zigzag/

    It is drawing the zigzag lines and putting a square at the end point.

    1. keep the site open in case you decide for it and for comparing the picture with the code.
    2. read the code
    3. the square is done by DRAWTEXT
    4. open the PRT documentation here: https://www.prorealcode.com/prorealtime-documentation/
    5. go to graphical
    6. go to DRAWTEXT (you end up here: https://www.prorealcode.com/documentation/drawtext/ )
    7. read it
    8. in Example 3 you find how to display values with DRAWTEXT, so it should be possible to use that indicator as your base.
    9. keep the site open in case you need to have a second look how it is done.

    Download the indicator and import it to your PRT, then use “modify code”

    1. give the indicator another name like Myfractals-zigzag
    2. from documentation we know, that the y-value is the price and we need to insert price values as #value# (instead of the squares)
    3. in the code it’s important, that those are exact values, i.e. nothing like + or * something to create a distance between candle and price for better view:

     

    1. the value for/instead of the red square should be TOPy and for/instead of the green square should be BOTy
    2. so we change the corresponding lines to:

     

    Save and test, if test ok, done, if not cry 😉

    Please note, due to leaving IG I don’t have PRT any longer for testing, but that’s the way I go if I need to create/modify indicators.

    2 users thanked author for this post.
    #47280
    AVT

    uppsss, seems we lost the closing tag for PRT code somewhere on our way.

     

    #47281

    ahaha @AVT, I just reformatted your first post already 😆

    2 users thanked author for this post.
    #47283
    AVT

    Hihihi, I was just going to write a note, that I have difficulties when deleting text after PRT code and catching the end-pre tag with that (missing “toggle control characters”).

    Thanks a lot for watching.

    1 user thanked author for this post.
    #47304

    AVT thank you so much! Ill give that a go now 🙂

    #59935

    I have been looking to exactly the same indicator. Did you get it to work?

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

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