TradeStation学习:三十日均线突破交易策略

if MarketPosition=0 and (C Cross Above Average(Close,30)) then
     Buy 40000 shares next bar at market ;

if MarketPosition=1 and (C Cross Under Average(Close,30)) then
     Sell 40000 shares next bar at market ;

 

你可能感兴趣的:(easylanguage,易语言,TradeStation)