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

Re: [EquisMetaStock Group] How to plot indicator only if volume condition is met?



PureBytes Links

Trading Reference Links

Hi Preston,

You are absolutely correct I do not want a continuous plot but only 
during defined periods when certains conditions are satisfied.

I am willing to learn and would be grateful if you can share the way 
you wrote your "Barsback Z" indicator.

It will be interesting.

Please attached the indicator and e-mail it to :-

pennywat@xxxxxxxxx

Thanks.

Penny


--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx> wrote:
> Penny,
> 
> Your easy options are to use binary values of 1 when true else 0 
when 
> not or surrogates such as the close, high, low or open when your 
> condition is not being met.
> 
> There is one more option which you might be able to use but you 
would 
> really need to consider whether the benefit would be worth the 
> effort. Some time ago I wrote an indicator which plotted a 
trendline 
> with support and resistance levels. The plot was not continuous 
> meaning it only plotted during the defined periods which I believe 
is 
> what you are looking for. The indicator was called "Barsback Z". 
The 
> problem with writing such code is that IT IS NOT EASY and most 
people 
> choose the first two options that I've mentioned because of the 
ease 
> in writing the code.
> 
> Preston
> 
>  
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, penny watson 
<pennywat@xxxx> 
> wrote:
> > Hi Pierre,
> > 
> > Good idea but now will have to change variable
> > according to the number of days being viewed.
> > 
> > Anymore ideas?
> > 
> > All ideas are welcome.
> > 
> > Thanks.
> > 
> > Penny
> > 
> > 
> > --- Pierre Tremblay <pt2000@xxxx> wrote:
> > 
> > > Pennywat,
> > > 
> > > You may try :
> > > 
> > > If(V>=Mov(V,20,E),HHV(C,3), LLV(L, 250))
> > > 
> > > 
> > > ...if you use 250 periods for display.
> > > 
> > > Pierre Tremblay
> > > 
> > > 
> > > pennywat a écrit:
> > > 
> > > >Hi,
> > > >
> > > >Need help to plot indicator only when volume target
> > > is met.
> > > >
> > > >If(V>=MOV(V,20,E),HHV(C,3),0)
> > > >
> > > >I have set the indicator style to dots ..........
> > > >
> > > >If the volume is met it plots a dot it at HHV(C,3)
> > > else zero is 
> > > >plotted.
> > > >
> > > >The problem is the chart will always be zero-based
> > > and I need to 
> > > >zoom in to see the chart clearly.
> > > >
> > > >Is there another way of writing this formula so it
> > > is not zero=based?
> > > >
> > > >Have tried using expert highlights but cannot plot
> > > the dot at HHV
> > > >(C,3) when volume is met.
> > > >
> > > >Is there a way to plot the dot only when volume is
> > > met else not to 
> > > >plot anything? 
> > > >
> > > >Any ideas are welcome.
> > > >
> > > >Thanks.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> > > >Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > >  
> > > >
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
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/