title: How to play with the time frame of SMA on pine scrip?
body: <p>I am trying to code a strategy that include {<code>SMA</code>} with different time frames than the chart I am using.</p>
  <p>The problem is that the Parenthesis there is only &quot;source&quot; and &quot;length&quot; and no time frame. Does any one know a way to fix it?</p>
  <p>The meta reason I am asking that is because my strategy react in the time frame of the chart and I want it to react fast but the {<code>SMA</code>} to stay slow. So if someone has something to say about it will be grate.</p>
  <p>Thank :)</p>