This market screener searches for the best configurations in the context of stock picking with the ichimoku indicator.
This version searches for uptrending stocks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
//bereken TenkanSen en KijunSen TS=(highest[9](high) + lowest[9](low))/2 KS=(highest[26](high) + lowest[26](low))/2 //Positie t.o.v. TS en KS a1=ts>ks a2=ts crosses over ks //SpanA en SpanB SpanA= (ts+ks)/2 SpanB=(highest[52](high) + lowest[52](low))/2 //SpanA en SpanB huidige waarde Maxspan=max(spanA[26],SpanB[26]) //Condities voor de positie van de toekomstige SpanA en SpanB a5=spana>spanb a6=spana crosses over spanb //Condities voor de huidige positie van de SpanA en SpanB b1=close>maxspan b2=close crosses over maxspan //Positie van de achter gebleven lijn (chikouSpan) maxspanlag=max(spana[52],spanb[52]) b5=close>maxspanlag b6=close crosses over maxspanlag //long clong1=a2 and a5 and b1 and b5 clong2=a1 and a6 and b1 and b5 clong3=a1 and a5 and b2 and b5 clong4=a1 and a5 and b1 and b6 //actie Long = clong1 or clong2 or clong3 or clong4 //Screen SCREENER [long](long as"long") |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Very nice! thanks for sharing this.
I added (as a personal preference) that the Close must be over SMA200, just to double confirm it is an uptrend (=
sma200 = Average[200](Close) < Close
//actie
Long = (clong1 or clong2 or clong3 or clong4) AND sma200
same here with the TS formula:
TS=(highest[9](high) + highest[9](low))/2
source: https://www.investopedia.com/terms/i/ichimokuchart.asp