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

Notification

Icon
Error

Options
Go to last post Go to first unread
Ty99  
#1 Posted : Monday, March 10, 2008 7:39:15 AM(UTC)
Ty99

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/8/2008(UTC)
Posts: 1

Noticed you have a collection of macd formulas. I joined the forum today, subscribed last Saturday. Though I'd start with something simple..........not even close! I have been trading on and off for years and actually owned a futures brokerage for 3 years until 91. Trade usually with a simple moving average as the foundation with a combination of additional strategies. The charts I have used since approx 2001 are by a free service "barcharts". The simple macd 12,26,09 does not match anything I have seen or edited in Meta Stocks. Below is a link that should bring up the macd study in barcharts. There are a few symols that appear to profit` more then 90% (quick estimate) of the time, just need this base formula to work and then some additional criteria. The exit strategy for this and the other strategies is really where I'm at and need the backtesting. Time saved is definitely worth sharing the strategies. If you are not interseted, perhaps you know of someone else.

Regards:

Ty

http://charts.barchart.com/chart.asp?sym=siz7&data=A&date=030808&den=MED&divd=n&evnt=ADV&grid=Y&jav=ADV&size=B&sky=N&sly=N&vol=Y&late=Y&ch1=011&arga=&argb=&argc=&ov1=&argd=&arge=&argf=&ch2=051&argg=12&argh=26&argi=09&ov2=&argj=&argk=&argl=&code=XSTKIC&org=stk


Ty
johnl  
#2 Posted : Sunday, March 16, 2008 9:37:18 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

I will play around with it. I alway like anything that is 90%.
First Thought: The chart you posted is a MACD oscillator not just MACD which should send me in the correct direction.
second Thought: You may want to ask Lind Waldock for the code. If it isn't their own they may actually give it to you. If they do, ask about uses, they may not want it posted on the net.

johnl  
#3 Posted : Sunday, March 16, 2008 9:53:28 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

Try researching MACD (DEMA) in MS which is what I think you are looking for.
Let me know if I am wrong.

See: http://trader.online.pl/...-MACD_DEMA_Smoothed.html

MACD - DEMA Smoothed

shortperiods:=Input("Enter the shorter DEMAperiods: ",3,20,12);

longperiods:=Input("Enter the longer DEMAperiods: ",21,50,26);
signal:=Input("Enter the number of signalline periods: ",3,50,9);
Dema(C,shortperiods)-Dema(C,longperiods);
Mov(Dema(C,shortperiods)-Dema(C,longperiods),signal,E)


and
Formula:
dema=2*ema(input)-ema(ema(input))


wabbit  
#4 Posted : Monday, March 17, 2008 3:03:59 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)
Ty was looking to create a MACD-like indicator using simple moving averages instead of exponential moving averages. He figured out the solution...

Code:

prd1:=12;
prd2:=26;
prd3:=9;

myMACD:=Mov(C,prd1,S)-Mov(C,prd2,S);
trigger:=Mov(myMACD,prd3,S);

{plot}
myMACD;
trigger;


or something along those lines...



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.