in Search

Renko

Last post 11-29-2008, 18:23 by henry1224. 2 replies.
Sort Posts: Previous Next
  •  11-25-2008, 6:49 28328

    Renko

    How do I use Renko in an indicator?  How can I "call" this function ?  I'd like to create an expert advisor based on it but I can not do it.
  •  11-25-2008, 15:50 28332 in reply to 28328

    Re: Renko

    Unfortunately, as this is a price style, there is no way to use it as a function. This is similar to 3 Line Break, Kagi and P&F. It would take a DLL to do this, similar to what was done with P&F, by Equis.

    Trader Joe
  •  11-29-2008, 18:23 28357 in reply to 28332

    Re: Renko

    a formula called renko binary wave

     

    K:=1.896;
    RenkoLine:=If(Cum(1)=1,CLOSE,
    If(PREV>=0,
    If(CLOSE<PREV-2*K,-(PREV-2*K),
    Floor(Max(C-PREV,0)/K)*K+PREV),
    If(CLOSE>Abs(PREV)+2*K,-PREV+2*K,
    Floor(Max(Abs(PREV)-C,0)/K)*K+PREV)));
    RL:=Abs(RenkoLine);
    RL;

    BW:=If(Cum(1)=1,0,
    If(RL>Ref(RL,-1),+1,If(RL<Ref(RL,-1),-1,PREV)));
    BW;0;

View as RSS news feed in XML