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

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Rookie  
#1 Posted : Friday, May 12, 2006 12:54:10 AM(UTC)
MS Rookie

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/3/2006(UTC)
Posts: 13

Dear together, i want to create a simple indicator. Who can help me ???? I want to have the RATE OF CHANGE or MOMENTUM for a fixed day. Perhaps since the 1st April 2004 in the .SPX. How can i cread it ???? I tryed it for a few days but i can`t grow it !!!! Who can write me the CODE for the INDICATOR BUILDER ???? Here an example ... Iwant to have the ROC from the 1st April 2004 to today, from the 2nd April 2004 to today, from the 3rd April 2004 to today since yesterday. Is it possible that I can create zhe Indicator, in the INDICATOR BUILDER, simple ???? How !? Thanks ahead .... Best wishes & good luck 4 the next trades ...
wabbit  
#2 Posted : Friday, May 12, 2006 1:43:34 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
MS_Rookie, Please limit the number and style of the graphics in your posts. Unless they actually add to the context of the post, consider leaving them out. Especially the animated .gifs - they are simply distracting! I found it hard to concentrate on your problem with all the movement etc happening on the page. -- If I understand your problem correctly... To find the Rate of Change in points from any day to today (the last bar on the chart) you need to use the LastValue() function. If we define myROC=(Value Today)-(Value on date) then we get: myROC:=LastValue(C)-C; To do it as a percentage, myROC:=(LastValue(C)-C)/C; or depending on how you are working your numbers, you can reverse all of the differences: As $: myROC:=C-LastValue(C); As %: myROC:=(C-LastValue(C))/LastValue(C); !!! - WARNING - !!! The LastValue() function is dynamic and should not be used in trading systems, or at least used with extreme caution. Try it and see if it answers you question. If it doesn't please let us know (without the multitude of moving pictures please) wabbit :D
Jose  
#3 Posted : Friday, May 12, 2006 1:59:36 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)
Take a look at the RoC since event/date indicators from MetaStockTools.com. jose '-)
MS Rookie  
#4 Posted : Friday, May 12, 2006 2:08:06 AM(UTC)
MS Rookie

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/3/2006(UTC)
Posts: 13

Thank u both ... I will try it ... Okay i will never put big smileys in this board !!!!
MS Rookie  
#5 Posted : Friday, May 12, 2006 7:30:51 AM(UTC)
MS Rookie

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/3/2006(UTC)
Posts: 13

Hello, thanks for help ahead. To wabbit : As %: myROC:=(C-LastValue(C))/LastValue(C); The ROC Indicator is like i want. But i don`t wanna the ROC as % since today to yesterday (Lastvalue) - if i unsterstand the formular language right. I wanna the ROC as % since today to perhaps the 1st January 2000. Here an aexample for a datasheed of 10 days (daily closed for example) ... It`s the 10th January 2000 01.01.2000 : 1.00 USD 01.02.2000 : 2.00 USD The ROC as % had today to be by 100% 01.03.2000 : 3.00 USD The ROC as % had today to be by 200% 01.04.2000 : 4.00 USD The ROC as % had today to be by 300% 01.05.2000 : 5.00 USD The ROC as % had today to be by 400% 01.06.2000 : 6.00 USD The ROC as % had today to be by 500% 01.07.2000 : 7.00 USD The ROC as % had today to be by 600% 01.08.2000 : 8.00 USD The ROC as % had today to be by 700% 01.09.2000 : 9.00 USD The ROC as % had today to be by 800% 01.10.2000 : 10.00 USD The ROC as % had today to be by 900% How can I wright some CODE in the INDICATOR BUILDER like Wabbit wright me one above ? I need the ROC as % since yesterday to today, since before yesterday to today, since before before yesterday to today, since 4 days to toda, since 5 days to today & soo long ... Thanks ahead & best wishes !!!!
Jose  
#6 Posted : Saturday, May 13, 2006 4:14:32 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)
MSrookie, all you need to do is click on the "RoC since event/date indicators" link above. The indicator code in that text file from MetaStockTools.com does exactly what you are asking for. jose '-)
MS Rookie  
#7 Posted : Saturday, May 13, 2006 12:44:34 PM(UTC)
MS Rookie

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/3/2006(UTC)
Posts: 13

Hello Jose, thanks for the link ... I have put it in my formular ... But I want the ROC since perhaps the 1/1/2006. Where must i put the day in the parameter ???? Or must i put the day in the forumlar ???? I think so !? But where ???? Thanks ahead & best wishes ...
MS Rookie  
#8 Posted : Sunday, May 14, 2006 1:50:20 AM(UTC)
MS Rookie

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/3/2006(UTC)
Posts: 13

Hello together, thank u. this one is the one i searched. To do it as a percentage, myROC:=(LastValue(C)-C)/C; Thank u all & best wishes 4 netx trades ...
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.