NexusFi: Find Your Edge


Home Menu

 





limit order in easylanguage becoms mkt order doesn't work


Discussion in TradeStation

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




 
 

limit order in easylanguage becoms mkt order doesn't work

 
daytraderfromH
Jupiter FL USA
 
Posts: 2 since Mar 2021
Thanks Given: 0
Thanks Received: 0

limit order in easylanguage becomes mkt order doesn't work

when i check the boxes for 0 or 1 seconds it never works.. anybody have the same issue?

format strategy>properties>automation

"replace exit limit orders with market orders 1 seconds after the strategy has filled the order"


Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
 
 
FuManChou's Avatar
 FuManChou 
Saint Paul, Minnesota, United States
 
Experience: Beginner
Platform: MultiCharts
Broker: Edge Clear LLC
Trading: MNQ
Posts: 100 since Jun 2019
Thanks Given: 1,127
Thanks Received: 120


daytraderfromH View Post
limit order in easylanguage becomes mkt order doesn't work

when i check the boxes for 0 or 1 seconds it never works.. anybody have the same issue?

format strategy>properties>automation

"replace exit limit orders with market orders 1 seconds after the strategy has filled the order"



What version of TradeStation are you using? Does your strategy fill market orders fine?

 
daytraderfromH
Jupiter FL USA
 
Posts: 2 since Mar 2021
Thanks Given: 0
Thanks Received: 0


Thanks for your message

Tradestation 9.5. Yes, market orders are executed properly.
I've changed my code so that all entry and exit orders are stop orders ... not ideal b/c of increased slippage.

I just saw that there is a Tradestation function:
MarketIfTouchedOrder(Frequency,Account,Action,SymbolCategory,Symbol,Quantity,Duration,GTDDate,IfTouched)

I'm still trying to figure out how to implement it in easylanguage. It could solve the problem more transparently than checking boxes (that don't seem to do what I think it should do..).


 



Last Updated on April 2, 2021


© 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