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

Notification

Icon
Error

Options
Go to last post Go to first unread
investorretired  
#1 Posted : Thursday, March 23, 2006 1:57:17 AM(UTC)
investorretired

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/13/2005(UTC)
Posts: 52

Is it possible to get data for a certain date (Be prompted for date) and then use it in a Indicator, Explorer, etc Example: Find the percent chance from December 1, 2004 to December 30, 2005. With there be a problem is a date is entered that does not have data?
Jose  
#2 Posted : Thursday, March 23, 2006 2:45:59 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Try this indicator as a base for your formula: [code:1:d009f93c39] { Plots data array at chosen date. ©Copyright 2003~2006 Jose Silva. For personal use only. http://www.metastocktools.com } { User inputs } day:=Input("Day of month",1,31,1); mth:=Input("Month",1,12,1); yr:=Input("Year",1800,2200,2006); plot:=Input("Plot at date: [1]Value, [2]Signal",1,2,1); { Sample data array } x:=RSI(14); {Date signal - plot next avail date if holiday} period:=Year()>yr OR (Year()=yr AND (Month()>mth OR Month()=mth AND DayOfMonth()>=day)); date:=period AND Alert(period=0,2); { Data at date signal } init:=Cum(IsDefined(x))=1; DateVal:=ValueWhen(1,date OR init,x); { Plot in own window } If(plot=1,DateVal,date) [/code:1:d009f93c39] Also try the Yearly RoC. jose '-)
Users browsing this topic
Guest (Hidden)
Similar Topics
Rick Saddler's Patterns for Profit - Product Update - February 20th, 2024 (MetaStock Product Updates)
by MS Support 2/20/2024 8:26:35 PM(UTC)
Buff Dormeier's Analysis ToolKit - Product Update - February 12th, 2024 (MetaStock Product Updates)
by MS Support 2/12/2024 6:01:07 PM(UTC)
Dan Passarelli's Red Green Knockout - Product Update - January 23rd, 2023 (MetaStock Product Updates)
by MS Support 1/23/2024 10:34:51 PM(UTC)
Vertical X Pro - Product Update - November 14th, 2023 (MetaStock Product Updates)
by MS Support 11/14/2023 2:48:12 PM(UTC)
AAII Conviction Plus - Product Update - November 2nd, 2023 (MetaStock Product Updates)
by MS Support 11/2/2023 3:17:42 PM(UTC)
Anne Marie's Target Rich Trades - Product Update - November 2nd, 2023 (MetaStock Product Updates)
by MS Support 11/2/2023 1:55:07 PM(UTC)
3S CODE - Product Update - November 1st, 2023 (MetaStock Product Updates)
by MS Support 11/1/2023 10:07:27 PM(UTC)
PowerBundle 360 - Product Update - October 27th 2023 (MetaStock Product Updates)
by MS Support 10/30/2023 3:38:08 PM(UTC)
AAII Conviction Plus - Product Update - September 9th, 2023 (MetaStock Product Updates)
by MS Support 9/5/2023 2:07:36 PM(UTC)
Value Charts Complete Suite - Product Update - August 21st, 2023 (MetaStock Product Updates)
by MS Support 8/21/2023 5:51:48 PM(UTC)
AAII Conviction Plus - Product Update - July 10th, 2023 (MetaStock Product Updates)
by MS Support 7/10/2023 6:19:08 PM(UTC)
Steve Bigalow’s Candle Profit System 3.0 - Release Date - July 7th, 2023 (MetaStock Product Updates)
by MS Support 7/7/2023 5:39:11 PM(UTC)
AAII Proves Calculator by Raymond Rondeau - Release Date - June 7th, 2023 (MetaStock Product Updates)
by MS Support 6/7/2023 7:06:59 PM(UTC)
Steven Primo’s Momentum Pullback Trading Strategy Number Four - Release Date - June 7th, 2023 (MetaStock Product Updates)
by MS Support 6/7/2023 3:54:09 PM(UTC)
AAII Conviction Plus - Release Date - May 12th, 2023 (MetaStock Product Updates)
by MS Support 5/12/2023 3:36:46 PM(UTC)
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.