Attachments forums

List of attachments posted on this forum.


All files on forums: 136089

Re: Already Converted TradingView Indicators to MT4 Indicators

ionone, Sun Jun 12, 2022 6:04 pm

Recursive Stochastic

Code: Select all

study("Recursive Stochastic")
      length = input(200),alpha = input(0.1,minval=0,maxval=1)
      //
      src = input(close)
      s(x) =>
          s = stoch(x,x,x,length)
      st = s(src)
      k = s(alpha*st+(1-alpha)*nz(k[1]))


very simple code
enjoy
All files in topic