Jump to content
Medved Trader Forums

Recommended Posts

Posted (edited)

Hello for anyone who could help. In an advanced paintbar, I want to find the SMA of a variable. the formula I'd use in think or swim/trading view/python is something like:

Var1 = Close - (an SMA of Close)

Var2 = (an SMA of Var1)

There's probably a simple way to do this, or maybe it's just out of reach for C#, anyone know how to do it?

Edit:

https://www.medvedtrader.com/trader/WebHelp/index.html?state_keeping.htm

Found it

 

Edited by zayjayspx
found the answer
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...