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

Notification

Icon
Error

Options
Go to last post Go to first unread
rananiraj  
#1 Posted : Saturday, November 12, 2005 10:08:47 AM(UTC)
rananiraj

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/12/2005(UTC)
Posts: 3

Can some help me to write a custom indicator that will plot previous week's High Low Close on an intraday chart??? Any help will be greatly appreciated. Regards, Niraj #-o
Jose  
#2 Posted : Saturday, November 12, 2005 10:46: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)
Available here: Basic components for weekly indicators (George, could you move the above thread to my corner of the woods? - Many thanks.) jose '-)
henry1224  
#3 Posted : Saturday, November 12, 2005 2:01:25 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
If you have the PowerPivot Plus Add-on you can use the External functions TDataCreate and TDataLocalize these functions will enable you to create any indicator of a higher time frame to be plotted on a lower time frame. It will also allow you to shift the plot to the right
Jose  
#4 Posted : Saturday, November 12, 2005 2:43:46 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)
My advice to anyone contemplating depending on MetaStock external functions: Avoid using black-box type external functions whenever MS code can do the same or a better job, using normal MetaStock Formula Language(MSFL). At the very least, the user has a chance at determining if there is any hindsight-based code (i.e., signals that shift without warning), when the MetaStock code is clearly visible and the complete process is fully transparent. And, as a bonus, MSFL code gives the MetaStock user the option to learn new programming techniques, as well as possibly adapt and reuse the MS code for other applications. jose '-)
henry1224  
#5 Posted : Saturday, November 12, 2005 3:21:38 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Dear Jose, Why do you consistently question the use of external Functions from PowerPivots Plus? The systems that were included with this Add-on are Password protected but the external functions are not. Several of them have sufficient documentation to satisfy any user! Your claim that external functions are less effective than pure MSFL Language and should be avoided is nonsense! The use of the Metastock Developers Kit to develop external function as dll’s greatly expands the MSFL Language. As for shifting or hanging chads or any other questions about PowerPivots Plus you can reference this post http://forum.equis.com/viewtopic.php?p=11251#11251 I also see that you yourself have started to implement the use of external functions into your code, you can reference this post http://forum.equis.com/viewtopic.php?t=2703 I would like to take this moment to offer you an olive branch to end this hostility that has been brewing between us. You are an excellent programmer and I often wondered as to why you never used the MDK to develop new dll’s? Regards Henry
Jose  
#6 Posted : Saturday, November 12, 2005 4:22:59 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)
henry1224 wrote:
Why do you consistently question the use of external Functions from PowerPivots Plus?
I question any decision-making process that is not absolutely transparent. This should be a very important consideration if we are to trust the process in question with our capital.
henry1224 wrote:
The systems that were included with this Add-on are Password protected but the external functions are not. Several of them have sufficient documentation to satisfy any user!
My point is, that unless the MS dll in question comes complete with source code, we will never know what process it uses to create its signals. As an example, I could also put together a basic external function with sufficient documentation, but that would not stop me using hindsight-based code hidden within the dll code, if I wished.
henry1224 wrote:
Your claim that external functions are less effective than pure MSFL Language and should be avoided is nonsense!
I have not written anything of this sort:
jose wrote:
Avoid using black-box type external functions whenever MS code can do the same or a better job, using normal MetaStock Formula Language(MSFL).
In other words, if the result for a given MS task is the same for either MSFL or DLL, I recommend the user chooses fully-visible MSFL code and adapt it to his/her own use.
henry1224 wrote:
The use of the Metastock Developers Kit to develop external function as dll’s greatly expands the MSFL Language.
I have never argued against this potential. The problem is, unless the DLL's code can be verified to work as expected, it becomes just another black-box process.
henry1224 wrote:
As for shifting or hanging chads or any other questions about PowerPivots Plus you can reference this post http://forum.equis.com/viewtopic.php?p=11251#11251
Your 500Kb PDF (with no visible charts) doesn't prove anything at all to me when it comes to shifting signals. The only way to see these ghost signals appear & disappear in real-time, is to load one new period of data at a time on a chart.
henry1224 wrote:
I also see that you yourself have started to implement the use of external functions into your code, you can reference this post http://forum.equis.com/viewtopic.php?t=2703
I've been designing (not coding) and using external MS DLLs for over six years, but only when I have absolute proof that they process data as intended, without "cheating" with shifting, hindsight-based code.
henry1224 wrote:
I would like to take this moment to offer you an olive branch to end this hostility that has been brewing between us.
Henry, it is not in this forum's (or my) interest to upset anyone. I'll take your olive branch as long as there is no hindsight-based process attached to it. ;)
henry1224 wrote:
You are an excellent programmer and I often wondered as to why you never used the MDK to develop new dll’s?
I prefer to leave the nuts & bolts to more capable hands and concentrate on other tasks, such as trading. The amount of time that I put into this industry, means that I have little time left to create (or even duplicate) what others can do just as well with their programming skills. Besides, it is also in all our interest to make sure MetaStock is not just another charting tool, but also a transparent vehicle for learning about the process of automating trading methods, and ultimately, learning about ourselves in the process. jose '-)
StorkBite  
#7 Posted : Saturday, November 12, 2005 8:17:34 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Quote:
George, could you move the above thread to my corner of the woods? - Many thanks.)
Done.
StorkBite  
#8 Posted : Saturday, November 12, 2005 8:21:59 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Quote:
I would like to take this moment to offer you an olive branch to end this hostility that has been brewing between us. Henry, it is not in this forum's (or my) interest to upset anyone. I'll take your olive branch... You are an excellent programmer...
THANKS A MILLION! All caps are intentional because I'm shouting Hallelujah from my Texas hilltop! :yahoo:
rananiraj  
#9 Posted : Tuesday, November 15, 2005 5:04:41 AM(UTC)
rananiraj

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/12/2005(UTC)
Posts: 3

Thanks Jose and company so much for the response. I really appreciate it. Regards. Niraj =D>
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.