- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
From: pernin22 <pernin22__aT__yahoo.fr> To: equismetastock__aT__yahoogroups.com <equismetastock__aT__yahoogroups.com> Date: Monday, July 17, 2006, 12:29:00 PM Subject: [EquisMetaStock Group] Plotting vertical line ( indicator ) Hi all, How would you code this indicator : plot a vertical line on the 10th and the 20th bars since to day ? AND ...... just on these two bars. Tried with BarsSince but bad result : I get ALL bars plotted since the 10th one :-( Thanks for your help. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From: Jose Silva <josesilva22__aT__yahoo.com> To: equismetastock__aT__yahoogroups.com <equismetastock__aT__yahoogroups.com> Date: Monday, July 17, 2006, 8:54:53 PM Subject: [EquisMetaStock Group] Re: Plotting vertical line ( indicator ) Try this indicator: |
|
Vertical Line { http://www.metastocktools.com } { User inputs } bars1:= Input("Bars since last day for signal 1:",0,5250,10); bars2:= Input("Bars since last day for signal 2:",0,5250,20); { bars3:= Input("Bars since last day for signal 3:",0,5250,30); bars4:= Input("Bars since last day for signal 4:",0,5250,40); bars5:= Input("Bars since last day for signal 5:",0,5250,50); bars6:= Input("Bars since last day for signal 6:",0,5250,60); } { Signals } signal1:=Cum(1)=LastValue(Cum(1))-bars1; signal2:=Cum(1)=LastValue(Cum(1))-bars2; { signal3:=Cum(1)=LastValue(Cum(1))-bars3; signal4:=Cum(1)=LastValue(Cum(1))-bars4; signal5:=Cum(1)=LastValue(Cum(1))-bars5; signal6:=Cum(1)=LastValue(Cum(1))-bars6; } { Plot as histogram in own window } signal1;signal2; {signal3;signal4;signal5;signal6} |
jose '-) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From: pernin22 <pernin22__aT__yahoo.fr> To: equismetastock__aT__yahoogroups.com <equismetastock__aT__yahoogroups.com> Date: Tuesday, July 18, 2006, 7:22:04 AM Subject: [EquisMetaStock Group] Re: Plotting vertical line ( indicator ) Jose, Thanx a lot, works perfectly : it's just magic how you do things. | |
| |
Source / From: |