Reply To: Script: pullback into 20 period EMA

Optuma Forums Optuma Scripting Script: pullback into 20 period EMA Reply To: Script: pullback into 20 period EMA

#65420
Matthew
  • Topics: 5
  • Replies: 422
  • Posts: 427

Hi,

From what i can see you have Exponential Moving Averages on the chart, but are using Simple Moving Averages in the script.  If you changed the Moving Averages to Simple on the chart you should see those two codes (ADBE and ZTS) are passing correctly.

Ex5

Alternatively, adjust the scripts to use EMAs instead of SMAs and those two codes are no longer part of the scan results.

Pin It on Pinterest