proxy cot trading

Viewing 5 posts - 1 through 5 (of 5 total)
  • #242885

    Hello fellow traders,

    I’m new here and would love to see this indicator added to the PRT graphs.

    Please have a look at this website in order to understand what it is all about: Buy the ‘MetaCOT 2 Movement Index MT4’ Technical Indicator for MetaTrader 4 in MetaTrader Market

    I’m sure it would be very helpful voor every trader.

    Thanks for any help and good trading!

    Ed

    #242917

    Hi! If you have the code, maybe we can help you translate it.

    #242927

    Thanks Iván,

    code:

    Express LW_Proxy_Index_COT

    Vars

    Numeric
    i;

    Series
    CoT,
    xrange,
    xOmC,
    span,
    OmC;

    Input
    $Period(1, 500, 50),
    $Multiplicator(1, 500, 50);

    Calculation
    SetYscaleFormat(“%9.2f”);
    If IsFirstBar() then
    begin
    for i = 0 to FinalBarIndex()
    begin
    span[-i] = h[-i] – l[-i];
    OmC[-i] = o[-i] – c[-i];
    end
    MovingAverage(OmC, xOmC, $Period);
    MovingAverage(span, xrange, $Period);
    end
    Cot = xOmC/(xRange*$Multiplicator)+$Multiplicator;

    Interpretation
    begin
    end

    plot(CoT, lightblue, 1);//@@@cs:279245-3426050-147030_cs@@@

     

    This would produce a proxy COT graph but I’d need one step more and that’s to make a momentum indicator out of the indicator above.

    Regards,

    Ed

     

    #242929
    JS

    First attempt:

     

    1 user thanked author for this post.
    #242932

    thanks JS

     

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

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