Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Reply
News Warning - EasyLanguage Details »»
News Warning - EasyLanguage
Platform: 9, by Tradewinds Tradewinds is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Platform: Tradestation Rating:
Released: 09-01-2011 Last Update: Never Installs: 0
 
No support by the author.

Draws a vertical line on the chart 5 minutes before the news:


Code:
Input: NewsAt955(True);
Input: NewsAt1000(True);

var: WarningLine(-1);
var: NewsTimeNow(False);

NewsTimeNow = (T = 950 and NewsAt955) or (T = 955 and NewsAt1000);

 // Shows vertical line 5 minutes before News
If NewsTimeNow then begin
	WarningLine = tl_new(d, t, H, d, t, L);
	tl_setExtleft(WarningLine,true); 
	tl_setExtRight(WarningLine,True); 
	TL_SetColor(WarningLine,Red); 
	TL_SetStyle(WarningLine,Tool_Dashed2);
End;

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.

Reply

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Early Warning - Again UrmaBlume Technical Analysis 20 02-05-2012 06:42 PM
Trading Tip #17 : Good News and Bad News tradingadvantagetm The Markets 2 08-09-2011 05:46 PM
Warning: Are Commodities About to Crash? emg General Discussion 0 04-27-2011 08:46 AM
Warning - TradeStation Users daedalus Trading and the Markets 3 12-20-2009 12:30 AM
Tradestation warning Tasuki Brokers and Data Feeds 18 12-04-2009 12:05 AM

All times are GMT -4. The time now is 10:09 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.