NexusFi: Find Your Edge


Home Menu

 





THREE SET UPS


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one Jeff Castille with 215 posts (430 thanks)
    2. looks_two cunparis with 146 posts (154 thanks)
    3. looks_3 shodson with 125 posts (211 thanks)
    4. looks_4 Fat Tails with 73 posts (189 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.6 thanks per post
    2. looks_two Jeff Castille with 2 thanks per post
    3. looks_3 shodson with 1.7 thanks per post
    4. looks_4 cunparis with 1.1 thanks per post
    1. trending_up 253,543 views
    2. thumb_up 1,369 thanks given
    3. group 124 followers
    1. forum 1,073 posts
    2. attach_file 239 attachments




 
Search this Thread

THREE SET UPS

  #801 (permalink)
 
vast's Avatar
 vast 
Australia
 
Experience: Intermediate
Platform: Ninja
Posts: 167 since Jun 2009
Thanks Given: 154
Thanks Received: 62

Thanks Shodson.
Is there a way to make the strat set the stop based on the trigger bar?
I tried to do it, but could only use a set number of ticks.
I see a few of your trades had stops that were larger than that would have been if you had taken the trade manually.
I find the strat thing rather frustrating as it it seems very difficult to code such things.
Regards

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #802 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


shodson View Post
IBs
CL 15min, enter on 1-range bars
Measure the size of the IB
Take first breakout
Target = IB size
Stop loss = IB size
Risk/Reward = 1/1
Avoid lunch
No news filters
See attached spreadsheet, CL-03 through CL-08, one sheet for each contract

Trade accordingly.

Sorry, I realized a bug in the algo, the stop losses were too large. I fixed and re-tested. Got better results. Updated the spreadsheet attached.

Attached Files
Elite Membership required to download: CL-testing-target-IB-size.xlsx
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #803 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709



vast View Post
Thanks Shodson.
I see a few of your trades had stops that were larger than that would have been if you had taken the trade manually.

That was a bug that I fixed, check out the same chart with the fixed strat.


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #804 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,093


shodson View Post
Sorry, I realized a bug in the algo, the stop losses were too large. I fixed and re-tested. Got better results. Updated the spreadsheet attached.

Good work. A 1:1 ratio would make me a lot more confortable. Unfortunately I suspect it might make less than a 15 tick target. I'll try to run the test on my strategy to see if I get the same results. Tradestation has continuous contracts so I can run it on the past 3 years.

Do you think slippage will be an issue?

We can see that recent months have done better than the first ones.

Have you tried making a continuous contract? You can export your data for each month, rename it CL ##-##.txt and then re-import it. Once you have made it you can then run one test for the 6 months.

Follow me on Twitter Reply With Quote
  #805 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


Jeff Castille View Post
Hey Shodson,

Nice work!!

Are you going to be able to add a news filter?

Also, are you going to be able to test different money management strategies?

Thanks, Jeff

The backtesting news DB will take a lot of work so I may not have it ready any time soon.

I plan to test more target scenarios and different money mgt strategies though.

See those orange bars? Those are IBs where IB size < ATR/2, which seem to often make big moves, often twice the size of IB bar size. It's in my backtesting Inbox. They don't happen very often during RTH though.

The double IBs are also very powerful.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #806 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


cunparis View Post
Good work. A 1:1 ratio would make me a lot more confortable. Unfortunately I suspect it might make less than a 15 tick target. I'll try to run the test on my strategy to see if I get the same results. Tradestation has continuous contracts so I can run it on the past 3 years.

Do you think slippage will be an issue?

We can see that recent months have done better than the first ones.

Have you tried making a continuous contract? You can export your data for each month, rename it CL ##-##.txt and then re-import it. Once you have made it you can then run one test for the 6 months.

Slippage: Not so much. Entering on a 1-range bar can give you up to 3 ticks of slippage already so I think it's baked in.

Continuous: I have a CL-##-## with minute data but I have a hard time merging range/tick data into it, so it's no good for testing with my 1-range bar entries. That's why these test take me a while.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #807 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,093


shodson View Post
Slippage: Not so much. Entering on a 1-range bar can give you up to 3 ticks of slippage already so I think it's baked in.

Continuous: I have a CL-##-## with minute data but I have a hard time merging range/tick data into it, so it's no good for testing with my 1-range bar entries. That's why these test take me a while.

I used to make continuous tick data and I didn't have any difficulties. I didn't adjust for the rollover since I didn't hold crude overnight.

If you want I could try exporting CL tick data for 6 months with tradestation. I can export minute but I am not sure about tick.

For your entry - when I traded this I used a stop limit order so that I didn't have slippage. Often on the dax it'll pass me up but it always pulls back a few ticks and I get in. So that limit order ends up saving me a few ticks quite a lot. Getting an extra tick sounds like a little but it will add a huge amount to your p/l. In ES my average trade last month was just 1 pt. So every tick counts.

Follow me on Twitter Reply With Quote
Thanked by:
  #808 (permalink)
 
cunparis's Avatar
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
Posts: 2,565 since Jun 2009
Thanks Given: 1,162
Thanks Received: 2,093


shodson View Post
Slippage: Not so much. Entering on a 1-range bar can give you up to 3 ticks of slippage already so I think it's baked in.

Continuous: I have a CL-##-## with minute data but I have a hard time merging range/tick data into it, so it's no good for testing with my 1-range bar entries. That's why these test take me a while.

One more idea. It's complicated but with ninja you can use a range bar for timing your entries and you can put in a stop limit order when you're close to one extreme of the IB. If you move back to the other side (across halfway pt) you can cancel the stop-limit and place one on the other side. Or if you don't use live until canceled you just set it when you need it (when you're close to the breakout pt). I suspect stop limit will increase your profits.

Follow me on Twitter Reply With Quote
  #809 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


cunparis View Post
One more idea. It's complicated but with ninja you can use a range bar for timing your entries and you can put in a stop limit order when you're close to one extreme of the IB. If you move back to the other side (across halfway pt) you can cancel the stop-limit and place one on the other side. Or if you don't use live until canceled you just set it when you need it (when you're close to the breakout pt). I suspect stop limit will increase your profits.

Yeah, I've thought of that before, but like you said it's complicated to code, but do-able. I think the stop limit orders are a good idea. I wish Ninja would just allow us to place multiple stop limit orders, like an OCO, in an ATS, would make things easier.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #810 (permalink)
 
vast's Avatar
 vast 
Australia
 
Experience: Intermediate
Platform: Ninja
Posts: 167 since Jun 2009
Thanks Given: 154
Thanks Received: 62


Thanks again Shodsun.
How did you get that code to work?
I couldn't get it worked out. Well done.
Any chance of seeing the code for the strat?
I am sure there must a way of putting in a time filter for news. The main one would be inventory news. Wed and Thursday. Oil @ 10:30 EST on Wed and Gas on Thursday @ 10:30.
These would be the main ones. Along with FOMC...
They are regular and would help with the testing

Reply With Quote




Last Updated on May 15, 2014


© 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