Twiggs Money Flow

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Twiggs Money Flow

Postby isamegrelo » Sun Feb 11, 2018 6:13 am

Code:


study("Twiggs Money Flow [LazyBear]", shorttitle="TMF_LB_ss")
length = input( 21, "Period")
WiMA(src, length) =>
MA_s=(src + nz(MA_s[1] * (length-1)))/length
MA_s

hline(0)
tr_h=max(close[1],high)
tr_l=min(close[1],low)
tr_c=tr_h-tr_l
adv=volume*((close-tr_l)-(tr_h-close))/ iff(tr_c==0,9999999,tr_c)
wv=volume+(volume[1]*0)
wmV= WiMA(wv,length)
wmA= WiMA(adv,length)
tmf= iff(wmV==0,0,wmA/wmV)
tmff= iff(tmf>0.2499,tmf,0)
tmfm= iff(tmf<-0.2499,tmf,0)
plot(tmf, color=aqua, style=area)
plot(tmff,color=green, style=area)
plot(tmfm,color=red, style=area)
isamegrelo
 
Posts: 83
Joined: Mon May 29, 2017 3:36 pm

Re: Twiggs Money Flow

Postby Apprentice » Sun Feb 11, 2018 11:35 am

While I do not provide a new version, try this one.
viewtopic.php?f=17&t=4782&p=113221&hilit=Twiggs+Money+Flow#p113221
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19198
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Twiggs Money Flow

Postby Apprentice » Mon Feb 12, 2018 12:13 pm

Try Modified Twiggs Money Flow.lua.
viewtopic.php?f=17&t=4782&p=11860#p11860
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19198
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 5 guests