Jump to content


Photo

SQ_MoneyManagement not recognized by TradeStation


  • Please log in to reply
2 replies to this topic

#1 kleung88

kleung88

    Advanced Member

  • Customers
  • 30 posts
  • LocationHong Kong

Posted 19 December 2016 - 01:51 PM

Hello, I converted the Strategy Builders generated strategies into TradeStations Easy Language code.  The conversion was successful, but after I pasted the codes into the TradeStation EasyLanguage editor, the following line brought out the compilation error :

 

            NumberOfShares = SQ_MoneyManagement(CapitalSize, SLSize, MoneyManagementType, TradeSize, SizeRounding, RiskPerTrade, MaxTradeSize);

 

The variables are declared OK, but the function "SQ_MoneyManagement" is not recognized by TradeStation.

 

How may I get this resolved please ?  And why would coding generated for TS not recognized by TS please ?
 



#2 tomas262

tomas262

    Advanced Member

  • Moderators
  • 1,991 posts

Posted 19 December 2016 - 11:08 PM

Hello,

 

In order to make SQ strategies work with Tradestation, you have to import some custom EasyLanguage functions into your Tradestation.

 

Follow the SQ PDF guide on page 13.



#3 kleung88

kleung88

    Advanced Member

  • Customers
  • 30 posts
  • LocationHong Kong

Posted 20 December 2016 - 03:43 AM

Thank you Advanced Member, I found them.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users