NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Problem - Won't Go Short


Discussion in TradeStation

Updated
    1. trending_up 1,435 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

EasyLanguage Problem - Won't Go Short

  #1 (permalink)
DaddyofTwo
Manchester UK
 
Posts: 2 since Jul 2015
Thanks Given: 0
Thanks Received: 0

Hi Folks

I wonder if somebody might be able to help me. I have just got TradeStation and am trying to learn it. So far, it has been really easy to learn. But I have a little problem with a Strategy which I was developing (and was working only on the Buy side). It was making a large loss - so I tried to reverse it and for some reason it wouldn't go short. Having whittled down the code to this


Sell ( "B" ) next bar at market ;


which doesn't work but

Buy ( "B" ) next bar at market ;

does.

It doesn't seem to be a problem with having an open position left over from a previous strategy, I have tried it with different futures and applied the sell strategy first and then the buy with the same effect. Naturally I have logged out and logged in. I have coded up other strategies that worked going short using this command (although they seemed to have stopped now working and will only go long).

I am sure that it is something silly - but I have wasted half a day on this now (or to be more precise half a night). Does anybody have any ideas?

Cheers

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

DaddyofTwo,

the reason likely is that "Sell" is used for closing a long position, where "SellShort" is used to enter a short position in Tradestation.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
DaddyofTwo
Manchester UK
 
Posts: 2 since Jul 2015
Thanks Given: 0
Thanks Received: 0



ABCTG View Post
DaddyofTwo,

the reason likely is that "Sell" is used for closing a long position, where "SellShort" is used to enter a short position in Tradestation.

Regards,
ABCTG

Oh!! Many thanks I'll try it out when I next go to the office. (In fairness to me - I would have thought then they should have used BuyLong rather than "Buy")

Many thanks for your prompt reply

Reply With Quote




Last Updated on July 17, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts