NexusFi: Find Your Edge


Home Menu

 





Limit orders settings


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
soacm
Bucharest, Romania
 
Posts: 71 since Mar 2022
Thanks Given: 38
Thanks Received: 22

Hi, does anyone have suggestions on how to make the back test results as reliable as possible when using limit orders? What settings are the most appropriate on platforms like MultiCharts or TradeStation? I already added $30 as slippage (Gold futures), let me know, thank you.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Would a node-based workflow for automated trading be useful?
Traders Hideout
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


soacm View Post
Hi, does anyone have suggestions on how to make the back test results as reliable as possible when using limit orders? What settings are the most appropriate on platforms like MultiCharts or TradeStation? I already added $30 as slippage (Gold futures), let me know, thank you.

This seems to work:
If vGoLong Then Buy("SIG-Long") vNumContracts Contracts Next Bar At Close Limit;

Rationale: For day trading, the close of the current bar should be equivalent to the open of the next bar.

Remember: to keep the backtesting as reliable as possible avoid using SetStopLoss, SetProfitTarget, etc.
Also, do not use IOG (IntrabarOrderGeneration).


Reply With Quote
  #3 (permalink)
soacm
Bucharest, Romania
 
Posts: 71 since Mar 2022
Thanks Given: 38
Thanks Received: 22



syswizard View Post
This seems to work:
If vGoLong Then Buy("SIG-Long") vNumContracts Contracts Next Bar At Close Limit;

Rationale: For day trading, the close of the current bar should be equivalent to the open of the next bar.

Remember: to keep the backtesting as reliable as possible avoid using SetStopLoss, SetProfitTarget, etc.
Also, do not use IOG (IntrabarOrderGeneration).

Hi, what about the "Backtesting assumptions" settings on MC14? Also, there are many different opinions on IOG, can you elaborate on why it shouldn't be used?
Thank you.


Reply With Quote
  #4 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


soacm View Post
Also, there are many different opinions on IOG, can you elaborate on why it shouldn't be used?

Oh, you can use it, but don't expect to have realtime trading results replicated later with a backtest.


Reply With Quote
Thanked by:




Last Updated on November 2, 2022


© 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