I have a fairly rudimentary version of SMI in easylanguage....
But as you can see the indicator is nothing like the SMI4 indicator provide by TheWizard in the latest Holy Grail package.
I don't very much need the dots or coloring, but I would like to mimic the SMI4's calculations for its +/-0 bias in its calculation.
Apparently its more than just a simple change of the calculation periods (I think at least?).
Can anyone tell me what changes have been made to SMI4 from the most basic rudimentary basic SMI indicator?
I've attached similar timeframes of the same shot comparing the two indicators (keep in mind these platforms calculate range bars slightly differently and they are from different data feeds so they won't be 100%).
Can you help answer these questions from other members on futures io?
Site Administrator Swing Trader Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Posts: 49,779 since Jun 2009
Thanks: 32,306 given,
97,566
received
Thanks for the effort to start converting these
I found SMI elsewhere, this is just a very basic one:
Function
Indicator
I've not compiled anything in MultiCharts yet but don't expect any problems. I don't use this one personally although I know many traders here do, so if you would be so kind as to share the final code please do. Upload it to the file sharing section (Downloads), let me know if you run into any problems sharing certain extensions.
Site Administrator Swing Trader Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Posts: 49,779 since Jun 2009
Thanks: 32,306 given,
97,566
received
BTW, you might contact Todd. He knows a lot about SMI and had a lot of custom work done to the version that many people use here on futures.io (formerly BMT).
Is is true that SMI4's histogram is lagging? I examined the indicator's code, and it uses data from a subsequent cycle to set the histogram's value for the preceding cycle. Here is the code inside the indicator:
if (Falling(esmis))
{
eSMIdn.Set(1, esmis[1]);
eSMIdn.Set(esmis[0]);
}
if (Rising(esmis))
{
eSMIup.Set(1, esmis[1]);
eSMIup.Set(esmis[0]);
If i remember correctly, I took a modified version of SMI2 that Cory had done awhile back and, at the time, was calling SMI_MultiColor. It had the SMI, SMIEMA and a differential histogram. I believe it's been reposted to the download section and simply called SMI2. What I did was to swap a couple of plots inside (SMI / Histogram) so that the Histogram became the SMI and the SMI became the histogram, then converted the histogram from bar to dot. I was just playing around with indicator code, having some fun. I liked the way that it looked - similar to an ergodic oscillator. I created a couple of versions (didn't like SMI3), liked SMI4 better, added background coloring so that when the SMIEMA is ABOVE '0', it paints the background blue & if it's below '0' - red, indicating trend direction, added sounds, vertical lines, arrows, etc. etc. That's about it. Nothing special.
For what you want to do, you could use the basic SMI or Cory's SMI2. I believe the code for the SMI2 (minus the histogram plots) is identical to the SMI. Standard Stochastic Momentum Index calculation as proposed by William Blau.
Here's a comment from the SMI indicator, if it helps: