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

Notification

Icon
Error

Options
Go to last post Go to first unread
Golf4  
#1 Posted : Monday, April 23, 2012 9:43:33 AM(UTC)
Golf4

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/1/2012(UTC)
Posts: 5

I wanted to see if someone could program the following formula for me, I would be willing to compensate you for your time.

Here it is:
You buy when the market rises by 4% from the lowest low recorded since the last sell signal.

You sell when the market falls by 4% from the highest high recorded since the last buy signal.


Equis formula support said they are unable to program it.

Here is what they said.
In a external DLL, using our Metastock Developers kit, that would be fairly easy to do. However, writing such DLLs is outside the scope of this formula support team. We do not have the resources to do that sort of work.

Therefore, I'm limited to what our formula language offers. Unfortunately, what your asking for requires a circular logic.

4% move is needed to find/sell signal.
However the buy/sell signal is needed to find the 4%move. We can't do that. Our formula language can not store and retrieve that would be needed to do that logic.

To do this system, I need some condition I can apply to the various securities you are looking for. That condition, buy itself is outside of any other inputs will say whether there is a peak or trough on any given bar.

From there, I can measure 4% moves, either up or dowm to calculate your signals. This means whether your system sees a buy or sell signal will then depend on where the first condition found peaks and troughs.

Thanks!
golf4
wabbit  
#2 Posted : Monday, April 23, 2012 5:57:24 PM(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)
Jon,

As I mentioned in reply to your email; the Davis/Zweig system is only marginally profitable, but Nick Radge has done a lot of research into a similar system which has additional filtering making the system much better. Read his book, "Unholy Grails" then decide.

There are MS codes out there for similar functionality which contain a bucket-load of PREV functions so they are slooooow, but with approval from Nick, I hope to have his system coded for MS very soon.



wabbit [:D]

jjstein  
#3 Posted : Monday, April 23, 2012 6:32:02 PM(UTC)
jjstein

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)
Golf4 wrote:

You buy when the market rises by 4% from the lowest low recorded since the last sell signal.

You sell when the market falls by 4% from the highest high recorded since the last buy signal.



A few questions:

1. Is this related in any way to your post of last month?

2. When you say "rises" or "falls", is that the close, low or high?

3. What's the source for this?

Golf4  
#4 Posted : Tuesday, April 24, 2012 8:42:51 AM(UTC)
Golf4

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/1/2012(UTC)
Posts: 5

Yes, it is related to my post last month however there were missed signals. It would be using weekly rises/falls from the close to close.

Wabbit, I never got your e-mail, I even check my junk folder. I would be using this in a composite system so it would not be a standalone system.

Thanks!


Users browsing this topic
Guest (Hidden)
Similar Topics
Formula help for Exploration (Formula Assistance)
by SAINI9466637986 12/24/2023 5:53:23 AM(UTC)
Indicator and System Formula Help! (Formula Assistance)
by emmarsef$ 8/14/2019 7:10:35 AM(UTC)
Simple Formula help (Formula Assistance)
by mymetaforum 2/4/2016 2:44:07 PM(UTC)
Custom MACD Indicator Formula Help (Formula Assistance)
by mosman 1/30/2016 6:42:53 PM(UTC)
MACD formula help (Formula Assistance)
by jit005 9/7/2015 11:30:53 PM(UTC)
explorer formula help (Formula Assistance)
by dimpledbrain 3/30/2015 2:58:06 PM(UTC)
Metastock Commentary Writeif Formula Help (Formula Assistance)
by essemkay 11/23/2014 3:34:34 PM(UTC)
renko formula help (Formula Assistance)
by indexarb 7/29/2012 9:33:15 AM(UTC)
Formula Help please for specific ROC to Highest high (Formula Assistance)
by rjr27 3/21/2012 7:30:45 AM(UTC)
FDI (Fractal Demension Index) or Hurst Exponent formula help (Formula Assistance)
by TomHam 11/12/2010 12:15:43 PM(UTC)
Formula help! Previous day close (Formula Assistance)
by ericlawok 5/6/2010 12:10:49 PM(UTC)
Formula Help:EMA10 with MACD (Formula Assistance)
by asiatrader98 2/19/2009 4:22:21 AM(UTC)
Formula help: Ref() function (Formula Assistance)
by hatem 2/17/2009 4:19:35 AM(UTC)
Formula help (Formula Assistance)
by Icko 2/13/2009 3:48:31 AM(UTC)
Formula help (MetaStock)
by PeterR 12/28/2008 11:45:20 AM(UTC)
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.