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

RE: Metastock 7.02 Upgrade..Profitunity



PureBytes Links

Trading Reference Links

J,

You might try editing the Profitunity expert.  Yes, I know, it is
password protected but you can still change the alert settings
from ON to OFF to ON and then hit OK.  This may re-write the
expert when the OK is pressed.  I had to do this to get one of my experts to
work that I
had written.  Do this on each piece of the expert and see if this
helps.  Of course, I was getting a corrupted binary header message, not an
invalid opcode.  You may also want to check your PC for corrupted
windows system files (presuming you are using win98).  Start..run..sfc
is the command sequence.  I have found that when you get frequent crashes
in Win98, that you need to run this utility to see if any system files are
corrupted.
You can also use the sfc utility to replace any corrupted files.

Thanks,


Ron Stockstill

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of j seed
Sent: Monday, July 24, 2000 3:22 PM
To: metastock@xxxxxxxxxxxxx
Subject: RE: Metastock 7.02 Upgrade..Profitunity


Ron,
You're lucky, my new profitunity doesn't work and I get a bad op-code
message. My old Bill Williams-Profitunity expert still works and here is the
code from it. Hope this helps.
J.

Profitunity Commentary
of
<Name> (<SYMBOL>)
By Bill Williams, Ph.D.

writeif(mov(v,10,s)=0,"Warning:  This expert requires volume data in order
to calculate.  Please apply this expert to securities with volume data
only")\

Previous Bar        Current Bar
Volume      writeval(ref(v,-1),0.0)     writeval(v,15.0)
MFI         writeval(100000*Ref(((H-L)/V),-1),0.2)
writeval(100000*(h-l)/v,17.2)

writeif( ((H-L)/V)>Ref(((H-L)/V),-1) AND V>Ref(V,-1), "The current bar on
the <name> chart is called a green bar.  This bar shows an increase in
volume and MFI relative to the previous bar.  Hence, we have price movement,
and the MFI is larger for this bar than that for the previous bar.  Further,
more players are entering the market as signaled by the increase in volume.
This activity in the futures market means that off-floor traders are very
active.  In addition, the price action is directional--that is, the market
is moving in one direction due to the involvement of new traders putting on
new positions.  This is the kind of day that you would already want to have
a trade on in the same direction.")\
\
writeif( ((H-L)/V)<Ref(((H-L)/V),-1) AND V>Ref(V,-1), "The current bar on
the <name> chart is called a squat bar.  This bar shows an increase in
volume relative to the previous bar, but the MFI is lower.  The increase in
volume indicates heavy activity, but the decrease in the MFI indicates that
the market is unable to make any real headway.  Volume increased, the trend
has stalled and the price movement has stopped.  This price action usually,
but not always occurs prior to an important move in the opposite direction.
   I call this type of bar a squat bar because the market appears to be
squatting prior to a breakout.  Often, the breakout of such a bar will
indicate whether this squat is a trend reversal squat or a trend
continuation squat.")\
\
writeif( ((H-L)/V)<Ref(((H-L)/V),-1) AND V<Ref(V,-1), "The current bar on
the <name> chart is called a fade bar.  This bar shows a decrease in volume
and MFI relative to the previous bar.  The market has slowed and there is a
minor amount of activity as indicated by the low volume.  I call this type
of day a fade, as the traders' interest in the market by this point is
fading.  Often, this sort of day happens at the end of a trend.  The market
has simply reached a point where nobody is willing to establish any new
positions.  At this point the market appears to be suffering from a certain
amount of boredom.  Keep in mind, however, that out of this market
condition, a new trend could emerge.")\
\
writeif( ((H-L)/V)>Ref(((H-L)/V),-1) AND V<Ref(V,-1), "The current bar on
the <name> chart is called a fake bar.  This bar shows a decrease in volume
but an increase in the MFI.  This condition denotes that the market is
moving more relative to the previous bar (the greater MFI), but the lack of
volume is evidence that there is no new participation.  The price action may
be driven by just the traders in the pit and is not attracting new players
from the outside.  I have a hypothesis that the traders in the pit may be
just strong enough to push the market to price levels where there are many
stop orders resting in the hands of the brokers, hence faking out the
off-floor traders.")
{If((H-L)/V>Ref((H-L)/V,-1),PREV+((H-L)/V),PREV-((H-L)/V))}


>From: "Ron Stockstill" <stocks@xxxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: RE: Metastock 7.02 Upgrade
>Date: Mon, 24 Jul 2000 09:56:41 -0500
>
>Ken,
>
>I have already converted the formulas and do not have the original
>files to send you.  The problem was I had 2 formulas that were not
>syntactically
>correct any more and that apparently caused several formulas to not
>convert.  I respect your statement of confidentiality, but I do not
>have the files any more to send to you.  I was able to correctly convert
>all files except for one template.  It was simpler to just re-create this
>one template than to debug the conversion process.  In any case, I would
>highly recommend to other MS upgraders to follow the process I outlined to
>verify that all your experts, formulas, system tests, etc., are correct
>before doing the upgrade.  It only takes an hour or so to pull down all
>the custom indicators on a chart and to execute the trading systems to
>verify they still function.  It also will save you a lot of grief.
>
>Now I have spotted an error in the Profitunity expert in 7.02 where it does
>not
>color the red and green zones.  Since the formulas are password protected,
>I will have to guess to get this corrected.  I am very familiar with
>Bill William's work so the problem is that the red and green colors are not
>being plotted.  The gray color indicates that the close is inside the
>alligator (3 moving average lines).  The green zone indicates the close is
>above the alligator; the red zone indicates the close is below the
>indicator.
>
>See attached gif.  You will note that between the vertical bars that the
>close
>was above the alligator.  If you slide the bars over to other areas not
>colored,
>you will see the truth of coloring the ribbon is outlined above.  If you
>look
>on the back of the "Getting Started Manual shipping with 7.02" you will see
>the red and green zones being properly colored.
>
>Thanks,
>
>
>Ron Stockstill
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com