Alıntı Originally Posted by uufuk Yazıyı Oku
[ımg]http://i.hizliresim.com/vbb4y4.png[/ımg]



Kod:
n:=14;    h2:=ref(h,-1); l2:=ref(l,-1);    pdm:=ıf(h-h2>0 and h-h2> l2-l, h-h2,0); 
mdm:=ıf(l2-l>0 and l2-l=>h-h2,l2-l,0); 
a:=(100 * mov( ıf(h > ref(h,-1),stdev(h,10),0),n,ww) /
(mov( ıf(h > ref(h,-1), stdev(h,10),0),n,ww)+mov(ıf(h < ref(h,-1), stdev(h,10),0),n,ww))+
100 * mov( ıf(l > ref(l,-1), stdev(l,10),0),n,ww) /
(mov( ıf(l > ref(l,-1), stdev(l,10), 0),n,ww)+mov(ıf(l < ref(l,-1), stdev(l,10),0),n,ww)) )/2;
a1:=100*mov(pdm,14,ww)/mov(atr(1),14,ww); a2:=100*mov(mdm,14,ww)/mov(atr(1),14,ww);
cross(a,a2) or  cross(a2,a)
eywallah çok teşekkürler