PureBytes Links
Trading Reference Links
|
charles,
here is metastock code posted by a member on the metastock list some
time back. i'll try to look through old email and find the authors name.
Pds:=21;
Mult:=3;
TruRan:=Mov(ATR(1),Pds,W)*Mult;
HiLimit:=HHV(H,Pds)-TruRan;
LoLimit:=LLV(L,Pds)+TruRan;
If(C>HiLimit,HiLimit,LoLimit)
below is my version of the tradestation code for comparison.
INPUTS:PDS(NUMERIC),MULT(NUMERIC);
VARS:TTT(C),TREND(0),AVGRANGE(0);
AVGRANGE = WAVERAGE(TRUERANGE,PDS)*MULT;
IF C CROSSES ABOVE TTT OR CLOSE > TTT THEN TREND = 1 ELSE
IF C CROSSES BELOW TTT OR CLOSE < TTT THEN TREND = -1 ELSE
TREND = TREND[1];
IF TREND = 1 THEN TTT = HIGHEST(C,MRO(TREND CROSSES ABOVE 0,200,1)+1) -
AVGRANGE;
IF TREND = -1 THEN TTT = LOWEST(C,MRO(TREND CROSSES BELOW 0,200,1)+1) +
AVGRANGE;
@TTT = TTT;
as a sidenote, if you are getting results that are similar but not exact
to the ones in the article you may want to consider your data. i usually
try to code the formula from tasc and have yet to get the exact results,
even using the formula posted in the article. i quickly looked through
the article but did not see the specifics on the data the author used.
ive been using this indicator myself recently and if there is any other
help i could give just let me know. id be most interested in hearing
your conclusions.
good luck
al neubauer
neubauer@xxxxxxxxxxxxx
charles meyer wrote:
>
> ----------
> From: M. G. MAJOR <optionsgmtrading@xxxxxxxxxxxxx>
> To: Charles Meyer <chmeyer@xxxxxxxx>
> Subject: GEN - What is the EXACT MetaStock (v4.0) Formula for "TRADING THE
> TREND" ? T.S&C mag.,09-98, p.38.
> Date: Thursday, February 18, 1999 10:05 PM
>
> Hi Charles,
> could you please foward this message to RealTraders Discussion group, I try
> three times tonight but I don't know why, I'm unable to post it ONLY at
> that place.
>
> ____________________________________________________________________________
> ______________________________
>
> Hi,
>
> the following is about an article that appear recently In T.S&C - Technical
> Analysis of Stocks & Commodities magazine, September 98, p.38 "Trading the
> Trend", its a POWERFULL volatility indicator SYSTEM, with specific in and
> out rules, for trading the markets; STOCKS, FUTURES,...
> ..........the PROBLEM is we are trying to clarify the article, and
> implenting the formula using MetaStock.......
>
> This formula was originally designed on a TradeStation soft., but for those
> using MetaStock ...nothing. I contacted, the author of this article and
> also the editor of T.S&C....but they didn't help since probably....not
> using TradeStation.
>
> Since MetaStock is very similar and so powerfull trading software, is there
> anybody who has implented this Custom Formula (WITH EXACT RESULTS AS THOSE
> of Figure 1, as proof, regarding CMB stock (please note this was before the
> split) from August 1 st 96 TO November 14 th 97) ?
>
> The interest for this formula is GREAT, many fellows using TradeStation
> report trading success trading using it, SO many power MetaStock users
> contact me for help....
>
> Again I would appreciate if the author, or anybody at T.S&C magazine,
> finally decide also to really help, all among us; .users of MetaStock, also
> reader of T.S&C.
>
> Hope somebody, somewhere, even a TradeStation user could eventually help
> us........
> Thank's a lot, in advance for collaboration.....it's a matter for ALL
> TRADERS !
> PLEASE HELP.
>
> ***** THANK'S YOU FOR YOUR COLLABORATION *****
>
> M. G. MAJOR
> OptionsGMTrading@xxxxxxxxxxxxx
> ____________________________________________________________________________
> ______________________________
>
> Thank you Charles,
> M. G. MAJOR
> OptionsGMTrading@xxxxxxxxxxxxx
|