PureBytes Links
Trading Reference Links
|
Hello,
Does anyone have the code for dynamic zones similar to
Zamansky&Stendahl's Dynamic Zones?
I found this code for Meta Stock. Can anyone convert it to TS? It's
beyond my capabilities.
{Zamansky&Stendahl's Dynamic Zones for MS6.5 (From the TASC July1997
article). First, for the Lookback Periods plot a 9-day RSI along with
StDev adjusted rolling 70-day SMAs; e.g., as can be seen in the
article's S&P500-example}
PR:=Input("Enter Periods for RSI",1,100,9);
PB:=Input("Enter Periods for BUY",1,100,70);
PS:=Input("Enter Periods for SELL",1,100,70);
UpZone:=Mov(RSI(PR),PS,S)+(1.3185 *Stdev(RSI(PR),PS));
LwZone:=Mov(RSI(PR),PB,S)-(1.3185 *Stdev(RSI(PR),PB));
UpZone;
LwZone;
Most indicators use a fixed zone for buy and sell signals. Here's a
concept based on zones that are responsive to past levels of the
indicator.
One approach to active investing employs the use of oscillators to
exploit tradable market trends. This investing style follows a very
simple form of logic: Enter the market only when an oscillator has moved
far above or below traditional trading levels. However, these
oscillator-driven systems lack the ability to evolve with the market
because they use fixed buy and sell zones. Traders typically use one set
of buy and sell zones for a bull market and substantially different
zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading
equations, by changing the zones, they negate the system's mechanical
nature. The objective is to have a system automatically define its own
buy and sell zones and thereby profitably trade in any market -- bull or
bear. Dynamic zones offer a solution to the problem of fixed buy and
sell zones for any oscillator-driven system.
The algorithm for the dynamic zones is a series of steps. First, decide
the value of the lookback period t. Next, decide the value of the
probability Pbuy for buy zone and value of the probability Psell for the
sell zone.
The area above and below the dynamic zones constitute the upper and
lower 10% boundaries. The zones appear to evolve with the market because
they use a rolling 70-day period of indicator values in their
construction
Thanks
FXTrader
|