PureBytes Links
Trading Reference Links
|
Title: Message
Thanks for the
explanation Roy; that explains what I was getting.
For some reason I
thought it was around 20 and I was using a very simple piece of code to plot a
custom indicator (if(DayCount = x1, y1, if(
DayCount = x2, y2 . . . etc) and it certainly
threw a wobbly at 20; just spun the wheels and I evetually had to reboot to get
it out of the loop.
Regards,
Miike
Hi Mike
I think MetaStock
throws a wobbly when you get to 13 or 14 nested If() functions. If there's a
PREV in the code somewhere then MS will error sooner rather than later.
Remember that MetaStock processes the innermost parentheses first, which
means it starts with the innermost If(). I don't think there's a
documented limit, but I take 12 as a practical limit (13
choices?).
Kind regards
Roy
Larsen www.metastocktips.co.nz Free formulas and MS
links
----- Original Message ----- From: "Mike
Sloane" <mfsloane@xxxxxxxxxxxxxx> To:
<equismetastock@xxxxxxxxxxxxxxx> Sent: Wednesday, March 02, 2005
10:11 AM Subject: [EquisMetaStock Group] How many IF() functions can I nest
in a custom indicator??
>I am sure someone out there knows the
answer off the top of their head. > > How many IF() functions can
I nest in a custom indicator?? > > Thanks in advance, > Mike
Sloane >
Yahoo! Groups Sponsor |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
|