NexusFi: Find Your Edge


Home Menu

 





limit order in easylanguage becoms mkt order doesn't work


Discussion in TradeStation

Updated
    1. trending_up 2,221 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?
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Bond Market Rout -- Worst Week Since Russias 2022 Invasi …
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 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