NexusFi: Find Your Edge


Home Menu

 





How get hystorical bar speed?


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
Wall St slides on mounting AI selloff, S&P 500, Dow …
Traders Hideout
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
Renko can be the way.
Commodities
 




Last Updated on September 8, 2015


© 2026 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 - Downloads - Top
no new posts