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

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Patrick  
#1 Posted : Friday, March 18, 2005 4:33:10 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)
Sticky means that the post stays at the top of the list ... Perfect indicator .... I stopped the search, god knows I tried hard though ](*,) but it is a good idea to keep notes on the changes you make and why you made them. Patrick
SteveB  
#2 Posted : Friday, March 18, 2005 4:50:14 PM(UTC)
SteveB

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/14/2005(UTC)
Posts: 65
Location: Cocoa, Florida

Hayseed, Thanks for these examples. They are definitely very helpful! Steve
Patrick  
#3 Posted : Monday, April 25, 2005 2:32:45 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)
Hayseed wrote:
and now for something confusing that might be of value..... while studying on a question by glyn involving running experts on entire portfolios, i've stumbled on this....... experts might not have to be attached to anything and still work..... this expert has nothing entered under trends, nothing entered under alerts, nothing entered anywhere except under the commentary as seen and name..... its different conditions for different issues and attached to nothing yet the commentary prints out all met conditions.... no, its not attached to that 'amgn' chart..... so it appears that a portfolio of securities could have a collection of conditions listed only in the commentary of a single expert and each work individually while attached to nothing..... now thats a real hmmmmmmmm..... btw, my commentarys were simple and to the point, ie, its late..... the next step, will that expert call my cell phone, will have to wait until tommorrow......below is the code to change if you want to tinker.....h ------------------------------------------------------- writeif(a:=security("csco",close);a<18,"csco closed under 18 ") writeif(a:=security("cien",close);a<mov(a,10,s),"cien closed under 10 pma ") writeif(a:=security("cin",close);a>mov(a,10,s),"buy signal on cin ") writeif(a:=security("cmvt",stoch(5,3));stoch(5,3)>40,"stoch buy on comverse ") writeif(a:=security("intc",rsi(14));rsi(14)>40,"intc rsi >50 ") writeif(a:=security("amd",close);cross(mov(a,20,s),mov(a,10 ,s)),"sell amd, 10 pma crossed below 20pma ") writeif(a:=security("ibm",close);a<(mov(a,50,S)),"ibm is below 50pma ") writeif(a:=security("mot",close);cross(mov(a,20,s),mov(a,10 ,s)),"sell mot, 10 pma crossed below 20pma ") writeif(a:=security("glw",close);a>(mov(a,50,S)),"glw is above 50pma ")
Let me add a comment to the post above ( I hope you don't mind hayseed :mrgreen:) This is great when you work with a few ( 5 maybe 10 at most ) securities. Because of all the security calls ... Also because of the limitation in the MetaStock coding language ( X amount of characters, x amount of variables etc ... ) Patrick
Drec  
#4 Posted : Wednesday, April 27, 2005 3:23:32 AM(UTC)
Drec

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/23/2005(UTC)
Posts: 1

hayseed wrote:
the next step, will that expert call my cell phone, will have to wait until tommorrow......
Hi hayseed, I was wondering if the expert (not attached to anything) called your cell phone or left email as an alert when any of the conditions were met? Thanks, Andre
Patrick  
#5 Posted : Thursday, May 19, 2005 4:09:22 AM(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)
Jose is still planning to organize the contest as far as I know ... The purpose was to make ... a contest ... I guess ... anyways the winner would be the first to accomplish the formula that fits Jose brainteaser :D Patrick
wabbit  
#6 Posted : Monday, June 6, 2005 3:43:19 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)
hayseed directional up
If(L>Mov(C,10,S),2,0)
Can be re-written: 2*(L>Mov(C,10,S)) but why the value 2? Just use the scaling function properly and the graph will fit just by using L>Mov(C,10,S) hayseed directional down
If(H<Mov(C,20,S),-2,0)
can be rewritten the same way: H<Mov(C,20,S) Brackets are added to make the viewing easier! hayseed non-directional
c1:=H>=Mov(C,20,S) AND L<=Mov(C,20,S); If(c1,1,0); If(c1,-1,0)
You seem to have the ups and downs mixed up from the codes above?? If the direction is not up and its not down then it must be sideways (or non-directional) ? I would try something along the lines of:
function Hayseeds Direction
Up:=L>Mov(C,10,S); Dn:=H<Mov(C,20,S); Up-Dn;
will return 1 when Up, -1 when Dn and 0 otherwise Make your expert advisor highlights Up Highlight Fml("Hayseeds Directional")>0 Green Dn Highlight Fml("Hayseeds Directional")<0 Red Flat Highlight Fml("Hayseeds Directional")=0 Blue or have I missed something? wabbit :D
wabbit  
#7 Posted : Monday, June 6, 2005 4:00:28 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)
P.S. With the code:
function Hayseeds Direction
Up:=L>Mov(C,10,S); Dn:=H<Mov(C,20,S); Up-Dn; ------------------------------------ As the criteria for Up and Dn are different there is the remote possibility that both of these COULD be true on the same day. BUT how can the trend be both up and down on the same day? Using Up-Dn solves this problem, as if Up=1 and Dn=1 then Up-Dn=0 (no trend) and the conflict is resolved!
hayseed  
#8 Posted : Monday, June 6, 2005 5:51:17 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey wabbit..... thanks for the codes...... this is the only chart where i use blue in this manner, it just looked better..... i put in your changes, it inverted my red line, unless i put it in wrong.... if you look at my chart the red line going down is my signal to go short..... the blue line going up as signal to go long.... yes both lines do travel similar at times but that was the only way i could get the red line to turn down from 1 to signal short.... will look at your other codes tommorrow.... the reason for the 2?.... the point was to intentionaly cut off part of the chart, but your codes plot the same which blows my idea out the water..... so that leaves only 1 other possible reason..... a hayseed must of done my coding......thanks again for the codes....h
wabbit  
#9 Posted : Monday, June 6, 2005 6:06:18 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)
Mea culpa. Down should have been -(H<Mov(C,20,S)) wabbit :D
Patrick  
#10 Posted : Thursday, June 30, 2005 7:51:29 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)
It only took a second to download :P Wow hayseed, Great work :smt023
s1nbad  
#11 Posted : Thursday, June 30, 2005 10:29:37 PM(UTC)
s1nbad

Rank: Member

Groups: Registered, Registered Users
Joined: 5/31/2005(UTC)
Posts: 27
Location: sydney

Took only 10 sec to download but couldn't open it. As with most of the downloads I get a message that I don't have security access to the download (not this one though, gotta get powerpoint)But why cant I get the other files on the forum??? :? PS. Thank Hayseed for all the work that you put in this for the rest of us. Cheers.
Patrick  
#12 Posted : Thursday, June 30, 2005 10:33:42 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)
Which one can't you download? You have to be logged in to download stuff from the forum ...
StorkBite  
#13 Posted : Thursday, June 30, 2005 10:34:44 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)
Hey h- I took the liberty of quoting your last post and placing it into the QC forum. Hope you don't mind. If so, please just email me. http://forum.equis.com/viewtopic.php?p=4051#4051
Marilyn  
#14 Posted : Friday, July 8, 2005 3:33:36 PM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

Here is the pdf... I just discovered it too. Thanks hayseed!
Marilyn  
#15 Posted : Friday, July 8, 2005 3:50:48 PM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

I also found one on Dynamic Trading Tools and the Point and Figure Toolbox. :) M
Patrick  
#16 Posted : Thursday, September 8, 2005 3:21:06 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)
hayseed wrote:
stumbled onto another courious situation.... i have been trying to create some start to finish type examples.... from the first simple idea all the way through to the system test... in one jpeg picture .... that one is still under construction.... heres the stumble.... i was trying to be fancy and included some horizontal lines in the indicator, which worked as planned..... in the next step, the exploration, i refrenced the indicator formula in the standard fml('7') fashion.... the exploration always returned errors with no results... confusing... as it turns out, either explorations don't like formulas with fancy horizontal lines or i had used the wrong method to code them.... the end result was to remove the lines..... of course that took me a couple hours to figure out..... hayseeds should never try to show off......h
Don't you hate that :D :oops: The same exact thing happened to me ..... And more than once :roll: :D
Patrick  
#17 Posted : Friday, September 9, 2005 9:19:34 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)
h, I hope you don't mind but here is what I did with your tips :D forum.equis.com/tips.php Let me just say again how cool some of these posts are and what a shame it was for these brilliant ideas to be lost in a 6 page post ... I'm considering making it a mandatory reading along with the Metastock manual and the forum rules for all new forum members ... Thanks again for your great contribution :D
StorkBite  
#18 Posted : Friday, September 9, 2005 9:22:26 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)
Much deserved! =D>
Patrick  
#19 Posted : Saturday, September 10, 2005 1:40:00 AM(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)
Quote:
still free, uncopyrighted, not password protected and has never been wrong.....
:lol: I'm glad you like it, I did take some editing liberties but it still remains hayseed's style :oops: :D Symbol files ... Well thanks ... I'm actually thinking about a redesign of the forum's download page so I might try to collect these files later on :D Patrick :mrgreen:
StorkBite  
#20 Posted : Wednesday, September 14, 2005 3:00:28 AM(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)
Excellent tutorial... again. With a sense of humor- just the way I like em! As an alternative to saving the FAQ as a local html, it is also available as a .pdf document. That way you have a choice... yea... choice is good. The styles are a little different, but the content is identical.
Users browsing this topic
Guest (Hidden)
2 Pages12>
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.