NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Problem - Won't Go Short


Discussion in TradeStation

Updated
    1. trending_up 1,432 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?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
NexusFi Journal Challenge - May 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
45 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

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