THREE SET UPS - futures io
futures io



THREE SET UPS


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one Jeff Castille with 215 posts (429 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 221,847 views
    2. thumb_up 1,368 thanks given
    3. group 125 followers
    1. forum 1,073 posts
    2. attach_file 239 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

THREE SET UPS

(login for full post details)
  #291 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,203 received

For the record, I have been creating my strategies using NJ Wizard (learn how to modify the code to meet my needs) and cut-and-paste from other sample strategies. Am not in a position to share them though the Inside Bar ones seem so far working normal.

Here they come my Entry codes if they may help some of you (though I doubt it) ..

The following for the InsideBarLong strategy:

 
Code
 
protectedoverridevoid OnBarUpdate()
{ 
// put at top of OnBarUpdate()
if (Historical && !BackTestEnable) 
return;
 
//Definition of Inside Bar Entry
int bo = CurrentBar < Bars.Count - 1 ? 0 : (CalculateOnBarClose ? 0 : 1);
if (CurrentBar == 0) return;
 

// Resets the stop loss to the original value when all positions are closed
if (Position.MarketPosition == MarketPosition.Flat)
{
debug ("Reset Stops");
SetStopLoss("", CalculationMode.Ticks, stoplossticks, false);

 
//Condition set 1 Go Long
if (High[1 + bo] >= High[bo] && Low[1 + bo] <= Low[bo])
{
debug ("Entering LongStop");
EnterLongStop(DefaultQuantity, High[0]+1*TickSize,"");
DrawArrowUp("Long" + CurrentBar, true, 0, Low[0] - (4*TickSize), Color.Lime);
}
Replace the Go Long condition for the InsideBarShort strategy:

 
Code
 
//Condition set 2 Go Short
if (High[1 + bo] >= High[bo] && Low[1 + bo] <= Low[bo])
{
debug ("Entering ShortLimit");
EnterShortStop(DefaultQuantity, Low[0]-1*TickSize,"");
DrawArrowDown("Short" + CurrentBar, true, 0, High[0] + (4*TickSize), Color.Red);
}
Note: Both Outside Bar and Reversal Bar strategies are too advanced for me. Will focus on the Inside Bar one LOL!

Beth

Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to wgreenie for this post:

Can you help answer these questions
from other members on futures io?
Tips for directional bias during Asian Session?
Traders Hideout
value chart indicator by sim22
NinjaTrader
Tick Data Group Buy
Emini and Emicro Index
Multidata
EasyLanguage Programming
mahDualCandlePattern
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Spoo-nalysis ES e-mini futures S&P 500
100 thanks
How many day traders are profitable?
58 thanks
how many hours per day do you watch the market?
15 thanks
Why you should move from futures to forex
15 thanks
Attached Orders
13 thanks
 
(login for full post details)
  #292 (permalink)
 shodson 
OC, California, USA
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,969 since Jun 2009
Thanks: 533 given, 3,683 received


wgreenie View Post
For the record, I have been creating my strategies using NJ Wizard (learn how to modify the code to meet my needs) and cut-and-paste from other sample strategies. Am not in a position to share them though the Inside Bar ones seem so far working normal.

I tried creating an OCO-type order set once the inside bar forms, but I kept getting errors, so now I just use a 1-range bar and if the high or low of the inside bar is exceeded I place a market order, so I'm going to live with the slippage.

Another approach would be to look at how close to the boundaries of the bar are and if it is close to the top of the inside bar then you place your buy stop order, but then if it moves down towards the bottom then cancel the buy stop order and enter a sell stop order. Basically, you're playing pickle with price until it exceeds one side of the inside bar.

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #293 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,203 received



shodson View Post
I tried creating an OCO-type order set once the inside bar forms, but I kept getting errors, so now I just use a 1-range bar and if the high or low of the inside bar is exceeded I place a market order, so I'm going to live with the slippage.

Another approach would be to look at how close to the boundaries of the bar are and if it is close to the top of the inside bar then you place your buy stop order, but then if it moves down towards the bottom then cancel the buy stop order and enter a sell stop order. Basically, you're playing pickle with price until it exceeds one side of the inside bar.

Hi Shodson

I emailed NJ on how to code a pair of breakout orders in a 6.5 strategy. Here it comes his response:

Quote

This isn't possible with our managed order system in 6.5. You would run into our internal order handling rules. ( Overview)

Methods that generate orders (excluding market orders) to *enter* a position will be ignored if:
* A position is open and an order submitted by an exit method (_ExitLongLimit()_ ( ExitLongLimit()) for example) is active and the order is used to open a position in the opposite direction
* A position is open and an order submitted by a set method (_SetStopLoss()_ ( SetStopLoss()) for example) is active and the order is used to open a position in the opposite direction
* *The strategy position is flat and an order submitted by an enter method (*_*EnterLongLimit()*_ ( EnterLongLimit())* for example) is active and the order is used to open a position in the opposite direction*

This is possible with unmanaged order submission that we introduced in version 7. See here for an introduction to unmanaged orders. ( Unmanaged Approach)

Unquote

I will continue sim-trading both Long and Short strategies and manage them manually.

Beth

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #294 (permalink)
 cunparis 
Paris, France
 
Experience: Advanced
Platform: Market Delta & Ninjatrader
Trading: ES
 
cunparis's Avatar
 
Posts: 2,565 since Jun 2009
Thanks: 1,162 given, 2,088 received

Tradestation had an inside bar while IQFeed on market delta & ninja did not. Shame on tradestation. Pretty rare for minute bars to be so far off.


Follow me on Twitter Reply With Quote
 
(login for full post details)
  #295 (permalink)
 Jeff Castille 
Northern California
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Amp Futures/ Zen-Fire
Trading: YM and CL
 
Jeff Castille's Avatar
 
Posts: 2,119 since Jun 2009
Thanks: 1,783 given, 3,299 received

A couple of nice inside bar winners.........NO losers !!

As far as the "testing" goes.........I'm NOT going to pay ANY attention to it UNTIL a way is found to incorporate news.

Jeff

Attached Thumbnails
Click image for larger version

Name:	CL 08-10  6_28_2010 (15 Min).jpg
Views:	256
Size:	109.7 KB
ID:	16213  
Follow me on Twitter Started this thread Reply With Quote
The following user says Thank You to Jeff Castille for this post:
 
(login for full post details)
  #296 (permalink)
 shodson 
OC, California, USA
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,969 since Jun 2009
Thanks: 533 given, 3,683 received


Jeff Castille View Post
A couple of nice inside bar winners.........NO losers !!

As far as the "testing" goes.........I'm NOT going to pay ANY attention to it UNTIL a way is found to incorporate news.

Jeff

Yeah I missed those

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #297 (permalink)
 Zoethecus 
United States of America
 
Experience: Advanced
Platform: NT
 
Posts: 1,149 since Aug 2009


Jeff Castille View Post
As far as the "testing" goes.........I'm NOT going to pay ANY attention to it UNTIL a way is found to incorporate news.

Jeff

As a discretionary trader, that easy. You simply don't trade around news, but I wouldn't believe any discretionary (as opposed to mathematical) backtesting.

For an ATS, code a parameter to carve out news time or simply use a button indicator. Super easy.

Reply With Quote
 
(login for full post details)
  #298 (permalink)
 shodson 
OC, California, USA
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,969 since Jun 2009
Thanks: 533 given, 3,683 received


Jeff Castille View Post
As far as the "testing" goes.........I'm NOT going to pay ANY attention to it UNTIL a way is found to incorporate news.

How far in front of and after a news event do you wait before trading again? What if an inside bar formed inside of the news window, ignore it right? Or you would take it and you just avoid entering trades during the news window, but don't necessarily avoid their candles, right?

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #299 (permalink)
 Zoethecus 
United States of America
 
Experience: Advanced
Platform: NT
 
Posts: 1,149 since Aug 2009


shodson View Post
How far in front of and after a news event do you wait before trading again? What if an inside bar formed inside of the news window, ignore it right? Or you would take it and you just avoid entering trades during the news window, but don't necessarily avoid their candles, right?

If I'm in a trade and it's in my favor or I've moved my stop to entry, I will trade through news. If not, I close out the trade and would wait 5-10 minutes after dissemination.

Reply With Quote
 
(login for full post details)
  #300 (permalink)
 Fat Tails 
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,870 since Mar 2010
Thanks: 4,238 given, 26,873 received


Also checked my Interactive Brokers feed, is in line with IQFeed, so definitely a data bug on tradestation.


cunparis View Post
Tradestation had an inside bar while IQFeed on market delta & ninja did not. Shame on tradestation. Pretty rare for minute bars to be so far off.


Reply With Quote
The following user says Thank You to Fat Tails for this post:


futures io Trading Community Trading Journals > THREE SET UPS


Last Updated on May 15, 2014


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts