NexusFi: Find Your Edge


Home Menu

 





How get hystorical bar speed?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,322 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

How get hystorical bar speed?

  #1 (permalink)
rawos
Rome
 
Posts: 10 since Feb 2010
Thanks Given: 1
Thanks Received: 3

Hi all i have this code which plot the speed in a range/tick/cv bar chart.
It's only in real time and i would get to see it working on hystorical too

i now tan i need time_s instead of computertime but i don't need to get work around this simple code. Anyone can help?
thanks


 
Code
/// Code Written by Tyler Moore
///  Free Indicators and Trading Tips - For Futures, Forex, and Equities
/// 
/// For modifications to this code or to have your own custom code written
/// please visit  Automated Trading Systems - Custom Indicators, and Trading Strategies	
/// <summary>

vars:
	intrabarpersist openTime(0),
	Intrabarpersist cb(0),
	Intrabarpersist diff(0);
	
If LastBarOnChart then begin
	If currentbar<>cb then begin
		openTime=computerdatetime;
		cb=currentbar;
	end;
		
	diff=computerdatetime-openTime;
	plot1(diff*1440);	
end;

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks






Last Updated on September 8, 2015


© 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