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

[EquisMetaStock Group] Re: code in commentary



PureBytes Links

Trading Reference Links

<expert>
Review of <name> (<symbol>)
as of <date>


On <date>, <name> closed \
writeif(c-ref(c,-1)>0, "up",  
"writeif(c-ref(c,-1)<0,"down","unchanged")") \
writeval(c-ref(c,-1)) \
at writeval(close) on volume \
writeif(((v-mov(v,90,s))/mov(v,90,s))*100>0,
"writeval(((v-mov(v,90,s))/mov(v,90,s))*100,0.2)% above average.",
"writeval(((v-mov(v,90,s))/mov(v,90,s))*-100,0.2)% below average.")

                       Statistical               Change from 
                       Volatility              Previous period
10-period   writeval(std( Log( C/Ref( C,-1)) ,10) * Sqrt(365) * 
100,7.4)\
writeval(Std( Log( C/Ref( C,-1)) ,10) * Sqrt(365) * 100-ref(Std( Log( 
C/Ref( C,-1)) ,10) * Sqrt(365) * 100,-1),17.2)
21-period   writeval(std( Log( C/Ref( C,-1)) ,21) * Sqrt(365) * 
100,7.4)\
writeval(Std( Log( C/Ref( C,-1)) ,21) * Sqrt(365) * 100-ref(Std( Log( 
C/Ref( C,-1)) ,21) * Sqrt(365) * 100,-1),17.2)
39-period   writeval(std( Log( C/Ref( C,-1)) ,39) * Sqrt(365) * 
100,7.4)\
writeval(Std( Log( C/Ref( C,-1)) ,39) * Sqrt(365) * 100-ref(Std( Log( 
C/Ref( C,-1)) ,39) * Sqrt(365) * 100,-1),17.2)
90-period   writeval(std( Log( C/Ref( C,-1)) ,90) * Sqrt(365) * 
100,7.4)\
writeval(Std( Log( C/Ref( C,-1)) ,90) * Sqrt(365) * 100-ref(Std( Log( 
C/Ref( C,-1)) ,90) * Sqrt(365) * 100,-1),17.2)

Bollinger Bands are \
\
writeval(abs((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100,0.2)% \
\
writeif(((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100>0,"wider than 
normal.","narrower than normal.") \
writeif(((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100<-40,"<name> is currently 
experiencing very low volatility as compared to its normal range.  
The probability of volatility increasing with a sharp price move is 
likely in the near future.") \
\
writeif(((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100>100,"<name> is currently 
experiencing very high volatility as compared to its normal range.  
The probability of volatility decreasing and prices consolidating is 
likely in the near future.")  \
\
writeif(BarsSince(((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100<-40)<=5 AND EngulfingBull() 
AND
V>1.25*Mov(V,20,S),"A bullish engulfing line candlestick pattern has 
developed on increased volume during a low volatility period.  The 
probability of a short-term breakout to the upside has increased.  If 
you trade this breakout, be sure to place a tight stop at or slightly 
below writeval(llv(low,3)).")\
\
writeif(BarsSince(((BBandTop(C,20,E,2)-BBandBot(C,20,E,2))-
(Mov(BBandTop(C,20,E,2)-BBandBot(C,20,E,2),90,S)))/(Mov(BBandTop
(C,20,E,2)-BBandBot(C,20,E,2),90,S))*100<-40)<=5 AND EngulfingBear() 
AND
V>1.25*Mov(V,20,S),"A bearish engulfing line candlestick pattern has 
developed on increased volume during a low volatility period.  The 
probability of a short-term breakout to the downside has increased.  
If you trade this breakout, be sure to place a tight stop at or 
slightly above writeval(hhv(h,3)).")


This commentary is not a recommendation to buy or sell, but rather a 
guideline to interpreting the specified indicators.  This information 
should only be used by investors who are aware of the risk inherent 
in securities trading.  Equis accepts no liability whatsoever for any 
loss arising from any use of this expert or its contents.




--- In equismetastock@xxxxxxxxxxxxxxx, "Sathya" <prassathya@xxx> 
wrote:
>
> Preston,
> i already check in your instruction before , but i could not
> discibe as i want. you may give one sample of the code i required 
than
> i can developed by my self.
> 
> Thanks
> Sat
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@> wrote:
> >
> > Sat,
> > 
> > The best examples are the ones provided in the software. 
> > Open the expert icon, choose an expert, then choose the edit icon 
> and 
> > finally look under commentary. 
> > 
> > This is also covered in the users manual.
> > 
> > Preston
> > 
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, "Sathya" <prassathya@> 
> > wrote:
> > >
> > > pls help,,,,,
> > > 
> > > i want to write a code in commentary ms
> > > 
> > > WriteVal(Mul(Volume,c),0.0) --> this is calculated 
vol*close ,,, 
> > > how to calculate v*average price(H+l+c)/3 or typical()
> > > and how to write this code in commentary (C-L)-(H-C)/(H-L)*V*
(C)-V
> > > 
> > > would you please give a sample code to use "fml" function in 
> > commentary 
> > > to run indicator
> > > 
> > > appreciated your attention 
> > > 
> > > Thanks
> > > Sat
> > >
> >
>



------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/