Guys How can I re-write a piece of pinescript code in Metaeditor. I have nearly zero knowledge in coding but my aim is basically running a strategy that I run on Tradingview on mt5 as well. Cmfm = (( close - low ) - ( high - close )) / ( high - low ) , Cmfv = Cmfm * volume , cmf = sma ( Cmfv , 21 )