System building help!

#1
Hi, I am an invester from Spain... Sorry for my english!

I am currently trying to build a system for mid-term trading in metastock. I know it is a very easy system, but I dont have any idea how to link the formulas. For much of you, this is a very sillysystem... But I am a begginer.

My objectives are:

S-L of not more than 3,5%

A buy signal if it cross two moving averages of different timelines, but only if confirms for two following days with a rise in vol.

I know it is quite easy, but if I learn to program this maybe I can upgrade it stept by stept.

Anyone can help me? thank you in advance...

SM
 

rkkarnani

Well-Known Member
#2
Hi, I am an invester from Spain... Sorry for my english!

I am currently trying to build a system for mid-term trading in metastock. I know it is a very easy system, but I dont have any idea how to link the formulas. For much of you, this is a very sillysystem... But I am a begginer.

My objectives are:

S-L of not more than 3,5%

A buy signal if it cross two moving averages of different timelines, but only if confirms for two following days with a rise in vol.

I know it is quite easy, but if I learn to program this maybe I can upgrade it stept by stept.

Anyone can help me? thank you in advance...

SM
Hi SM, Dont know if its easy to do it but at first glance it seems so. I am almost like you as far as the knowledge of programming Metastock is concerned.
I wud like to give it a serious try in my spare time. Can you specify the parameters : The MA's, their timeline and whether EMA SMA or WMA etc.
How do you quantify SL? Is it fixed at 3.5%? When you say rise in Vol. after crossover of MAs, in next two days do you want to generate a Buy signal only after 2 days of crossover with volumes confirming? Do ypu want only Buy signals?
Trust that I will be able to assist you but would prefer that you yourself give a try and post your result here, maybe we both can combine our meagre knowledge to reach your goal.
 
#3
I am out of home right know, Ill give it a hard try and then post my results.

Thank you very much, hope we can do it and move to something more! ;)


Rules:

S-L is a trailing stop only when it goes up, is a fixed one in that 3,5 %.
--

A buy signal if it cross two moving averages of different timelines, but only if confirms for two following days with a rise in vol.

WMA1 5 days
WMA2 12 days
--

Vol rise would be between the two day timeline of the crossover.
--

Also sell signals but I though that I would only need it to reverse.
 
#4
Order Bias: Long Orders
Portfolio Bias: Multiple
Limit number of simultareous positions to 5

Buy Order:

((Cross(Mov(C,8,W),Mov(C,13,W))) AND (Cross(Mov(C,5,W),Mov(C,10,W)))) AND C>20 AND Volume>Mov(VOLUME,50,S)

Sell Order:

((Cross(Mov(C,13,W),Mov(C,8,W))) AND (Cross(Mov(C,10,W),Mov(C,5,W)))) AND C>20 AND Volume>Mov(VOLUME,50,S)

(Any suggestions on how to delay the volume read?) (Also for backtesting parameters?)

No sell short and buy to cover orders.

Stops:

Maximum Loss: 3,5% Longs and Shorts.

Trailing:

3%

Longs and Shorts.

-----

What do you think?

Regards
 

rkkarnani

Well-Known Member
#5
Order Bias: Long Orders
Portfolio Bias: Multiple
Limit number of simultareous positions to 5

Buy Order:

((Cross(Mov(C,8,W),Mov(C,13,W))) AND (Cross(Mov(C,5,W),Mov(C,10,W)))) AND C>20 AND Volume>Mov(VOLUME,50,S)

Sell Order:

((Cross(Mov(C,13,W),Mov(C,8,W))) AND (Cross(Mov(C,10,W),Mov(C,5,W)))) AND C>20 AND Volume>Mov(VOLUME,50,S)

(Any suggestions on how to delay the volume read?) (Also for backtesting parameters?)

No sell short and buy to cover orders.

Stops:

Maximum Loss: 3,5% Longs and Shorts.

Trailing:

3%

Longs and Shorts.

-----

What do you think?

Regards
Dont know how good these parameters would be , but trying to post a Chart with these settings and alos its "formula"!!!

((Cross(Mov(C,8,W),Mov(C,13,W))) AND (Cross(Mov(C,5,W),Mov(C,10,W)))) AND C>(Mov(C,20,W) AND V>Ref(Mov(V,50,S),-2)) and V>Ref(V,50,S),-1));

This basically a Signal when :
the Weighted moving average of 8 days close crosses 13 days WMA, and 5 days WMA crosses 10 days and the price closes avove 20 days WMA. (You had not mentioned anything about what C>20 so I presumed it to be a 20 days WMA... further the Volume on that day is also greater than 50 DMA of volume 2 days ago and the previous day.
You wanted to have indication when the volume increases after the crossover of WMA's... working on it but not sure as yet.
Tried to have a look at a few charts with this Inicator but the outcome looks bleak!!! This for Buy only!! Just reverse it for sell, only the Volume part remains intact.
 
#7
When I put C>20, I was trying to screen only the stocks above 20 dollars price. Not for any particular reasong, just to put a fillter. Does that order Is ok? Maybe, we could delete one of the cross mov conditions.

Love the volume formula by the way. Ill research a little more and post my results.

Good job by the way!
 
#8
(Ref((Cross(Mov(C,5,W),Mov(C,13,W))),-2)) AND C>20 AND (Ref(V,-2)>Ref(Mov(V,50,S),-2) AND C>Mov(C,13,W));

Stock of more than 20 dollars cross about two days ago the wma5 with the wma13 with a rise on volume on that date above the sma 50 days, and in this recent day it stays above that wma13.

What do you think? do you have any different opinion about it? would you add, edit, or delete anything?

Regards!

SM
 
#9
Another small question, I have been trying to backtest this method, but all my buys orders are close in the same day... Have any idea?

THX!
 

Similar threads