Converting TradeStation indicator to MT4

[Deleted]  
I'm converting some Tradestation code to MT4. If anyone would be willing to do that who knows both platforms I'd be willing to pay so send me a private message.

In the absence of that one of the lines I'm converting is

RSI (SLOWD(5), LENGTH)

Doesn't anyone know how to do this in MT4?


 
mt4coder:
In the absence of that one of the lines I'm converting is
RSI (SLOWD(5), LENGTH)
Doesn't anyone know how to do this in MT4?

The MQL4 equivalent is going to be a lot more cumbersome because you can't pass an expression as a function parameter. The MQL4 version is going to be something like putting the last <length> values of the 5-bar stochastic %K value into an array, and then using iRSIOnArray() to do the RSI calculation.