NexusFi: Find Your Edge


Home Menu

 





Profitable Bot Trading - MCL Futures


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one syswizard with 3 posts (2 thanks)
    2. looks_two loantelligence with 2 posts (3 thanks)
    3. looks_3 SamirOfSalem with 1 posts (0 thanks)
    4. looks_4 gftrader with 1 posts (0 thanks)
    1. trending_up 1,979 views
    2. thumb_up 5 thanks given
    3. group 6 followers
    1. forum 6 posts
    2. attach_file 4 attachments




 
Search this Thread

Profitable Bot Trading - MCL Futures

  #1 (permalink)
 gftrader 
Cleveland, Ohio
 
Experience: Advanced
Platform: Tradestation
Trading: Futures
Posts: 14 since Aug 2022
Thanks Given: 6
Thanks Received: 3

Hey everyone,

Curious as to whether anyone has been able to code a profitable trading bot specifically for CL or MCL futures? I have been working to accomplish this, and wanted to see if anyone else had a successful bot they were willing to share. Appreciate it!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
What broker to use for trading palladium futures
Commodities
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
51 thanks
Just another trading journal: PA, Wyckoff & Trends
21 thanks
Trading with Intuition
18 thanks
Self sabotage reframed
15 thanks
ApexTraderFunding.com experience and review
8 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

Here's one: It's a basic break-out strategy. It employes Renko bars and trailing stops and profit targets.
CL-performance-2022-10-07


CL-chart-2022-10-07

Reply With Quote
  #3 (permalink)
 SamirOfSalem   is a Vendor
 
Posts: 74 since Jan 2020
Thanks Given: 23
Thanks Received: 44



gftrader View Post
Hey everyone,

Curious as to whether anyone has been able to code a profitable trading bot specifically for CL or MCL futures? I have been working to accomplish this, and wanted to see if anyone else had a successful bot they were willing to share. Appreciate it!

Not a bot quite yet, but would an algorithm that generates 1 trade per day for a 40-cent move be considered worthwhile?

Reply With Quote
  #4 (permalink)
 loantelligence 
Syracuse, NY
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Mirus Futures/Zen-Fire
Trading: NQ
Posts: 218 since Jan 2011
Thanks Given: 31
Thanks Received: 189

Your Renko bars have very impressive numbers......when ever you use a renko type bar...you have to specify the entry is taken at the high of the bar(with a long and the low of the bar if Short)...not a standard entry....as you look at your chart all your entries are at the low end of the bar(on your longs and the high of the bar with your shorts) which gives you a false entry...the price may never be there...if you use Renko...and if you take the high of the bar not the Low....and you get completely different numbers ...NT does the same thing and if you are using Strategy Analyzer...you have to specify High rather than Standard Calculations....when using Renko...you may be using Multicharts but i see the same Error as with NT....Love your numbers...but don't quit your day job yet.........What you also need to know is that renko fills in bars that do not exist...where the price actually was and where it shows you could be two different things...here is an example


Reply With Quote
Thanked by:
  #5 (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


loantelligence View Post
Your Renko bars have very impressive numbers

Thanks.

loantelligence View Post
......when ever you use a renko type bar...you have to specify the entry is taken at the high of the bar(with a long and the low of the bar if Short)...not a standard entry

Thanks for that observation. So it appears I must change the market order to a stop order at the high of the wick or the high of the brick for longs ?
Multicharts tech support says I need to get the signal from the Renko chart but place the order from a normal candlestick chart.
More realtime forward testing needed here for sure.


loantelligence View Post
What you also need to know is that renko fills in bars that do not exist...where the price actually was and where it shows you could be two different things...here is an example

The issue is: how often does this occur ? I have to admit that "Phantom Bars" have stimied me....I'd like to know the logic of how they are formed.
So Ninja has a "BackTestMode" directive ? How does it work exactly ?

Reply With Quote
Thanked by:
  #6 (permalink)
 loantelligence 
Syracuse, NY
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Mirus Futures/Zen-Fire
Trading: NQ
Posts: 218 since Jan 2011
Thanks Given: 31
Thanks Received: 189

the Renko type bar just fills them in....when the price jumps two or more ticks the renko software create the phantom bar to get to the price and creates a nice and smooth set of bars as in the example I included...the Backtest ON actually show exact price movement and Backtest Off shows standard Renko bars..there are Renko bars out there that show exact price...these are from Shark Indicators....Backtest Bars...the other problem you have to over come is getting in at the correct entry.....if you use NT you can specify High rather that Standard Calculations...will give you a more true result....but it will still be incorrect when you go live....best test is go into Sim and Run it and see what you get....another thing you could do is change you bar size to 2....that way you will only be off by 1....or I used to make my slippage the size of the bar....if you have a slippage entry...with renko on a long...the entry should always be at the top of the bar and the exit at the top of the bar

Reply With Quote
Thanked by:
  #7 (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


loantelligence View Post
the Renko type bar just fills them in....when the price jumps two or more ticks the renko software create the phantom bar to get to the price and creates a nice and smooth set of bars as in the example I included...the Backtest ON actually show exact price movement and Backtest Off shows standard Renko bars..there are Renko bars out there that show exact price...these are from Shark Indicators....Backtest Bars...the other problem you have to over come is getting in at the correct entry.....if you use NT you can specify High rather that Standard Calculations...will give you a more true result....but it will still be incorrect when you go live....best test is go into Sim and Run it and see what you get....another thing you could do is change you bar size to 2....that way you will only be off by 1....or I used to make my slippage the size of the bar....if you have a slippage entry...with renko on a long...the entry should always be at the top of the bar and the exit at the top of the bar

Thanks much loan....you are much more knowledgeable than Multicharts tech support regarding renko bars. They act as if they are like voodoo......LOL !
Everything regarding renko has been trial-and-error for me. MC Tech support could not tell me why their regular Renko bars resulted in DRASTIC differences between backtest performance and realtime performance. However, their newer Flex Renko bars produced decent comparable results. The differences in the order execution was often related to their built-in stops.....SETTRAILING...., etc. These operate INTRABAR whereas my market orders execute END-OF-BAR.

loantelligence View Post
another thing you could do is change you bar size to 2

Well, MC has a renko setting called "resolution". Perhaps I need to experiment with that. However, I think the most important setting is brick size, no ?
BTW: I'd love to know the difference between regular Renko bars, Flex Renko bars, and Uni-Renko bars.
This is the best explanation of Renko bars I could find:
https://www.investopedia.com/terms/r/renkochart.asp.

Reply With Quote
Thanked by:




Last Updated on October 9, 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