Hi. I am trying to create a proscreener that detects price touching the 200sma on a daily chart , but having a few issues. I thought it would be as attached , but most of the results show the price way above the 200sma. Would appreciate any help
Thanks
Your condition may have been met at the time of Daily Close (yesterday)?
If you run your screener today then price(close) shown on the screener is the current price NOW / when you run your screener?
Wow I’ve only been taking a back seat for a week or two and I am myself doubting what I’m saying!? 🙂 🙂
Oh I know I’ve not had my multi-vit plus B complex plus vit d and vit k for a few days!
Ha my brain worked on it overnight (without brain pills even! 🙂 ) think about the way Moving Averages work (add current day value discard oldest value etc).
So instances where close (current period) = MA (current period) may be very few??
Why don’t you change your condition to price + or – x points = MA ?
To save all this conjecture, if you post your code on here then I will run it and see what I get and others (with better brains than me without pills even! 🙂 ) may comment also.
Testing if the price is equal to a 200 MA should not happen a lot! You should test a cross over/under instead.
Thanks for all the comments , I don’t actually have a code , I was trying to write it with the Proscreener list. I have tried the above and I am still confused.
You should test a cross over/under instead.
Have you selected cross over? So what results did you get?
Make it easier for us to help you? Restate what you are confused about together with a screen shot of the source of your confusion?
a proscreener that detects price touching the 200sma on a daily chart
As Nicolas said it sounds like you just need two conditions. Close crosses over or under the 200 SMA. Screen for something that does that and you will have what you want as if it crosses it touches!