Rank: Newbie
Groups: Registered, Registered Users Joined: 7/12/2013(UTC) Posts: 9
|
I entered the formula below and got the error message: "No indicator names in the indicator builder contain this text." Where do you think the error is ?
İndicator 1 (kapy) a:=valuewhen(1,(YEAR()=2013 and ((MONTH()=2 and DAYOFMONTH()>15)) or (MONTH()>2 and MONTH()<6)),c); b:=if(a>prev,a,prev); b Indikator 2 (yuky) a:=valuewhen(1,(YEAR()=2013 and ((MONTH()=2 and DAYOFMONTH()>15)) or (MONTH()>2 and MONTH()<6)),H); b:=if(a>prev,a,prev); b Filter: c>FML("kapy") AND c<FML("yuky")
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/6/2010(UTC) Posts: 113 Location: London
|
The error is inside one of the Fml functions - maybe you misspelled one of the indicator names.
A few suggestions:
if(a>prev,a,prev);
can be reduced to:
Max(a,prev);
You could also write a separate variable for the date, to make the valuewhen function easier to read.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi Ztrader
In addition to Haddison's suggestions, wouldn't it also be a good idea to eliminate PREV from your formulas. Why use PREV if it isn't necessary?
{yuky} d:=(Year()=2013 AND ((Month()=2 AND DayOfMonth()>15)) OR (Month()>2 AND Month()<6)); ValueWhen(1,d,H);
Roy
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 7/12/2013(UTC) Posts: 9
|
Hi Roy,
I can't build this formula. and got the error message always. I'm a beginner. I would be most obliged if you can create this formula completely or revise it. Regards..
İndicator 1 (kapy) a:=valuewhen(1,(YEAR()=2013 and ((MONTH()=2 and DAYOFMONTH()>15)) or (MONTH()>2 and MONTH()<6)),c); b:=if(a>prev,a,prev); b Indikator 2 (yuky) a:=valuewhen(1,(YEAR()=2013 and ((MONTH()=2 and DAYOFMONTH()>15)) or (MONTH()>2 and MONTH()<6)),H); b:=if(a>prev,a,prev); b Filter: c>FML("kapy") AND c<FML("yuky")
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/6/2010(UTC) Posts: 113 Location: London
|
What error message do you get? Do you actually have "Filter:" in the indicator box? Because if you do, it shouldn't be there.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 7/12/2013(UTC) Posts: 9
|
"Mswin must closed because error occurred" or "No indicator names in the indicator builder contain this text." is error messages
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.