Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=65746
Forum: 17 · Topic 65746 · 1 post(s)
Apprentice · Sun Feb 18, 2018 6:29 am

Based on the request. viewtopic.php?f=27&t=65744 RP = ( stock_close / index_close ) * 100
Standard Relative Performance indicator.lua
MRP = (( RP(today) / sma(RP(today), n)) - 1 ) * 100