NexusFi: Find Your Edge


Home Menu

 





Bot Trading - MCL Futures


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one syswizard with 30 posts (6 thanks)
    2. looks_two kevinkdog with 26 posts (27 thanks)
    3. looks_3 Hulk with 9 posts (20 thanks)
    4. looks_4 SMCJB with 9 posts (13 thanks)
      Best Posters
    1. looks_one Hulk with 2.2 thanks per post
    2. looks_two FastNCurious with 1.8 thanks per post
    3. looks_3 SMCJB with 1.4 thanks per post
    4. looks_4 kevinkdog with 1 thanks per post
    1. trending_up 21,446 views
    2. thumb_up 114 thanks given
    3. group 457 followers
    1. forum 119 posts
    2. attach_file 15 attachments




 
Search this Thread

Bot Trading - MCL Futures

  #51 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


syswizard View Post
Whenever I create a parameter, I am always thinking:
Should this parameter VARY based on volatility or some other factor/measure ?
In other words make the parameter dynamic instead of fixed.

BTW: that 65 parameter....why not 60, why not 70 ?

Nothing wrong with dynamic values. Sometimes better, sometimes not, but worth testing. Normally, I do walkforward testing, so the parameters can become dynamic from that process.

For the 65 choice: I was thinking 3 months momentum, to identify bigger trends.

21 trading days per month x 3 = 63 which I rounded to 65.

Once I test with my out of sample / walkforward approach, I never go back and try other values (that usually leads to curvefitting and overoptimization). I'm sure there are better combinations of all parameters out there that would create a better in-sample backtest, but that is not the point of backtesting.




Earlier you posted "65 day lookback ? wow."

I'm curious, why "wow?"

Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #52 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177


kevinkdog View Post

Hope you can join me and everyone else in Cleveland for the next event!


Please and thank you! I will be there!

Visit my NexusFi Trade Journal Reply With Quote
  #53 (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



kevinkdog View Post
Earlier you posted "65 day lookback ? wow."
I'm curious, why "wow?"

To me that was a long way back. But then again, it probably is appropriate for a longer term trading system.
It probably correlates to the ATIT (Average Time In Trade).

Reply With Quote
  #54 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177


syswizard View Post
Whenever I create a parameter, I am always thinking:
Should this parameter VARY based on volatility or some other factor/measure ?
In other words make the parameter dynamic instead of fixed.

BTW: that 65 parameter....why not 60, why not 70 ?

IMO the less optimization the better because you have less chance of overfitting the data. However I could see that intraday systems might require a bit more optimizations than a longer term holding strategy like the one @kevinkdog gave away here. But in regards to kevins system a 60 or 70 value most likely wont significantly change the results. But since you hade the idea maybe you should test it and optimize to your hearts delight.


Here is another system worth checking out:

about as stupid simple as it gets and extremely profitable as you can see but not without large drawdowns.



 
Code
//apply to 369 min bars of @CL
//Walkforward from 1-1-2004 to 8-6-2022
// in period 756
// out period 252

Inputs:
    Len(100);         //optimize from 20-200x20               
 
    
//SIMPLE MOMENTUM   
    if close>close[Len] then buy next bar at market; 
    if close<close[Len] then sellshort next bar at market;

Visit my NexusFi Trade Journal Reply With Quote
  #55 (permalink)
 
blackgrey45's Avatar
 blackgrey45 
Marco Island, FL
Legendary Market Wizard
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP Global
Trading: MCL ES ZN MGC E6
Frequency: Several times daily
Duration: Minutes
Posts: 760 since Jul 2022
Thanks Given: 859
Thanks Received: 904

What does optimization mean?

Visit my NexusFi Trade Journal Reply With Quote
  #56 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


blackgrey45 View Post
What does optimization mean?

Let's say you are looking at a breakout system, buying when X day high is hit, selling short when X day low is hit.

X is a variable length you choose, and you look at a 5 day, 10 day, 15 day, etc. length. One will produce the best result for Net Profit. That is optimizing.

Follow me on Twitter Reply With Quote
Thanked by:
  #57 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


syswizard View Post
To me that was a long way back. But then again, it probably is appropriate for a longer term trading system.
It probably correlates to the ATIT (Average Time In Trade).

Average time in trade in 8 days. 12 days for winners, 5 days for losers.

Follow me on Twitter Reply With Quote
  #58 (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


FastNCurious View Post
Here is another system worth checking out:
about as stupid simple as it gets and extremely profitable as you can see but not without large drawdowns.


 
Code
//apply to 369 min bars of @CL
//Walkforward from 1-1-2004 to 8-6-2022
// in period 756
// out period 252

Inputs:
    Len(100);         //optimize from 20-200x20               
 
    
//SIMPLE MOMENTUM   
    if close>close[Len] then buy next bar at market; 
    if close<close[Len] then sellshort next bar at market;

Very impressive....but still:
trades #210 to #400 resulted in flat performance....no profits.
However, no big losses either.

Reply With Quote
  #59 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177

Some systems go dormant for long periods just treading water but they burst upward when favorable conditions arise.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #60 (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


Anyone keeping track of monthly trading volumes for the E-Minis ?
I know the CME puts something together, but their format is not the best.

Reply With Quote




Last Updated on September 23, 2022


© 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