Code for Chaikin Money Flow form MT4 to PRT

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #147263 quote
    Malend
    Participant
    Average

    I have the Chaikin Money Flow indicator form MT4, and it works fine in PRT as well, but I cannot use it in programming, because I don’t have any code.
    Is there any ody who has the PRT code for the Chaikin Money Flow indicator?
    I have included the MT4 file for those who are able to transform the Mt4 file into PRT.
    Thanks

    chaikin-money-flow-indicator.mq4
    #147274 quote
    robertogozzi
    Moderator
    Master

    This is the code (not the conversion):

    // Chaikin Money Flow custom
    //
    p   = 21
    AD  = ((CLose- LOw) - (HIgh - CLose)) / (HIgh - LOw) * volume
    CMF = SUMmation[p](AD) / SUMMATION[p](volume)
    RETURN CMF AS "Chaikin Money Flow",0 AS "0"
    Malend thanked this post
    #147282 quote
    Malend
    Participant
    Average

    Grazie mille

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

Code for Chaikin Money Flow form MT4 to PRT


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Malend @malend Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Malend
5 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/13/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...