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

[EquisMetaStock Group] Re: Help sought in identifying my mistake



PureBytes Links

Trading Reference Links

I think that apart from the wrong fml("") used, there is also 
something wrong with the parenthesis.

I think it should be something like this:

gvrange:= (HIGH - LOW)*100 / (HIGH+LOW) ;

Then you could remove the many ifs' by using something like this:

gvfactor:=int(gvrange/5)+1 ;

The only problem with this last one is that when you have gvrange=5 
for e.g. it will plot a 2. But I think this will not affect that much.

Regards,

mc

--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxx> wrote:
>
> GV,
> 
> Try this:
> 
> 
> gvrange:= ((HIGH - LOW)*100 / HIGH+LOW) ;
> gvfactor:= If(gvrange <= 5 , 1 , If(gvrange <= 10, 2 , ...... etc.
> 
> 
> 
> GVRANGE is not a custom formula until it is written and stored in 
the 
> indicator builder file. If it was previously written and stored you 
> can call upon it in the gfactor variable array. Spelling must be 
> exact and the best way to get it right is by using functions 
listing 
> in the indicator builder.
> 
> 
> Preston
>   
>  
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "Vasanth Mohan G Buddaan" 
> <vgbudawn@> wrote:
> >
> > Tried to build a custom indicator by defining a range and naming 
it 
> as a custom formula and tried using this formula later.
> > 
> > 
> > My formula lines are;
> > 
> > gvrange:= ((HIGH - LOW)*100 / HIGH+LOW) ;
> > 
> > gvfactor:= If( Fml("gvrange") <= 5 , 1 , If( Fml("gvrange") <= 
10, 
> 2 , ...... etc.
> > 
> > 
> > But I get the error message "No indicator names in the indicator 
> builder contain this text" with the cursor positioned just before 
> ("gvrange")
> > 
> > 
> > Can somebody please point out the mistake I have made.
> > 
> > 
> > Thanks in advance.
> > gv
> >
>



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

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/