Page 1 of 1

Schaff Trend Cycle - BUG

Posted: Mon Apr 26, 2010 10:48 pm
by TimJS
In reviewing the latest version of Stocks & Commodities magazine, on page 96, the EasyLanguage code was provided for the Schaff Trend Cycle. Unfortunately, the code has a bug on line 2.

Plot1(_SchaffTC(TCLen,MA1,MA2), “Schaff_TLC”); The "_SchaffTC" code will not pass through the VERIFY command of TradeStation. Does anyone have any suggestions on how to resolve this?

Thanks.

TIM

Re: Schaff Trend Cycle - BUG

Posted: Tue Apr 27, 2010 9:40 am
by KWasserman S&C
Thank you for your comment. We will try to check into it.

Re: Schaff Trend Cycle - BUG

Posted: Tue Apr 27, 2010 10:39 am
by KWasserman S&C
Tim,
Apparently, the EasyLanguage code on page 96 of the April 2010 issue (which was contributed by Doug Schaff) found in the article "The Schaff Trend Cycle" may not work in the latest version of TradeStation. Please contact TradeStation technical support (http://www.TradeStation.com or https://www.tradestation.com/Discussion ... rum_ID=213) for assistance. They may be able to offer an updated version of this code.

Re: Schaff Trend Cycle - BUG

Posted: Tue Apr 27, 2010 11:23 am
by TimJS
Thanks, I spoke with TradeStation EasyLanguage team and they said that is was a BUG in the code not a TradeStation issue.