Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 05:58:20 +0000



[User Discussion] - My_SMI indicator

View Count: 2671

[2014-12-24 08:32:02]
Mauro_60 - Posts: 5
Good evening forum, the attached file is the indicator SMI for Ninja Trader, you can replicate it exactly for Sierra Chart?
best regards
P.S.
Sorry for my bad English
attachmentSMI.cs - Attached On 2014-12-24 08:30:22 UTC - Size: 11.84 KB - 1028 views
imageSMI_Dot.JPG / V - Attached On 2014-12-24 08:31:13 UTC - Size: 127.23 KB - 565 views
[2014-12-24 20:22:15]
Sierra Chart Engineering - Posts: 104368
Sierra Chart already has a "Stochastic Momentum Indicator" found in Analysis >> Studies.

Documentation:
http://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s276
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
[2014-12-24 20:43:56]
Sawtooth - Posts: 4141
Add a second instance of the SMI study,
-set the Chart Region to the same as the other SMI study
-set the Draw Style of SMI (SG1) to Point
-set the Auto-Coloring to Based on Slope
[2014-12-25 09:29:21]
Mauro_60 - Posts: 5
Thanks for the answer and Happy Christmas to you all.
I saw the indicator of Sierra Chart but mine is different, but little things differently.
I also saw the setting but I do not like, keep my "dot" are different.
Ninja trader as well as set the setting as Sierra also allows another setting graphically more beautiful, you see it in these lines of code.
No offense of course.

if (Falling(smis))
      {        
        DrawOnPricePanel = false;
        DrawDot(CurrentBar.ToString(),true,0,smiVal,DnColor);
        
      }  
      if (Rising(smis))
      {
        DrawOnPricePanel = false;
         DrawDot(CurrentBar.ToString(),true,0,smiVal,UpColor);
      
        
      }

[2014-12-27 14:16:29]
Mauro_60 - Posts: 5
Hello everyone, I found this code I wanted to know how I can add code to an exponential moving average of the input value K.Ho tried alone but I could not.
Thank You
Date Time Of Last Edit: 2014-12-27 15:32:19
attachmentSMI.cpp - Attached On 2014-12-27 15:32:13 UTC - Size: 2.24 KB - 390 views
[2014-12-29 04:01:11]
Sierra Chart Engineering - Posts: 104368
Refer to this page for instructions:
https://www.sierrachart.com/index.php?page=doc/doc_BuildCustomStudiesDLL.html
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
[2014-12-29 08:33:51]
Mauro_60 - Posts: 5
I understand that it is useless to ask for a little help! Documentation I've already read it all, but I'm not a programmer.
No matter, thanks anyway
[2014-12-30 21:46:13]
crazybears - Posts: 314
Hi

can you explain a bit further on what kind of value do you want calculate the moving average ?
[2015-01-01 13:29:34]
ehlaban - Posts: 50
The only thing i did is adding an ema for the value of K. No idea if the further code is ok. It looks alright.
attachmentSMI.dll - Attached On 2015-01-01 13:27:02 UTC - Size: 20 KB - 554 views
attachmentSMI.cpp - Attached On 2015-01-01 13:27:18 UTC - Size: 2.84 KB - 422 views
[2015-01-02 14:30:55]
Mauro_60 - Posts: 5
Thanks very much for your help ehlaban,tanks crazybears for the answer.

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

Login

Login Page - Create Account