NexusFi: Find Your Edge


Home Menu

 





limit order in easylanguage becoms mkt order doesn't work


Discussion in TradeStation

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




 
Search this Thread
  #1 (permalink)
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"


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Datafeed for Atas
Platforms and Indicators
No book, only a stair: journaling fills where price move …
Cryptocurrency
Trump Media to sell instant access to market-moving soci …
Traders Hideout
EA
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
BERN ALGOS algo trading journal
3 thanks
NexusFi site changelog and issues/problem reporting
2 thanks
TopStep Trader disappointment
2 thanks
Want your NinjaTrader indicator created, free?
1 thanks
Running trading strategies on a VPS
1 thanks
  #2 (permalink)
 
FuManChou's Avatar
 FuManChou 
Saint Paul, Minnesota, United States
 
Experience: Intermediate
Platform: MultiCharts
Broker: Edge Clear LLC
Trading: MNQ
Frequency: Many times daily
Duration: Hours
Posts: 109 since Jun 2019
Thanks Given: 1,144
Thanks Received: 122


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?


Reply With Quote
  #3 (permalink)
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..).


Reply With Quote




Last Updated on April 2, 2021


© 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