by SpLiFT » Mon Mar 18, 2019 5:31 am
Hi Alex,
I'm afraid this is not the same as the .lua indicator shared by Apprentice.
What the MT4 version does is that it plots a High and Low channels on two different RSIs: one with RSI period set to High and another RSI with the same period set to Low.
What we need is to have only one RSI value with a period (for example 14) set to Close. Then, the High and Low channels (basically, a Donchian Channel set to period 1) should be drawn based on the Highest and Lowest values that the RSI 14 Close has reached during each single candle before closing (once it closes the usual RSI line is drawn).
Would you be able to code that? I hope I made it clear but let me know if it's not and I'll show you a comparison between the Marketscope and MT4 indicators.