- // @author LazyBear
- // @credits http://en.wikipedia.org/wiki/Market_facilitation_index
- // If you use this code in its original/modified form, do drop me a note.
- study("Market Facilitation Index [LazyBear]", shorttitle="MFIndex_LB", overlay=true)
- plot_offs=input(0.005, title="Indicator offset % (below low)")
- green_f= (r_hl > 0) and (r_v > 0)
- fade_f=(r_hl < 0) and (r_v < 0)
- fake_f=(r_hl > 0) and (r_v < 0)
- squat_f=(r_hl < 0) and (r_v > 0)
- b_color = green_f ? green : fade_f ? blue : fake_f ? gray : squat_f ? red : na
- plot(low - (low*plot_offs), color=b_color, style=circles, linewidth=4)
Market Facilitation Index [custom TradingView indicator]
a guest Apr 21st, 2014 252 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data