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

Notification

Icon
Error

Options
Go to last post Go to first unread
smm  
#1 Posted : Thursday, October 28, 2004 12:47:52 PM(UTC)
smm

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 2
Location: india

How can I test a system which gives me the trades based on higher bottom higher top buy signal and lower bottom lower top sell signal based on daily closing. How do I write the entries in Metastock explorer or system tester.
Patrick  
#2 Posted : Friday, October 29, 2004 4:07:23 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Hi smm, Can you give us a little more details on this because honestly I don't really understand what you need. Do you have specific examples by any chance ? Let me know and I will try to help you
smm  
#3 Posted : Saturday, October 30, 2004 12:25:30 AM(UTC)
smm

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 2
Location: india

Day 1 close 8 Day 2 close 10 Day 3 close 9 Day 4 close 10 Day 5 close 9 Day 6 close 10 Day 7 close 12 Now here a higher bottom higher top is confirmed, means the stock has come in buy. It will be viceversa for lower bottom lower top. Now how do I put it in system testing. I could not write the formula.
wabbit  
#4 Posted : Saturday, October 30, 2004 1:21:23 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)
First, you have to figure out to find the 'low'. You might want to look in your manual for things like the peak() and trough() functions (but read the warnings about these too). Otherwise you might like to do it more programatically, like: tr:=l>ref(l,-1) and ref(l,-1)<ref(l,-2) and ref(l,-2)<ref(l,-3); This will return '1' each time there is a 'trough'. Now to see if the low is higher or lower than the previos time, use the valuewhen() function: valuewhen(1,tr=1,l)<valuewhen(2,tr=1,l) will return '1' each time the low (when tr=1) is less than the low (the time previously, when tr=1) All this information is readily available in your user manual and through the Equis Formula Primer, both of which I strongly recommend all MS users to read. Hope this helps wabbit :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.