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

[Metastockusers] Custom Indicator and variable input



PureBytes Links

Trading Reference Links

Sorry for the - I think - stupid question...

I want to have two values to let evaluate to Metastock: n0 (the initial
time), and n1 (time evaluated today) in such a way that I'll obtain a
variable input for a personal function.

__ For example: ______________________

n0:= Input("n0",1,1000,20);
n1:=n0* (expression of my input function );

(MyIndicator which uses n1 as input)

____________________________________

Metastock says me "this variable and expression must contain only constant
data" referred to n1.

So, I'd like a variable input for my indicator (hehehe as everyone?) and I
don't know the right formulation of it.

I suppose I could try with "if statements"?



Thanks in advance

rob.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/