Hallo to all,
I just wrote some code lines to build a very simple screener, which find Parabolic SAR inversion points.
The screener output is a list of Tickers with one additional column that gives the direcion of starting trend. The column is named “Go”: (go) Long = 1; (go) Short = -1.
The code:
//////////////////////////////////////////////////////////////////////////////////////
MySar = SAR[0.02,0.02,0.2]
LongCondition = MySar < Min(Open,Close) And MySar[1] > Max(Open[1], Close[1])
ShortCondition = MySar > Max(Open,Close) And MySar[1] < Min(Open[1], Close[1])
If LongCondition then
Result = 1
endif
If ShortCondition then
Result = -1
endif
SCREENER[LongCondition Or ShortCondition] (Result as "Go")
//////////////////////////////////////////////////////////////////
Ciao
Merci je cherchais ce screener
Thank you I was looking for this screener
@bibifricotin
Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
Thank you 🙂
When I run the screener in most of the cases I get a list of stocks were the SAR is not making any inversion .
Did anyone found it also this issue ?
Thanks
JSParticipant
Senior
Hi @mataresc
I have tried the screener and in most cases the screener output is correct…
Can you give an example where it’s not right?
Hi JS
Thanks for answering … In some cases it works and in some cases no.
Pls find attached some files were despite the stock being listed as one stock with a change in the Parabolic from red to green the stock did not changed
Thanks !
Mariano
JSParticipant
Senior
Hi @mataresc
With me, the graphs are all in line with the screener…
It’s probably because of the “end of day” data you use…