help!Convert Tradingview indicator to MT5 Williams ProGo indicator

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #192884 quote
    jhjhsxs
    Participant
    New

    Hello there,I am new here and ask for help

    I find a indicator in tradingview (It’s Larry Williams’ ProGo indicator),and I want to convert to MT5 so I can use it.

    It’s very simple but I know nothing about coding. Here’s the code and I hope someone could help! Much appreciation!

     

    study(“William’s ProGo indicator”)
    pro = close – open
    amatuers = open – close[1]
    s_pro = sma(pro,14)
    s_amat = sma(amatuers,14)

    plot(s_pro,color=color.orange)
    plot(s_amat, color = color.blue)

    #192889 quote
    robertogozzi
    Moderator
    Master

    There you go (not tested):

    // William’s ProGo indicator

    pro = close – open

    amatuers = open – close[1]

    spro = average[14,0](pro)

    samat = average[14,0](amatuers)
    Return spro as “Pro”, samat as “Amatuers”

    you can set colours with the indicator’s settings.

    jhjhsxs thanked this post
    #192892 quote
    jhjhsxs
    Participant
    New

    many thanks bro! I try your code ,but showed some errors

    I upload the mq5 file,could you please run and modify it ? Thx!!

    #192896 quote
    robertogozzi
    Moderator
    Master

    It is converted to ProRealTime. Actually I misread your post.

    We don’t convert to other platforms. This is a forum devoted to PriRealTime only.

    To convert to other platforms you need to apply https://www.prorealcode.com/trading-programming-services/.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

help!Convert Tradingview indicator to MT5 Williams ProGo indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
jhjhsxs @jhjhsxs Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzi
3 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/08/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...