Tuesday, November 18, 2008     | Register
TradersStudio Forums
Subject: MACD Bound Limits

You are not authorized to post a reply.   
Author Messages
jrbeaudoin
Posts:2

12-16-2007 1:52 AM Alert 

I am working on a system that uses a relatively long MACD length (250 days).  When I try to run the system, I get a run-time error stating that "xaverage: Period+Offest out of bounds."

Is there a workaround for this error?  I noticed that TS did graph and calculate the longer MACD when the MACD was added to a chart through the quick charts tools.  So, I would assume that there is a way to use the calculation.  I just can't seem to figure it out.  Any suggestions? 

murray
Posts:431

12-16-2007 11:20 PM Alert 
Simple go into Session panel and increase  bars back to 500. , If you are using 250 for MACD lenght. This will solve your problem. 300 might work depending on what the third MACD smooth is. You need to use at least longest MA+Smooth MA lenght.
You are not authorized to post a reply.



ActiveForums 3.6
TradersStudio® Copyright 2004-2008 All Rights Reserved   |  Privacy Statement  |  Terms Of Use