Twiggs Money Flow_LB [SwetSwet]

The modified indicator Twiggs Money Flow more convenient. The critical value is colored in green or red.
Remove from Favorite Scripts Add to Favorite Scripts
// @author LazyBear
// @credits http://www.incrediblecharts.com/indicators/twiggs_money_flow.php
// If you use this code in its original/modified form, do drop me a note. 
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
adv=volume*((close-tr_l)-(tr_h-close))/ iff(tr_c==0,9999999,tr_c)
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)

The modified indicator is more convenient.The critical value is colored in green or red. prediction.
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out