NexusFi: Find Your Edge


Home Menu

 





Rollover triggers for ICEUS - CC?


Discussion in TradeStation

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




 
Search this Thread

Rollover triggers for ICEUS - CC?

  #1 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24

Hi,

I have a strategy for CC (Cocoa) that works well on backtesting on the Tradestation continuous symbol (@CC). Now I want to run it live and I don't prefer to do manual rollovers but would rather be "reminded" by TS to do a rollover and thus prefer to use a rollover trigger.

However I can't seem to find a rollover trigger that works well for this contract. Does anybody know when the @CC contract does the rollover so I can try to closely match that with a rollover trigger?

Regards

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
 
  #2 (permalink)
 tr8er 
Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: TradeNavigator, BookMap
Trading: ES, CL, 6E, 6B
Posts: 704 since Jan 2017
Thanks Given: 220
Thanks Received: 709


Prophet85 View Post
Hi,

I have a strategy for CC (Cocoa) that works well on backtesting on the Tradestation continuous symbol (@CC). Now I want to run it live and I don't prefer to do manual rollovers but would rather be "reminded" by TS to do a rollover and thus prefer to use a rollover trigger.

However I can't seem to find a rollover trigger that works well for this contract. Does anybody know when the @CC contract does the rollover so I can try to closely match that with a rollover trigger?

Regards

Why the heck are you trading an instrument with such low volume and have to pay expensive ICE fees?

Here you can find available contracts and their volume, if you watch the volume, you should see when to roll: https://www.ice.com/products/7/Cocoa-Futures/expiry

Reply With Quote
  #3 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24


I appreciate your concern but the strategy I have makes plenty of average net profit per trade to cover high slippage and the monthly live data fee. Also it's nice to trade different contracts as a way to diversify.

However your advice didn't answer my question. I know that TS is not clear about when they switch different future contracts (@CC) but I thought maybe someone had some inputs. I would prefer not to do manual rollovers as I have like 20 different strategies to keep track of and I don't like to manually keep track of when to do roll overs for each.

Edit: when I use the volume rollover trigger the results are vastly different from my backtesting results.

Reply With Quote
Thanked by:
  #4 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


Prophet85 View Post
Hi,

I have a strategy for CC (Cocoa) that works well on backtesting on the Tradestation continuous symbol (@CC). Now I want to run it live and I don't prefer to do manual rollovers but would rather be "reminded" by TS to do a rollover and thus prefer to use a rollover trigger.

However I can't seem to find a rollover trigger that works well for this contract. Does anybody know when the @CC contract does the rollover so I can try to closely match that with a rollover trigger?

Regards

On your chart, have @CCk21 as data1 - that is what you are trading.

Have @CC as data2.

Create an indicator that calculates data1-data2. As soon as this is not zero, you know it is time to roll.

I actually created a paint bar indicator that does exactly this, and it is freely available, but I can't post it here because of vendor self promotion rules.


Add: I hate the ICE fees, but being able to trade Coffee, Sugar, Cotton, Orange Juice, Cocoa and the Dollar Index is well worth it.

Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24


kevinkdog View Post
I actually created a paint bar indicator that does exactly this, and it is freely available, but I can't post it here because of vendor self promotion rules.

I just tried to find it on Google.

Is it perhaps this code?:

//this paint bar will color the most recent bar green if there is a difference in the continuous contracts
//DATA1: the continuous contract you are automating/trading: example @ESZ15, @CLV15
//DATA2: the continuous contract that is always the front month: example @ES, @CL
//so, when the paint bar paints the current bar green from top to bottom on the chart, you will know
that the contract has rolled.
If BarStatus( 1 ) = 2 then begin //check only at close of bar (prevents false signals)
Condition1 = Close[1] of data1 <> Close[1] of data2 ;
Condition2 = Close[2] of data1 <> Close[2] of data2 ; //see if this makes a difference in false signals
end;
Value1 = GetAppInfo(aiHighestDispValue) ;
Value2 = GetAppInfo(aiLowestDispValue) ;
if Condition1 and Condition2 and LastBaronChart then
begin
PlotPaintBar( Value1, Value2,open,close,"plot1",green,value1,5 ) ;
Alert ;
end ;

Reply With Quote
  #6 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


Prophet85 View Post
I just tried to find it on Google.

Is it perhaps this code?:

//this paint bar will color the most recent bar green if there is a difference in the continuous contracts
//DATA1: the continuous contract you are automating/trading: example @ESZ15, @CLV15
//DATA2: the continuous contract that is always the front month: example @ES, @CL
//so, when the paint bar paints the current bar green from top to bottom on the chart, you will know
that the contract has rolled.
If BarStatus( 1 ) = 2 then begin //check only at close of bar (prevents false signals)
Condition1 = Close[1] of data1 <> Close[1] of data2 ;
Condition2 = Close[2] of data1 <> Close[2] of data2 ; //see if this makes a difference in false signals
end;
Value1 = GetAppInfo(aiHighestDispValue) ;
Value2 = GetAppInfo(aiLowestDispValue) ;
if Condition1 and Condition2 and LastBaronChart then
begin
PlotPaintBar( Value1, Value2,open,close,"plot1",green,value1,5 ) ;
Alert ;
end ;

That looks like it, you could test it today on Natural Gas, it just rolled from H to J. You should see green bar with @NGH21/@NG, but not with @NGJ21/@NG - that tells you that NGJ21 is the current contract.

Follow me on Twitter Reply With Quote
Thanked by:
  #7 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24


kevinkdog View Post
That looks like it, you could test it today on Natural Gas, it just rolled from H to J. You should see green bar with @NGH21/@NG, but not with @NGJ21/@NG - that tells you that NGJ21 is the current contract.

Awesome, thank you!

You are a great help as always. I will test it out in a bit!

Just a question. The timeframe for the data2 has to be the same as data1 I assume?

Reply With Quote
  #8 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


Prophet85 View Post
Awesome, thank you!

You are a great help as always. I will test it out in a bit!

Just a question. The timeframe for the data2 has to be the same as data1 I assume?

yes

Follow me on Twitter Reply With Quote
  #9 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24


kevinkdog View Post
yes

Just one more question. If I have a session on data1 do I have to make the exact same session on data2 also?

Reply With Quote
  #10 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360



Prophet85 View Post
Just one more question. If I have a session on data1 do I have to make the exact same session on data2 also?

yes, make it exactly the same in all respects, except for the symbol name

Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on February 22, 2021


© 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