jay_towns 11 posts msg #81843 - Ignore jay_towns |
10/27/2009 12:29:44 PM
I'm trying to write a filter that can search for thin ichimoku clouds where price is close to the top of the bottom of the cloud.
Any ideas? Basic ichimoku filter below. Thank you!
/* Ichimuko layout*/
price < 1
volume > 650,000
/*Tenkan-Sen*/
set{diff9TS, high 9 day high + low 9 day low}
set{TS, diff9tS / 2}
draw TS on plot price
/*Kijun-Sen*/
set{diff26KS, high 26 day high + low 26 day low}
set{KS, diff26KS / 2}
draw KS on plot price
/*Senkou Span A*/
set{SSA1, TS + KS}
set{SSA2, SSA1 / 2}
set{SSA, SSA2 26 days ago}
draw SSA on plot price
/*Senkou Span B*/
set{SSB1, high 52 day high + low 52 day low}
set{SSB2, SSB1 / 2}
set{SSB, SSB2 52 days ago}
draw SSB on plot price
KS < Price
TS < Price
TS < KS
Price > SSB
TS > SSB
|