Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 20:48:57 +0000



a simple Indicator development

View Count: 1645

[2018-02-16 07:52:34]
Sierra2017 - Posts: 8
Hello Sierra Chart,
I was wondering if you provide programming service on a simple indicator programming? I need a free Tradingview indicator being converted for Sierra chart.
Thanks
[2018-02-16 08:46:41]
Sierra Chart Engineering - Posts: 104368
Yes we might be able to do that. Could you provide us the indicator formula so we can have a look.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-02-16 08:46:52
[2018-02-16 15:29:01]
Sierra2017 - Posts: 8
Thank you. Here you go!

study("MACD Leader [LazyBear]", shorttitle="MACDL_LB")
src=close
shortLength = input(12, title="Fast Length")
longLength = input(26, title="Slow Length")
sigLength = input(9, title="Signal Length")
showMACD=input(false)
showMACDSignal=input(false)
ma(s,l) => ema(s,l)
sema = ma( src, shortLength )
lema = ma( src, longLength )
i1 = sema + ma( src - sema, shortLength )
i2 = lema + ma( src - lema, longLength )
macdl = i1 - i2
macd=sema-lema

hline(0)
plot( macdl, title="MACDLeader", color=maroon, linewidth=2)
plot(showMACD?macd:na, title="MACD", color=green)
plot(showMACDSignal?sma(macd, sigLength):na, title="Signal", color=red)
[2018-02-16 22:06:29]
Sierra Chart Engineering - Posts: 104368
Do you know what this means:
ma(s,l) => ema(s,l)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-02-16 23:16:04]
SC Support Tom - Posts: 450
I have located the documentation that answers this question:


Do you know what this means:
ma(s,l) => ema(s,l)

This is a function declaration. It assigns the value of the built-in function "ema" (Exponential Moving Average) to the user-defined function "ma".

Documentation: https://www.tradingview.com/wiki/Declaring_Functions
[2018-02-20 18:17:08]
Sierra Chart Engineering - Posts: 104368
This study is now available in "Prerelease" 1705. Follow the instructions here to update:
Software Download: Fast Update

It is called MACD Leader.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-02-20 18:17:15
[2018-02-20 18:52:56]
Sierra2017 - Posts: 8
Great :) Thank you

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

Login

Login Page - Create Account