logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Gregor  
#1 Posted : Sunday, July 3, 2011 1:10:02 PM(UTC)
Gregor

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 6/12/2007(UTC)
Posts: 32

Trying to use FmlVar() to have the data array "STMA" from the formula titled "$Gregor (IP)-band" appear in expert comentry titled "test". Problem is I'm only getting the expert comentry formula not the data array to appear.

{$Gregor (IP)-band}

x:=Input("Short Term Moving Average",7,14,7);
y:=Input("Envelopes Percentage variation",1,99,5)/100;
a:=x*5;

STMA:=Mov(C,x,E);
UB:=Mov(C,x,S)*(1+y);
LB:=Mov(C,x,S)*(1-y);
LTMA:=Mov(C,a,E);

STMA;
UB;
LB;
LTMA;

{Expert Comentry Test}

This is an analysis of

<NAME> (<SYMBOL>) using the <EXPERT>

Writeal( FmlVar("$ Gregor (IP) - Bands","STMA") )

Yours Gregor

mstt  
#2 Posted : Sunday, July 3, 2011 6:41:05 PM(UTC)
mstt

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 Gregor It would probably help if you used the correct function name (WriteVal instead of Writeal), and it would also useful to use the correct indicator name for the expert. There are several differences between the name you have given the indicator and the indicator name called by the expert. Having made the necessary corrections I have no problem reporting the value of the STMA variable in a tests expert. Roy
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.