NexusFi: Find Your Edge


Home Menu

 





Price movement during a specific time period


Discussion in NinjaTrader

Updated
    1. trending_up 3,728 views
    2. thumb_up 7 thanks given
    3. group 1 followers
    1. forum 10 posts
    2. attach_file 2 attachments




 
Search this Thread

Price movement during a specific time period

  #1 (permalink)
 thewardiknowof 
Edmonton, Alberta Canada
 
Experience: Beginner
Platform: MT4, Tradingview
Broker: ThinkForex
Trading: Forex
Posts: 88 since Sep 2011
Thanks Given: 200
Thanks Received: 51

I am trading forex and would like to learn if there is a way to figure out on average how much price moves in from 1700-2100 over the last year on multiple currency pairs.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #2 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

The Money Clock

Reply With Quote
  #3 (permalink)
 thewardiknowof 
Edmonton, Alberta Canada
 
Experience: Beginner
Platform: MT4, Tradingview
Broker: ThinkForex
Trading: Forex
Posts: 88 since Sep 2011
Thanks Given: 200
Thanks Received: 51


This is interesting, it appears to me though that it does not provide the price range during specific time periods. Thanks for the suggestion.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

If you have programming skills you could write an indicator to dump high & low prices ranges to a file for the period 1700-2100 each day and then post-process the file in a spreadsheet program (e.g., construct a frequency histogram).

I've been meaning to do something similar but haven't had time so far.

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 thewardiknowof 
Edmonton, Alberta Canada
 
Experience: Beginner
Platform: MT4, Tradingview
Broker: ThinkForex
Trading: Forex
Posts: 88 since Sep 2011
Thanks Given: 200
Thanks Received: 51

Yes, this would be what I am looking for. Thanks. Unfortunately I lack the programming skills to create this indicator,do you or anyone else know if there is one available somewhere?

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

Quickest route might be to post in one of the "Want your indicator created...?" threads.

For NT:

For TS:

Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

If it helps the visualization process here is a quick and dirty MultiCharts PowerLanguage script (code may be identical to EasyLanguage but have no way of verifying) used to create the plot of price range between 1700 and 2100 for roughly the last month of EUR/USD data (used Open Office Calc to produce the histogram).

Code (attached as a text file)

 
Code
inputs:  startTime(1700),endTime(2100),outputFileName("c:\myPriceRange.csv");


variables:
	lastDay(D),
	minPrice(0),
	maxPrice(0),
	diff(0),
	started(false),
	doWrite(false)
	;
	
		if T >= startTime and T <= endTime then begin
			if not started then begin
				started=true;
				lastDay = D;
				minPrice = Low;
				maxPrice = High;
			end
			else begin
				if Low < minPrice then
					minPrice = Low;
				if High > maxPrice then
					maxPrice = High;
			end;
			doWrite = true;
		end		
		else begin
			if doWrite then begin
				doWrite = false;
				started = false;
				diff = maxPrice-minPrice;
				Print(File(outputFileName),D,",",minPrice:4:6,",",maxPrice:4:6,",",diff:4:6);
			end;
		end;

Attached Files
Elite Membership required to download: TDTODHighLow.txt
Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 thewardiknowof 
Edmonton, Alberta Canada
 
Experience: Beginner
Platform: MT4, Tradingview
Broker: ThinkForex
Trading: Forex
Posts: 88 since Sep 2011
Thanks Given: 200
Thanks Received: 51

I posted in one of the "Want your indicator created...?" thread for NT here:



Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #9 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

Forex Volatility

Reply With Quote
Thanked by:
  #10 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460



thewardiknowof View Post
I posted in one of the "Want your indicator created...?" thread for NT here:



Roger & good luck--it's fairly trivial so you should get a nibble from someone once the Thanksgiving turkey wears off. If I get a chance this weekend I may dust off NT and rewrite the same basic indicator in C# but up to my eyeballs in alligators these days so no promises

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on November 22, 2012


© 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