Hi Nicolas, any suggestion for Doncian Channel as mentioned in your previous thread of 12/22/2016 at 5:16 PM ? Can you make such a screen ?
Thanks for your patience.
Fabio
Hi Nicolas,
I am still waiting for the screener you proposed to me, regarding Doncian as on your previous suggestion dated 12/22/2016 at 5:16 PM in this thread
Grazie 10000000
Sorry but what were your query exactly? I’ve answered dozens of requests since your first post and even by reading quickly the entire thread, I’m still not sure of what you are looking for?
Original question was: can you make a screen able to detect when I am reaching again (eg. tollerance 3%) a previous maximum (eg. a maximum of 2/6/12 month ago)?
Practically is a screener made on Canslim di O’Neil method, and you suggested/proposed to use doncian method. Can you write down the screen?
Thanks
Fabio
So basically, it would need to detect if the current Close has already been met in previous Highs with a tolerance of 3%? (I think I get it now .. 🙂 )
I think this code might suit your request, please do test and tell me.
period = 90 //period in days of the highest high
percent = 3 //percent threshold
hh = highest[period](high)
for i = period downto 1 do
ratio= (close/hh[i])
c= ratio>1-percent/100 and close<hh[i]
if c then
break
endif
next
screener [c] (ratio)
Thank you Nicolas but is not what I expected: this screen get all stock that are on all time maximum value (as eg. CGNX, Cognex Corp or BRKR or IART.). I just want stock which are returning to a previous maximum reached for example 3 month ago as PCLN or like SIFI made some days ago. Last time you mentioned Doncian for this porpouse….
P.s.: I wonder why your screen get even WMGI which is a non sense…
THKS
It returned WMGI because it met a previous donchian 90 days high within 3 percent. The screener is scanning all highest highs from 90 days ago to now.
Anyway not doing what I asked 🙁