NexusFi: Find Your Edge


Home Menu

 





a formula to predict tomorrow midpt in ES?


Discussion in Emini and Emicro Index

Updated
      Top Posters
    1. looks_one aquarian1 with 13 posts (4 thanks)
    2. looks_two tpredictor with 4 posts (5 thanks)
    3. looks_3 forgiven with 4 posts (4 thanks)
    4. looks_4 Blash with 2 posts (1 thanks)
      Best Posters
    1. looks_one tpredictor with 1.3 thanks per post
    2. looks_two forgiven with 1 thanks per post
    3. looks_3 Blash with 0.5 thanks per post
    4. looks_4 aquarian1 with 0.3 thanks per post
    1. trending_up 5,649 views
    2. thumb_up 14 thanks given
    3. group 7 followers
    1. forum 24 posts
    2. attach_file 4 attachments




 
Search this Thread

a formula to predict tomorrow midpt in ES?

  #11 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593


forgiven View Post
remember i said this is nuts so do not lola me to bad...you have yesterdays RTH profile on the ES ...part 1... this morning the ES RTH opens and the chart is blank just a * for the open ,,,that is part two. you move yesterdays profile in place where today RTH OPEN an yesterdays RTH close are on the same price level ...part 3 ...now yesterdays profile is your projection profile for to day... look for the poc ...that is the project poc for to day. like i said it sounds nuts but you have to start some where...what you are saying is day 1 will look like day 2 just at different levels.

No laughing - it's much aprreciated!
(If you saw the formulas I have THEN you'd laugh!
As the saying goes:
"Crazy- yah crazy like a fox!" LOL

So one shifts yesterday's profile with the o/n gap - that is if Close to Open is minus 3 then slide it down 3 pts, ie a -3 pt adjustment.
So today's est POC is yesterdays adjusted POC, correct?

--- Part 2---
I haven't use Market profile (MP) much. I did start at one time, but concluded that:
A: I would need to read the book to use it properly
B: if everyone was using it then it, then it was so widely known that it probably had little value for me.
(About point B I'm not saying this is true "little value" - I'm just relating where I am coming from in the question below.)

Question
1. Is the POC usually equal the midpoint? , that is if someone told you what today's POC would be before the start of the day, would that level be equal today's RTH midpt?

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #12 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593


tpredictor View Post
I was suggesting 2 different methods, either using the midpoint of the prior day or the close of the prior day. Theoretically, the last price should have the most information, i.e. so that's going to be the best bet of your midpoint. However, I don't know if some information from the volatility might be missing from that that the midpoint from the prior day might capture. It is a great question though! Right, you can test it by simply shifting your data and taking the difference from the actual midpoint and summing the value. The formula I gave was the mean squared error but you could use the absolute difference or another error measure if you desired.

I coded up a quick verification in Easylanguage and using the close of the prior day is significantly better than using the midpoint for predicting the midpoint, assuming I didn't make any mistakes (big assumption). The code is below and I've linked to an instructive video if you want to learn more.

The average error in points is around 11 points for using the close over the past couple years I tested. This would mean on average using the close, the midpoint will occur within +- appx 6 points. That's your accuracy level. Using the prior midpoint, I get some ridiculous number which means I probably made a mistake. I updated to calculate using the simple MAD (mean absolute deviation) and get 8 points for the close and 14 for the prior midpoint. That would put you on average +-4 off using the prior close. PS: If someone wants to explain the differences in mean squared error vs absolute average error -- it would be illustrative for me!

Update: Found the mistake. You must wait until CurrentBar=2 because there isn't a previous value for the first bar. It did not change the findings though.



 
Code
variables: MidPointV(0);

MidPointV = low+(Range/2);
//Value1 = power((Close[1]-MidPointV),2);
//Value2 = power((MidPointV[1]-MidPointV),2);

Value1 = absvalue(Close[1]-MidPointV );
Value2 = absvalue(MidPointV[1]-MidPointV);

If lastbaronchart  then begin;
	//Value3 = squareroot( cum(value1)/barnumber);
	//Value4 = squareroot( cum(value2)/barnumber);
	value3 = cum(value1)/barnumber;
	value4 = cum(value2)/barnumber;
end;

plot1(value3);
plot2(Value4);


//Compare
//plot3(midpointv[1]);
//plot3(close[1]);

Thank-you so much for all this work!
Wonderful!

I read the first paragraph and asked myself: "how am I - a non-programmer - going to test this?" and then reading on found you went off and did it. Thank-you. Your professionalism is noted and appreciated!

Summarizing your findings:
1. yest close is within 6 pts of today's
2. yest midpt is within 4 pts of today's

correct?

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #13 (permalink)
 
forgiven's Avatar
 forgiven 
Fletcher NC
Market Wizard
 
Experience: Intermediate
Platform: nijia trader
Broker: A.M.P. I.Q. ....C.Q.G.
Trading: ym es
Frequency: Every few days
Duration: Days
Posts: 862 since Mar 2012
Thanks Given: 287
Thanks Received: 580



aquarian1 View Post
No laughing - it's much aprreciated!
(If you saw the formulas I have THEN you'd laugh!
As the saying goes:
"Crazy- yah crazy like a fox!" LOL

So one shifts yesterday's profile with the o/n gap - that is if Close to Open is minus 3 then slide it down 3 pts, ie a -3 pt adjustment.
So today's est POC is yesterdays adjusted POC, correct?

--- Part 2---
I haven't use Market profile (MP) much. I did start at one time, but concluded that:
A: I would need to read the book to use it properly
B: if everyone was using it then it, then it was so widely known that it probably had little value for me.
(About point B I'm not saying this is true "little value" - I'm just relating where I am coming from in the questions below.)

Questions
1. Is the POC usually equal the midpoint? , that is if someone told you what today's POC would be before the start of the day, would that level be equal today's RTH midpt?

step 1 take take yesterdays RTH run the fib extentions in both direction to the 127% of the RTH both ways. step 2 run the fib ruler from yesterdays RTH high low to the 127 extentions both ways.. mark of the 50% retracemente of both swings . then set yesterdays range on top or bottom of the 50% retracements. now you have projected range and path of price both ways... half of the range would the mid point. you are saying you will have a brake out of range to the 127 ex then a 50 % pull back then another swing in the direction of the trend ... that is the way markets tend to move...stair stepping,, it would just be a place to start,,,

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #14 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

Thank-you both for your answers - very helpful.

Based on these I made the summary for the week just finished (ES RTH)

Note POC isn't the true MP POC of the prior day- which I don't know.
ongap= o/n gap and is the amount used where is says "AdJ .."
Abs= absolute of Diff

so as an example: the pivot point for Monday based on Friday (using the classic PP calculation on Friday's RTH numbers) is: 2290.50
and its difference to Monday's midpt of 2259.75 is 30.75

The Adj PP is 2264 and its difference to Monday's midpt of 2259.75 is 4.25

So the total of the abs differences of the Adj PP is 23.50 which divided by 5 would be 4.70

..........
peace, love and joy to you
.........
Attached Thumbnails
Click image for larger version

Name:	temp.png
Views:	189
Size:	16.4 KB
ID:	225781  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #15 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593

From the limited cals in the prior post, the Open as an estimate of the midpt is the winner at 3.25.

(Naturally, this isn't good enough for the perfectionist in me so
ideas to improve this anyone??)

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #16 (permalink)
 
forgiven's Avatar
 forgiven 
Fletcher NC
Market Wizard
 
Experience: Intermediate
Platform: nijia trader
Broker: A.M.P. I.Q. ....C.Q.G.
Trading: ym es
Frequency: Every few days
Duration: Days
Posts: 862 since Mar 2012
Thanks Given: 287
Thanks Received: 580


forgiven View Post
step 1 take take yesterdays RTH run the fib extentions in both direction to the 127% of the RTH both ways. step 2 run the fib ruler from yesterdays RTH high low to the 127 extentions both ways.. mark of the 50% retracemente of both swings . then set yesterdays range on top or bottom of the 50% retracements. now you have projected range and path of price both ways... half of the range would the mid point. you are saying you will have a brake out of range to the 127 ex then a 50 % pull back then another swing in the direction of the trend ... that is the way markets tend to move...stair stepping,, it would just be a place to start,,,

you have time based an volume based profiles the larger the range the less center the pocs are for the most part ,,the smaller the range the more centered the pocs are. i would google range projection ...it is about 16 points on the es i think. you would have to project the range and direction to get the mid point ..you will have your work cut out for you...you might get some insight from JS services they put out a market map on bloomberg and for banks...it cost 1000 a month but they have it now on ninja and bookmap ,,they have a free trail two weeks...the way they are mapping may help you in your research...hope it helps

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #17 (permalink)
 tpredictor 
North Carolina
 
Experience: Beginner
Platform: NinjaTrader, Tradestation
Trading: es
Posts: 644 since Nov 2011

Try Open+.2. It should improve it ever so slightly. Be sure you can view all the decimals. This one outperforms over most of the entire history I've looked at, most.


aquarian1 View Post
From the limited cals in the prior post, the Open as an estimate of the midpt is the winner at 3.25.

(Naturally, this isn't good enough for the perfectionist in me so
ideas to improve this anyone??)


Reply With Quote
  #18 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593


Blash View Post
This already exists. It's called floor pivots. The "P" value would be the prediction.

Pivot Definition | Investopedia

Ron


Sent from my iPhone using futures.io

Thanks Ron,

For quite some time I worked with PP and different versions of them.
I was looking at matches to H and L

Some days one would match some-days others but not enough to make it worthwhile

(Perhaps your floor pivots are different from regular pivot points? - they seemed to be the ones I calculate - which I called "classic" as opposed to Woody, Camila, etc...)

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #19 (permalink)
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518


aquarian1 View Post
Thanks Ron,

For quite some time I worked with PP and different versions of them.
I was looking at matches to H and L

Some days one would match some-days others but not enough to make it worthwhile

(Perhaps your floor pivots are different from regular pivot points? - they seemed to be the ones I calculate - which I called "classic" as opposed to Woody, Camila, etc...)

This might help your endeavor.....

RH = Range High
RM = Range Mid
etc....

ES RTH 1000 days VP stats min data.xlsx

Ron

...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #20 (permalink)
 
aquarian1's Avatar
 aquarian1 
Point Roberts, WA, USA
 
Experience: Advanced
Platform: IB and free NT
Broker: IB
Trading: ES
Posts: 4,034 since Dec 2010
Thanks Given: 1,509
Thanks Received: 2,593



tpredictor View Post
Try Open+.2. It should improve it ever so slightly. Be sure you can view all the decimals. This one outperforms over most of the entire history I've looked at, most.

Do you adding a constant of 0.2 will improve it?

Is this constant the same amount as the average daily trend rise over the period you examined?

BTW the benchmark to exceed is 2.90 (current error of my default formula). This isn't good enough and I want to get it to 1.5.

..........
peace, love and joy to you
.........
Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on February 11, 2017


© 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