Convert Indicator from AFL TO MT4

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

    Hello, could you please convert an AFL Code to an MT4 indicator for the platform of MT4. Please see the following code below as well as the attachments.

    _SECTION_BEGIN("BVSV Smart Money Indicator");
    SetBarsRequired(sbrAll,sbrAll);
    BV = IIf( (H==L), 0, V*(C-L)/(H-L) );
    SV = IIf( (H==L), 0, V*(H-C)/(H-L) );
    PlotOHLC(SV,SV,0,0,"SellVolume",colorRed,styleCandle|styleNoTitle|styleNoLabel );
    PlotOHLC(SV,BV+SV,SV,BV+SV,"BuyVolume",colorbrightgreen ,styleCandle|styleNoTitle|styleNoLabel );
    Va = MA(V,30);
    PlotOHLC( Va, Va, 0, 0, "", ColorBlend( colorWhite , GetChartBkColor(), 0.4 ), styleNoLabel | styleCloud | styleNoRescale, Null, Null, Null, -1 );
    Plot(Va,"Average Volume",colorRose,styleNoLine|styleNoLabel );
    VI = V/Va;
    Title = "SellVolume:"+WriteVal(SV,5.0)+" "+"BuyVolume:"+WriteVal(BV,5.0)+" "+"VolumeIndex:"+WriteVal(VI,1.2)+" "+
    "BuyVolume:"+WriteVal(100*BV/(BV+SV),2.0)+"%"+" "+"SellVolume:"+WriteVal(100*SV/(BV+SV),2.0)+"%";
    GfxSetOverlayMode(1);
    GfxSelectFont("Verdana",12,800,True ); 
    GfxSetBkMode(0); 
    GfxSetTextColor(ColorRGB(18,18,18)); 
    GfxTextOut("Created By: Rakesh Solanki",800,130 );
    GfxSelectFont("Verdana", 14, 800, True ); 
    GfxSetBkMode(1); 
    GfxTextOut("www.nascenttraders.com",800,100 );
    _SECTION_END();
    #109216 quote
    Bogdan35
    Participant
    New

    Hello,

     

    Attached is the image of how it should look.

    BVSV.docx
    #109218 quote
    Bogdan35
    Participant
    New

    Attached is the AFL file for this indicator

    BVSV-Smart-Money-Indicator.zip
    #109225 quote
    Vonasi
    Moderator
    Master

    Bogdan35 – These forums are dedicated to the ProRealTime platform. Conversion to MT4 is not supported unless you use the paid for programming services. Conversion to ProRealCode from other formats is however usually carried out for free.

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

Convert Indicator from AFL TO MT4


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Bogdan35 @bogdan35 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Vonasi
6 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/04/2019
Status: Active
Attachments: 2 files
Logo Logo
Loading...