NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Problem - Won't Go Short


Discussion in TradeStation

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




 
Search this Thread
  #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?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Would you consider buying or leasing an algo?
4 thanks
Big Mike in Ecuador
4 thanks
Trading Journal (Neural Network Production Pipeline Mode …
4 thanks
Trading psychology articles
4 thanks
The Scalpers Journey
2 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

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 X 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


© 2026 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 - Downloads - Top
no new posts