This market screener searches for the best configurations in the context of stock picking with the ichimoku indicator.
This version searches for uptrending stocks.
//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")