I found an indicator here that I like thats called Haus Visual. There is a fast line there and I want to screen for stocks when the fast line turns from down to uptrend, The indicator is much to complicated for me and i wonder if someone could help me with the code.
That’s an old request posted months ago that I did not see at that time, sorry 🙁
Do you mean by “fast line”, the yellow curve?
Yes exactly, I use the yellow line to determine the trend. I think the indicator is very good but the code is to advanced for me. I Would like to screen the market for stocks when the yellow line turns from down trend to up trend. Hope you can help me.
when the yellow line turns from down trend to up trend
To be more precise, when the yellow line makes a u-turn or when it crosses the zero line?
Ok, here is the code:
ignored, ignored, ignored, ignored, ignored, ignored, ignored, ignored, ignored, ignored, ind, ignored = CALL "PRC_HaosVisual"
top = ind<ind[1] and ind[1]>ind[2] and ind>0
bottom = ind>ind[1] and ind[1]<ind[2] and ind<0
screener[top or bottom]
Turns to downtrend are only identified when the yellow line is above 0. Change to uptrend identified only when it is below 0.
Thank you Nicolas it works very good.