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

Re: [EquisMetaStock Group] Re: Envelope of an Oscillator



PureBytes Links

Trading Reference Links

Hi Marion,
  I’ve been looking in the web and haven’t found anything about Linda Bradford- Raschke's 30/10 Oscillator, but I found this instead: 
  “What are the parameters for the 3/10 oscillator?
  To construct this oscillator, first subtract a 10 period simple moving average from a 3 period simple moving average. We often refer to this as the "fast line." Next, create a 16-period simple moving average of the "fast line" - we refer to this line as the "slow line." It is also useful to plot a horizontal line at the zero value. We plot all three lines together on our charts beneath the price.  For some indicators, such as the 3/10 oscillator, we provide subscribers with downloadable TradeStation code files.”
  And here is the formula:
   
  A1:=Mov(C,10,S);
  A2:=Mov(C,3,S);
  A3:=A1-A2;
  A4:=Mov(A3,16,S);
   
  A3;A4
   
  Is this what you are looking for?
   
  Eduardo.


Marion Dickey <mbdick43@xxxxxxx> wrote:          Would anyone know the Metastock code, or where I might find the Metastock code for Linda Bradford- Raschke's 30/10 Oscillator?
Thanks in advance,
Marion
----- Original Message ----- 
From: Jose Silva 
To: equismetastock@xxxxxxxxxxxxxxx 
Sent: Saturday, August 19, 2006 5:23 PM
Subject: [EquisMetaStock Group] Re: Envelope of an Oscillator

Normalization code adapted from formula found at
http://www.metastocktools.com :

===========================
Normalized Edson Oscillator
===========================
---8<---------------------------------------------

{ Normalizes indicator to -100% ~ +100% boundaries.
From: http://www.metastocktools.com }

{ User inputs }
plot:=Input("plot: [1]Indicator, [2]Oscillator",1,2,2);
pds:=Input("Indicator periods",1,2600,21);

{ Indicator - Edson's oscillator example }
Ind:=fml("AAA");

{ Normalize indicator to historical highs/lows }
Oscillator:=(Ind-Lowest(Ind))
/Max(Highest(Ind)-Lowest(Ind),.000001)*200-100;

{ Plot:
Indicator on chart, oscillator in own window }
If(plot=1,Ind,Oscillator)

---8<---------------------------------------------

jose '-)
http://www.metastocktools.com

--- In equismetastock@xxxxxxxxxxxxxxx, "Edson L F" <edsonlf@xxx> 
wrote:
>
> Hi all,
> 
> It would like to know as to make an envelope for oscillators with
> positive and negative scale (i.e: +1000/0/-1000). I tried this:
> 
> **************************************************************
> 
> ft1:=Input("Vertical %), 0,2000,200);
> CMOV:=fml("AAA") {oscilador};
> x:=Mov(CMOV,100,E);
> VShUP:= x*(1+(ft1/100) );
> VShUP:= x*(1-(ft1/100) );
> UP:=if(VShUP<0,-VShUP,VShUP);
> DN:=if(VShDN>0,-VShDN,VShDN);
> UP;DN
> 
> **************************************************************
> 
> In this case, the bands of the envelope if find in "0" (zero).
> 
> How to make them bands to be parallel with "x"? 
> 
> Thanks,
> 
> Edson 

[Non-text portions of this message have been removed]



         

 		
---------------------------------
 The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/