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

[Metastockusers] Re: help with stop formula



PureBytes Links

Trading Reference Links

I think the term "Strata" is an arbitrary word used by the author of 
the formula. It is not a Metastock word as such. To make the term 
strata an input you can change (depending on the price of the stock 
or index you are applying it to) try this:
strata:=Input("Amount",.1,50,10);
      If(
         C=PREV,
         PREV,
         If(
            ((Ref(C,-1)<PREV)AND (C<PREV)),
            Min(PREV,C*(1+strata/100)),
            If(
               (Ref(C,-1)>PREV) AND (C>PREV),
               Max(PREV,C*(1-strata/100)),
               If(
                  C>PREV,
                  C*(1-strata/100),
                  C*(1+strata/100)
               )
            )
         )
      )
When the formula is applied to a chart input an amount. For the sp500 
index I used .2



To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

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