logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
hayseed  
#1 Posted : Tuesday, May 2, 2006 5:17:39 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

had a perfect example for this but it has been lost in the list..... oddly enough that was the point..... when using templates containing indicators that are multiple choice in style, it would be nice at times to compare the seperate versons in overlayed fashion in the same window..... we could scroll thru the indicator list , find and reapply...... but the quickest way can be to right click and copy the indicator..... then paste it in the same window as many times as needed..... then click , select, and change the parameters one at a time..... its easier to do than explain..... the chart below has the volume added by seperate conditions and overlayed in that fashion..... the first indicator is the fibonacci ..... the purple lines will automaticaly adjust to the viewed chart.... just drop it on the chart, always choose overlay without scale, the lines are adjustable if need be ..... as you zoom in or out they adjust to the chart..... its similiar to ozgur's/jose's but with different coding..... the second indicator is a gap tracker......the horizontal blue lines in that chart are marking the gap..... and will continue extending each day to the right..... the last indicator is volume added displayed in macd style.....h [code:1:1d22763d67]{fibonacci} b:=Input(".236",.01,2,.236); bb:=Input(".382",.01,2,.382); bbb:=Input(".50",.01,2,.50); bbbb:=Input(".618",.01,2,.618); m:=1; d:=3; y:=2006; a:=ValueWhen(1, Month()=m AND DayOfMonth()=d AND Year()=y,Ref(C,-1)); aa:=ValueWhen(1, Month()=m AND DayOfMonth()=d AND Year()=y,O); aaa:=(b*(a-aa))+aa; aaaa:=(bb*(a-aa))+aa; aaaaa:=(bbb*(a-aa))+aa; aaaaaa:=(bbbb*(a-aa))+aa; a;aa;aaa;aaaa;aaaaa;aaaaaa;[/code:1:1d22763d67] [code:1:1d22763d67]{gap tracker, just enter day of gap} m:=Input("month",1,12,1); d:=Input("day",1,31,1); y:=Input("year",1990,2010,2006); a:=ValueWhen(1, Month()=m AND DayOfMonth()=d AND Year()=y,Ref(C,-1)); aa:=ValueWhen(1, Month()=m AND DayOfMonth()=d AND Year()=y,O); a;aa[/code:1:1d22763d67] [code:1:1d22763d67]{volume added displayed macd style} pnt:=Input("close=1, high=2, low=3",1,5,1); pds1:=Input("fast macd periods 1",2,100,5); pds2:=Input("slow macd periods 2",3,100,9); pds3:=Input("moving average trigger periods 3",2,100,3); upv:=Cum(If(If(pnt=2,H,If(pnt=3,L,C))>Ref((If(pnt=2,H,If(pnt=3,L,C))),-1),V,0)); dnv:=Cum(If((If(pnt=2,H,If(pnt=3,L,C)))<Ref((If(pnt=2,H,If(pnt=3,L,C))),-1),V,0)); a:=upv-dnv; b:=Mov(a,pds1,W)-Mov(a,pds2,W); bb:=Mov(b,pds3,W); b;bb[/code:1:1d22763d67]
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.