I am having a problem translating the "Median" function from Easylanguage. Here is the code:
Input: PRICE(Numeric),LENGTH(Numeric); Median = IFF(FracPortion(LENGTH/2) = 0,(NthHighest(LENGTH/2,PRICE,LENGTH)+NthHighest((LENGTH/2)+1,PRICE,LENGTH))/3,NthHighest(IntPortion((LENGTH/2)+1),PRICE,LENGTH))
How to translate, when math functions like FracPortion and IntPortion are unabled to be opened in the Power Editor? |