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

Notification

Icon
Error

Options
Go to last post Go to first unread
jer99  
#1 Posted : Friday, November 3, 2006 11:11:22 AM(UTC)
jer99

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2006(UTC)
Posts: 33

I want to modify a Pivot Indciator so that it shows only the pivots for today.

I want to have a Daily Pivot Indicator, Weekly Pivot Indicator and Monthly Pivot indicator. I use real time data and typically follow the daily, 4 hour, 1 hour and 15 minute charts.

I would like the ability to have just the three indicators and be able to pull them onto any chart.

Lets say the forumula is :

(H + L + C)/3

How do I create a formula that just pertains to Yesterday's H, L, C or Last Week's, or Last Months and yet place this on the various charts?

Jose  
#2 Posted : Friday, November 3, 2006 6:22:48 PM(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 Intraday Pivots indicator code - you may be able to adapt it for your custom purpose. jose '-)
jer99  
#3 Posted : Tuesday, November 7, 2006 2:54:59 PM(UTC)
jer99

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2006(UTC)
Posts: 33

thanks Jose, but that's what started me thinking.

I realize I can "hard code" the number of periods. And only place a PIVOTS_DAILY_1HOUR on a 1 hour chart, but I was wondering if there was a function that was built in like "previous_day_high" or "previous_day_low" or, if that wasn't the case, if someone had already come up with something.

Jose  
#4 Posted : Tuesday, November 7, 2006 10:38:52 PM(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)
Posting code here is wrought with difficulties, but try the MetaStock usergroup - I'll probably be able to help you there. jose '-)
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.