Reply To: Script giving errant results – where did I go wrong?

Optuma Forums Optuma Scripting Script giving errant results – where did I go wrong? Reply To: Script giving errant results – where did I go wrong?

#67117
Darren
  • Topics: 69
  • Replies: 737
  • Posts: 806

Hi Mark,

When comparing the results make sure that the tool settings on the chart match the scan formula and timeframe. For NUE when I put the 8EMA based on the closing prices (113.99, in green) on a daily chart it is above the 21EMA (113.49, blue), which is above the 34EMA (112.69, orange).

To further verify scan formulas you can use a Show View for each of the scan components so that you can see where each one is true. Here’s the separate results of C1 and C2 from your formula, and you can see both are true:

Capture

Hope that helps!

PS: when submitting script formulas please use the <>CODE box above to format the text as described here: https://forum.optuma.com/topic/how-to-add-code-samples-to-forum-posts/

Pin It on Pinterest