PureBytes Links
Trading Reference Links
|
I just installed TradeStation 6 and now my 2000i code no longer works.
The code below is for a simple volatility breakout system using 65 of the
previous bars range... and we are trying to exit on the first profitable
open...as you can see below it works fine on TradeStation 2000i, but
when the same code no longer works in TradeStation 6... Any Ideas?
{2000i code}
--------------------------------------------------------------------------
Inputs: PositionBasis(True), Amount(0), Factor(.30);
Value1= TrueRange[0] * Factor;
Buy tomorrow at open of tomorrow + Value1 stop;
Sell tomorrow at open of tomorrow - Value1 stop;
If Open of next bar > entryprice then exitlong at Market;
If open of next bar < entryprice then exitshort at Market;
--------------------------------------------------------------------------
Now, when I try to plug it into TradeStation 6... I get the following
message:
"SYNTAX ERROR = word not recognized by EasyLanguage"
How can this be a syntax error? What did they do revamp EasyLanguage
Entry/exit strategies?
Any help much appreciated,
Matt Bowen
mattbowen@xxxxxxxxxxxxx
|