Handful of codes exist here in this closed thread to contribute to your collection http://www.elitetrader.com/vb/showt...=146049&highlight=easylanguage+treasure+chest
thanx.. I saw that archive, tick speedo for tradestation 9.1 is something I think would be valuable as volatility filter. The code doesnt seem to verify. I gave away something in the above post that is extremely powerful.
It may have to do with the Time_s keyword that is for Multicharts Time_s Returns a numerical value indicating the closing time, including seconds, of the current bar. The time is indicated in the 24-hour HHmmss format, where 130000 = 1:00:00 PM. ------------------------------------------- And TradeStation Time (Reserved Word) Disclaimer This reserved word returns a numeric expression representing the EasyLanguage time (HHMM format) of the closing price of the current bar. Remarks Time returns the time in 24-hour format. Examples Time returns 1600 if the Time of the bar is 4:00pm. Time returns 0930 if the Time of the bar is 9:30am. Additional Example For example, you can write your strategy, analysis technique, or function such that it only evaluates the EasyLanguage instructions when the trade time is less than 11:00am: If Time < 1100 Then { EasyLanguage instruction } ;
input: cap(15), cap.color(darkgray); if BarType = 0 then begin if date = date[1] then begin value1 = (TimeToMinutes(time)-TimeToMinutes(time [1])); if value1 <= cap then plot1(value1, "tick time") else plot2(cap,"Cap", cap.color); end; end;
Tick speed indicator too sensitive.. Will experiment with increasing the 'time - time[1] to larger bar intervals, time[5].
<!-- copy and paste. Modify height and width if desired. --> <a href="http://content.screencast.com/users/Spectre/folders/Default/media/a039eb79-58fa-4435-94f4-d34b04c45f64/speed.png"><img class="embeddedObject" src="http://content.screencast.com/users/Spectre/folders/Default/media/a039eb79-58fa-4435-94f4-d34b04c45f64/speed.png" width="2457" height="1273" border="0" /></a>