NexusFi: Find Your Edge


Home Menu

 





Frequency distribution guidance request - help !


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one Eric j with 4 posts (0 thanks)
    2. looks_two wh with 1 posts (1 thanks)
    3. looks_3 Zondor with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (1 thanks)
    1. trending_up 5,405 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

Frequency distribution guidance request - help !

  #1 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576

Frequency distribution , has anyone a way to accomplish this as per ---->



# 187

Ive searched our forum and thought we might have a tool to accomplish this , to no avail . If anyone has some guidance Id appreciate it , maybe some sort of template to follow ( for the computer illiterate to build a spreadsheet maybe ) or links for details .

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,499 since Apr 2010
Thanks Given: 408
Thanks Received: 985


Is not something like the use of market profile?

Luke.

Take your Pips, go out and Live.
Luke.
Reply With Quote
  #4 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

Store each variable in a list object and then analyze the lists to get the frequency distributions.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576

TRO2010_DW_COUNT_UI
aHelp[0] = "TRO2010_DW_COUNT_UI" ;
aHelp[1] = "Displays frequency distribution of" ;
aHelp[2] = "high minus open when daily open is" ;
aHelp[3] = "greater than or equal weekly open" ;
aHelp[4] = "or open minus low when daily open is" ;
aHelp[5] = "less than or equal weekly open" ;
aHelp[6] = " " ;
aHelp[7] = "User can enter the ranges via inputs" ;
aHelp[8] = " " ;
aHelp[9] = " " ;
aHelp[10] = "column 1 is number of occurrences" ;
aHelp[11] = "column 2 is % of total" ;
aHelp[12] = " " ;
aHelp[13] = "DWLong = TRUE: count daily (High - Open)" ;
aHelp[14] = "DWLong = FALSE: count daily (Open - Low)" ;

Something more like this , like backtesting . A way to describe variables and establish the frequency distribution . For forex I dont think MP will succeed due to the way volume is reported .



Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576


Zondor View Post
Store each variable in a list object and then analyze the lists to get the frequency distributions.


Thats closer I think , just need a little hand holding thanks . List objects = chinese ( I dont speak it sorry ) .

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #7 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

this is a ordinary sample of a list and what you can do

 
Code
                            


List<doublemyGenericDoubleList = new List<double>();


//do something on barupdate()

myGenericeDoubleList.Clear();

myGenericDoubleList.Add(High[1]);
myGenericDoubleList.Add(Low[1]);
myGenericDoubleList.Add(...);
myGenericDoubleList.Add(...);
myGenericDoubleList.Add(...);
myGenericDoubleList.Add(...); 
 
Code
                            

private double getAverage(List<doubledoubleList)
{
    
double total 0;
    foreach (
double value in doubleList)
    {
        
total += value;
    }
    
double average total doubleList.Count;
    return 
average;

 
Code
                            

double finalAverage 
getAverage(myGenericDoubleList); 

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
Thanked by:
  #8 (permalink)
 Midas 
Yellowknife, NT
 
Experience: Intermediate
Platform: Ninja Trader
Trading: Es, 6E, TF
Posts: 35 since Mar 2010
Thanks Given: 21
Thanks Received: 21

You can analyze your data in Excel and display it in a histogram (a column chart that displays frequency data) by using the Histogram tool of the Analysis ToolPak. This data analysis add-in (add-in: A supplemental program that adds custom commands or custom features to Microsoft Office.) is available when you install Microsoft Office Excel 2007, but it might not be loaded automatically.

Important If you don't see the Data Analysis button in the Analysis group on the Data tab, you must load the Analysis ToolPak add-in.

Reply With Quote
  #9 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

If you want to trade off that idea, you would want to display support and resistance lines on your chart.

(a) Find the daily/weekly/monthly low, high, mean, mode etc.

-> Have a look at low, high, midline and volume weighted average price of prior month and current month, prior week, and curent week, prior day and today, all displayed via SessionPivots indicator (download section)

(b) net change (high - open)

-> you would want to code an indicator that loads the values for high-open and open-low for the last 14 days (or whatever you think appropriate), and then calculate a mean and a standard deviation

(c) range (high - low)

-> you would need to calculate an ATR(14) from daily bars and add that to the current low or substract it from the current hig

These indicators are not difficult to implement. It is very similar to the original idea behind floor pivots: You need a reference (typical price = high + low + close) and a measure for volatility, such as the range specified under (b) or (c).

If you look at floor pivots there is

- a reference -> the main pivot
- a first support level S1 -> pp + (pp-current high), which adds volatility to the reference in a way RO suggests under (b)
- a second support level S2 -> pp -range, adding volatility as suggested by RO under (c)

So this guy just stole the idea of pivots, replaced the main pivot with the open and then the range with a range distribution over x days. The pivot indicator just takes into account yesterday's range, while RO wants the average range of x days.

But we can do better than that:

Take a better reference, which would be VWAP of yesterday and than add Avg(prior day VWAP - currentLow) and subtract Avg(currentHigh - prior day VWAP), where the averages are calculated over x days. Note that we add downward volatility and substract upward volatility here.

This is a modernized floor pivot indicator in a way RO proposes.

You can also build a confidence interval for the average true range and replace support and resistance level with support and resistance zones.

An example how to trade these reaction or breakout points is The Reaction Trend System, published by Welles Wilder in 1978 (!) in his book "New Concepts in Technical Trading Systems", see Section VII.

Reply With Quote
Thanked by:
  #10 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576



Fat Tails View Post
If you want to trade off that idea, you would want to display support and resistance lines on your chart.

(a) Find the daily/weekly/monthly low, high, mean, mode etc.

-> Have a look at low, high, midline and volume weighted average price of prior month and current month, prior week, and curent week, prior day and today, all displayed via SessionPivots indicator (download section)

(b) net change (high - open)

-> you would want to code an indicator that loads the values for high-open and open-low for the last 14 days (or whatever you think appropriate), and then calculate a mean and a standard deviation

(c) range (high - low)

-> you would need to calculate an ATR(14) from daily bars and add that to the current low or substract it from the current hig

These indicators are not difficult to implement. It is very similar to the original idea behind floor pivots: You need a reference (typical price = high + low + close) and a measure for volatility, such as the range specified under (b) or (c).

If you look at floor pivots there is

- a reference -> the main pivot
- a first support level S1 -> pp + (pp-current high), which adds volatility to the reference in a way RO suggests under (b)
- a second support level S2 -> pp -range, adding volatility as suggested by RO under (c)

So this guy just stole the idea of pivots, replaced the main pivot with the open and then the range with a range distribution over x days. The pivot indicator just takes into account yesterday's range, while RO wants the average range of x days.

But we can do better than that:

Take a better reference, which would be VWAP of yesterday and than add Avg(prior day VWAP - currentLow) and subtract Avg(currentHigh - prior day VWAP), where the averages are calculated over x days. Note that we add downward volatility and substract upward volatility here.

This is a modernized floor pivot indicator in a way RO proposes.

You can also build a confidence interval for the average true range and replace support and resistance level with support and resistance zones.

An example how to trade these reaction or breakout points is The Reaction Trend System, published by Welles Wilder in 1978 (!) in his book "New Concepts in Technical Trading Systems", see Section VII.

Very enlightening , thanks for all the suggestions from everyone . What I aim to pin down is the most efficient bias' and targets within certain price " zones " that produce edges for forex , particularly for intraday . What TRO offers here is a tool to divine this info unfortunately its a metatrader EA . One thought is to just donate and use the TRO EA on a free demo I have access to and another is to build my own in ninja but Id need to find historical data . Id prefer to build my own so as to have full understanding and control . Again , thanks for the help .

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on June 19, 2010


© 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