Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 14:04:34 +0000



[User Discussion] - geometric moving average

View Count: 350

[2023-01-24 19:55:47]
User411320 - Posts: 253
The following is a code from tradingview for a geometric average. Can this be put into sierrachart? or what it the best way to do it myself?

//@version=2
study("Geometric Moving Average",overlay=true)
price = input(title ="Source", defval=close)
per = input(title="Length",defval=10)
lmean = log(price)
smean = sum(lmean,per)
gma = exp(smean/per)
plot(gma,title="GMA",color=teal,linewidth=2)
Date Time Of Last Edit: 2023-01-31 20:51:23
[2023-01-31 20:50:48]
User411320 - Posts: 253
ANY HELP?
[2023-02-01 15:43:12]
John - SC Support - Posts: 31131
It looks like we do not have this specifically. If you want to create it you would need to create a Custom Study to do it. Refer to the information here:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-02-02 21:49:43]
User411320 - Posts: 253
so I tried building it but it didn't work.
[2023-02-06 17:25:00]
Ackin - Posts: 1865
Zyp Discord free study download
https://discord.gg/aM2QyF8R
imageSierraChart_64_iWU2o2pcDy.png / V - Attached On 2023-02-06 17:24:14 UTC - Size: 42.22 KB - 57 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account