FTX:BTCPERP   Bitcoin Perpetual Futures
Hi, I am attempting to make a filter to be added to strategy that lets you know when the MFI it is in a downtrend or an uptrend, I think the code is 90% there but I am struggling on the last bit.
I would like to have a user defined lookback that you can set and it works the average between them. then you use the current MTF MFI rading to decide if it it is lower than the average to decipher the MTF MFI trend. lookback. for example -/6 > MTF . Thanks for any assistance I will republish the script when finalized

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.