Signal and resistance/support dinamyc lines New comment lucmat 2011.11.11 11:30 May you help me to translate this indicator in Metatrader4 Language? a1:=(hhv(pr,tpr)+llv(pr,tpr)+pr)/3; b:=(a1*2)-hhv(pr,tpr); mab:=mov(b,tpr,s); c1:=(a1*2)-llv(pr,tpr); mac1:=mov(c1,tpr,s); a:=(hhv(pr,tpr/2)+llv(pr,tpr/2)+pr)/3; maa:=mov(a,tpr/2,s); d:=(b+c1+a)/3; mad:=mov(d,tpr,s). hhv= max period value (the highest value of close in the time period chosen) llv= min period value (the lowest value of close in the time period chosen) pr=close price tpr=time period (from 1 to whatever you want) mov= moving average. This indicator is very useful to me because, if set up with right period, it gives good signal. Also if you set it up with cycle period (multiplied 2 or 4), it gives good resistance and support. Thanks Lucmat Thanks. This forum is great...... Lucmat Files: RSdynamic_line.txt 5 kb How to code? T3 Support & Resistance lucmat 2011.11.13 17:07 #1 Here is a screenshoot.... Somene can help me? Lucmat Files: Immagine.gif 55 kb New comment
May you help me to translate this indicator in Metatrader4 Language?
a1:=(hhv(pr,tpr)+llv(pr,tpr)+pr)/3;
b:=(a1*2)-hhv(pr,tpr);
mab:=mov(b,tpr,s);
c1:=(a1*2)-llv(pr,tpr);
mac1:=mov(c1,tpr,s);
a:=(hhv(pr,tpr/2)+llv(pr,tpr/2)+pr)/3;
maa:=mov(a,tpr/2,s);
d:=(b+c1+a)/3;
mad:=mov(d,tpr,s).
hhv= max period value (the highest value of close in the time period chosen)
llv= min period value (the lowest value of close in the time period chosen)
pr=close price
tpr=time period (from 1 to whatever you want)
mov= moving average.
This indicator is very useful to me because, if set up with right period, it gives good signal.
Also if you set it up with cycle period (multiplied 2 or 4), it gives good resistance and support.
Thanks
Lucmat
Thanks.
This forum is great......
Lucmat