Rank: Newbie
Groups: Registered, Registered Users Joined: 6/9/2011(UTC) Posts: 3
|
Hi I am relatively new to formula and am trying to create an explorer that I can run at the days end which will show when a share has crossed below the bottom bollinger line and at the same time closes below the either 30 on the RSI (7) or -50 on Chande Momentum Osc (14) or 20 on Money Flow Indic (14). It would not matter if all three register positive at the same time as any one will provide the signal to look at the share. Similarly when the upper bollinger band crosses up over RSI 70 or Chande +50 or Money 80. Is the use of an explorer the best way to do the scan, and can it be set to do it automatially at a set time at night.
Thanks
tezzaa
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
Put the following into the FILTER tab of an Exploration; you can change the number of days if you want to see if any signals have occurred in the past (ie: use 5 on Friday to see if any signals occurred during the past week). {*****************************} Result:=Cross(BBandBot(CLOSE,10,S,2),C) AND ( Cross(30,RSI(7)) OR Cross(-50,CMO(C,14)) OR Cross(20,MFI(14)) ); LookbackDays:=1; Sum(Result,LookbackDays)>0 {*****************************} For automation, you'll need to do two things: 1. Use something like AUTOIT to create a script which starts Metastock, selects the Exploration, runs it and exits Metastock. 2. Use Windows "Scheduled Tasks" to run that script at a set time.
|
|
|
|
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)
|
For the coding aspects, read your MS user manual and then download the free Equis Formula Primer and do the exercises contained in it, then you will be able to write your own explorations and much more.
As for the auto execution of running the explorations, well you're going to have write some windows macros or use another such tool, because MS doesn't have any native ability to do it.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 6/9/2011(UTC) Posts: 3
|
thanks heaps Johnathan I will put that into use straight away. Although I ahve been rtrading for more many years getting a handle on metastock capabilities will take some time. Thanks again
Tezzaa
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 6/9/2011(UTC) Posts: 3
|
thanks wabbit. I have settled into intensive reading of the manual
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
It would be a good idea to make a sample chart with the conditions/indicators you are using -- it lets you confirm visually if the indicator is doing what you want -- instead of what you tell it<g>. Don't forget to reverse the CROSS logic when you code the opposite conditions for a SELL signal.
|
|
|
|
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.