♥ 0 |
Hello Mr Hahn & Merry Christmas; I would like your review/guidance related to a Stochastic Momentum Index Scan i’m working on. The idea is when the SMI (light blue) line crosses the SMIAVG (purple dash line) above and below the value of 50 (this is the value in the code) to produce a signal, red=to go short, green=to go long. One issue i’ve noticed, is as long as the SMI line are above and below 50, i’m getting wide squared top indication vs the normal pointed carrot type indication. wondering if you have any recommendation on how to get the indication to point at the crossover point for the downward crossing & upward crossing of the SMIs indicators below the 50 coded level or the red 80% & green 20% lines in the picture. declare lower; input over_bought = 50.0; def min_low = Lowest(low, percentKLength); def avgrel = ExpAverage(ExpAverage(rel_diff, percentDLength), percentDLength); def SMI = if avgdiff != 0 then avgrel / (avgdiff / 2) * 100 else 0; def AvgSMI = ExpAverage(SMI, percentDLength); #Long #Short
Marked as spam
|
Please log in to post questions.