NexusFi: Find Your Edge


Home Menu

 





ES 1st hour day HIGH/LOW studies


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one DavidCarmichael with 2 posts (2 thanks)
    2. looks_two Pachomius with 1 posts (0 thanks)
    3. looks_3 ptcm with 1 posts (0 thanks)
    4. looks_4 madeinnyc with 1 posts (0 thanks)
    1. trending_up 5,299 views
    2. thumb_up 2 thanks given
    3. group 5 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

ES 1st hour day HIGH/LOW studies

  #1 (permalink)
 ptcm 
Taiwan
 
Experience: Intermediate
Platform: MC
Posts: 77 since Jun 2010
Thanks Given: 8
Thanks Received: 17

Hello everyone,

I am interested in doing a ES(mini S&P futures) 1st hour HIGH/LOW studies. 0ver 80% of my profits were made in the first hour of trading taking entry points at the 1st reversal. I am not able to find strategies to be consistently profitable during other time of day. Hence, I just want to focus on the first hour and research further.

Given that my programming ability is very limited, can someone please share what's the easiest way to find out the exact time when the HIGH and LOW was printed in the first hour of trading in both EasyLanguage and Python maybe ?

thanks a lot.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quant vue
Trading Reviews and Vendors
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #2 (permalink)
DavidCarmichael
Bangor, Wales
 
Posts: 16 since Sep 2015
Thanks Given: 6
Thanks Received: 10

It's interesting that most of your profitable trades have been in the first hour of trading. It's almost always higher in volatility for most markets, especially stock indices, but it can also be a really difficult period to predict, as there can be a lot going on in terms of execution, for example:
  • Daily time-frame strategies that execute on the bar open
  • Profit taking (a lot of Larry William's strategies us the 1st profitable opening for exits, for example)
  • Funds positioning themselves in reaction to overnight price changes
  • Opening range breakouts
  • Gap trades

I would recommend looking at Tony Crabel's book 'Day Trading with Short Term Price Patterns and Opening Range Breakout'. It's old, but will still provide some valid definition and context for you. It should be pretty easy to find a free PDF to download. One of the main ideas discussed in the book is successful opening range breakouts following narrow range days (or multiples thereof) . . . You mention trading reversals . . . So you could explore whether the opposite is true - are reversals of failed opening range breakouts that follow a wide-range day more likely to be profitable?

Hopefully someone with Python/Easylanguage experience can help you to develop the code you need for your studies. Alternatively, teach yourself (EasyLanguage is called that for a reason), or hire a programmer. For EasyLanguage for TradeStation I've used https://www.delphictrading.com/tradestation-programming-service/ before and got what I needed, but nothing beats learning a language yourself so that you can continually adapt your code and explore new ideas as you develop them. Also, if you understand the code and the underlying concept, you can easily reproduce it if you decide to switch platforms.

Hope that helps!

Reply With Quote
Thanked by:
  #3 (permalink)
Pachomius
Englewood
 
Posts: 1 since May 2020
Thanks Given: 0
Thanks Received: 0



DavidCarmichael View Post
... I would recommend looking at Tony Crabel's book 'Day Trading with Short Term Price Patterns and Opening Range Breakout'. It's old, but will still provide some valid definition and context for you. It should be pretty easy to find a free PDF to download. One of the main ideas discussed in the book is successful opening range breakouts following narrow range days (or multiples thereof) . . . You mention trading reversals . . . So you could explore whether the opposite is true - are reversals of failed opening range breakouts that follow a wide-range day more likely to be profitable?

Thank you for the book recommendation!

Reply With Quote
  #4 (permalink)
DavidCarmichael
Bangor, Wales
 
Posts: 16 since Sep 2015
Thanks Given: 6
Thanks Received: 10


Pachomius View Post
Thank you for the book recommendation!

No worries

I just did some googling - it looks like Crabel's a hedge funder nowadays - he's no doubt using more sophisticated methodologies than discussed in that old book, judging from the number of PhD types he employs, but it is interesting to note that what he does is still systematic in nature and mostly intraday . . .

Reply With Quote
  #5 (permalink)
madeinnyc
Highland Park, TX
 
Posts: 36 since Jan 2020
Thanks Given: 17
Thanks Received: 20

Here's an alternative to using trendlines that might help. I call it: Displaced plots. One benefit to this approach is that the line values can be set to appear in the price axis...so set your scaling to 1.


 
Code
using elsystem; 
 
inputs: 
	HighColor(Green), 
	LowColor(Red), 
	PlotBarsRight(5), 
	PlotBarsLeft(0);   
 
variables: 
	BarsRight( MinList( GetAppInfo(aiSpaceToRight), PlotBarsRight ) ), 
	BarsLeft( MaxList( 0, PlotBarsLeft ) ), 
	Idx(0); 
 
if LastBarOnChartEx then 
begin 
 
	for Idx = -BarsLeft to BarsRight 
	begin 
		Plot1[-Idx](Low + Range[1], "High", HighColor); 
		Plot2[-Idx](Low - Range[1], "Low", LowColor); 
	end; 
	 
	SetPlotColor[BarsLeft + 1](1, Transparent); 
	SetPlotColor[BarsLeft + 1](2, Transparent); 
 
end;

Reply With Quote




Last Updated on June 21, 2020


© 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