[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EquisMetaStock Group] Help building an exploration that looks at a stock and the index its in.



PureBytes Links

Trading Reference Links

code for cross 20 mov is something like this.
cross(c,mov(c,20,s))

code for s and p 500 up in 10 days

Sec:= Security("{Enter Path for the index}",C);

ROC(sec,10,%)>=4


hope this helps

regards
joshik

On 12/27/06, ANDREW TOPLIFF <artopliffmd@xxxxxxxxx> wrote:
>
>   Does anyone know how to write a metastock system test
> that makes a trade when, a simultaneous action occurs
> in a stock and in an index?
>
> I.E. IBM crosses its 20 day moving average and the S
> and P 500 has gone up 4 % in the last 10 days.
>
> How do you code in the S and P 500 so that metastock
> understands what you have asked it and so that it
> knows which file to find the s and p data in?
>
> Thank you,
>
> Andrew
>
>  
>


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/