MARKET ANALYSIS : BRIEFING.com

Posted by on Jul 10, 2015

MARKET ANALYSIS : BRIEFING.com

ECONOMIC INSIGHT | Updated: 10-Jul-15 | Briefing.com’s analysis and commentary on economic events and conditions. A Historical Turning Point? When I first heard Billy Joel sing “We Didn’t Start the Fire” 26 years ago, I wondered what paradigm shifting events would be included in a sequel. I have little doubt that the latest Supreme Court… This content is for FREE TRIAL , SILVER , GOLD , PLATINUM , Gold – 6 Month and Platinum – 6 Month members only.Log In...

Read More »

Previous Day’s High & Low

Posted by on Nov 5, 2014

Previous Day’s High & Low

This script offers a visual display of the previous days high & low price, which often acts as reversal or b/o trigger.  Very useful for day trading. Previous Day's High/Low #Previous Day Script #Justin Williams #justin@theinfinitygroup.us , @infinitycap, waterfronttrader #09/20/11: Now works on all chart time periods. #04/08/12: Changed both previous day line colors and made the open line dynamically colored. #04/13/12: Gave both previous day lines new colors so they don't blend with the open line & made the open line dashed. Also changed open time for people who use chart on /es. input ShowPreviousDay = YES; input ShowDayOpen = YES; def MarketOpenTime = 0930; def MarketCloseTime = 1600; def Day = getDay(); def Previous = getLastDay(); def Today = if(Day == Previous and secondsFromTime(MarketOpenTime) >= 0, 1, 0); def Current = if(Today, 1, 0); def PreviousOpen = if((secondsTillTime(MarketOpenTime) > 0), 0, 1); def PreviousClose = if((secondsTillTime(MarketCloseTime) > 0), 0, 1); def MarketOpen = if(PreviousOpen and !PreviousClose, 1, 0); def closeByPeriod = close(period = “DAY”)[-1]; def closingBell = if secondsTillTime(MarketCloseTime)[1] > 0 and secondsTillTime(MarketCloseTime) <= 0 or (secondsTillTime(MarketCloseTime)[1] < secondsTillTime(MarketCloseTime) and secondsTillTime(MarketCloseTime)[1] > 0) then 1 else 0; def PrevHigh = high(period = "Day")[1]; def PrevLow = low(period = "Day")[1]; def TodayOpen = open(period = "Day"); plot PrLow; plot PrHigh; plot DayOpen; if !IsNaN(close(period = “DAY”)[-1]) then { PrLow = Double.NaN; PrHigh = Double.NaN; DayOpen = Double.NaN; } else { PrLow = if marketOpen and today and Current and ShowPreviousDay then prevLow else double.nan; PrHigh = if marketOpen and today and Current and ShowPreviousDay then prevHigh else double.nan; DayOpen = if marketOpen and today and Current and ShowDayOpen then TodayOpen else double.nan; } PrLow.AssignValueColor(Color.Magenta); PrHigh.AssignValueColor(Color.YELLOW); DayOpen.AssignValueColor(if TodayOpen - close >= 0 then Color.red else Color.green); DayOpen.setStyle(Curve.MEDIUM_DASH); PrLow.HideBubble(); PrHigh.HideBubble(); DayOpen.HideBubble(); 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 #Previous Day Script#Justin Williams#justin@theinfinitygroup.us , @infinitycap, waterfronttrader #09/20/11: Now works on all chart time periods.#04/08/12: Changed both previous day line colors and made the open line dynamically colored.#04/13/12: Gave both previous day lines new colors so they don't blend with the open line & made the open line dashed. Also changed open time for people who use chart on /es. input ShowPreviousDay = YES;input ShowDayOpen = YES; def MarketOpenTime = 0930;def MarketCloseTime = 1600;def Day = getDay();def Previous = getLastDay();def Today = if(Day == Previous and secondsFromTime(MarketOpenTime) >= 0, 1, 0);def Current = if(Today, 1, 0); def PreviousOpen = if((secondsTillTime(MarketOpenTime) > 0), 0, 1);def PreviousClose = if((secondsTillTime(MarketCloseTime) > 0), 0, 1);def MarketOpen = if(PreviousOpen and !PreviousClose, 1, 0);def closeByPeriod = close(period = “DAY”)[-1]; def closingBell = if secondsTillTime(MarketCloseTime)[1] > 0 andsecondsTillTime(MarketCloseTime) <= 0 or(secondsTillTime(MarketCloseTime)[1] < secondsTillTime(MarketCloseTime)and secondsTillTime(MarketCloseTime)[1] > 0)  then 1 else 0; def PrevHigh = high(period = "Day")[1];def PrevLow = low(period = "Day")[1];def TodayOpen = open(period = "Day"); plot PrLow;plot PrHigh;plot DayOpen; if !IsNaN(close(period = “DAY”)[-1])then {     PrLow = Double.NaN;    PrHigh = Double.NaN;    DayOpen = Double.NaN; } else {     PrLow = if marketOpen and today and Current and ShowPreviousDay then prevLow else double.nan;    PrHigh = if marketOpen and today and Current and...

Read More »

Opening Range Breakout with ORH/ORL Alerts

Posted by on Nov 5, 2014

Opening Range Breakout with ORH/ORL Alerts

This script identifies intraday Opening Range Breakouts for a security along with an alert that triggers when price crosses over the Opening Range High or The Opening Range low. Opening Range Breakout with Alerts # Automatic Opening Range With ORH/ORL Alerts # Alert values added by: SiamShogun # Original script By Prospectus @ http://readtheprospectus.wordpress.com # Inspired by Trader-X @ http://traderx.blogspot.com # # This Thinkscript is designed to plot the OR high, low, # 50% fib retrace, and fib extensions for the current day. # This will only work correctly on time-based charts, # where the OR timeframe is divisible by the bar period # e.g. 30 minute OR, 10 min bars. An extra fib extension # may be used if desired to create a target zone. # def na=double.nan; # # Define time that OR begins (in hhmm format, # 0930 is the default): # input ORBegin = 0930; # # Define time that OR is finished (in hhmm format, # 10:00 is the default): # input OREnd = 0945; # # Show Today only? (Default Yes) # input ShowTodayOnly={"No", default "Yes"}; def s=ShowTodayOnly; # # # # Create logic for OR definition: Def ORActive = if secondstilltime(OREnd)>0 AND secondsfromtime(ORBegin)>=0 then 1 else 0; # # Create logic to paint only current day post-open: # def today=if s==0 OR getday()==getlastday() AND secondsfromtime(ORBegin)>=0 then 1 else 0; # # Track OR High: # Rec ORHigh = if ORHigh[1]==0 or ORActive[1]==0 AND ORActive==1 then high else if ORActive AND high>ORHigh[1] then high else ORHigh[1]; # # Track OR Low: # Rec ORLow = if ORLow[1]==0 or ORActive[1]==0 AND ORActive==1 then low else if ORActive AND low<ORLow[1] then low else ORLow[1]; # # Calculate OR width: # Def ORWidth = ORHigh - ORLow; # # Define all the plots: # Plot ORH=if ORActive OR today<1 then na else ORHigh; Plot ORL=if ORActive OR today<1 then na else ORLow; AddCloud(ORH, ORL); #Trigger Alerts on breach of Opening Range High or Low # alert(close>=ORH,”ORH b/o”,alert.ONCE,sound.DING); alert(close<=ORH,”ORH b/o”,alert.ONCE,Sound.Chimes); alert(close<=ORL,”ORL b/d”,alert.ONCE,sound.DING); alert(close>=ORL,”ORL b/d”,alert.ONCE,Sound.Chimes); # # Formatting: # ORH.setdefaultcolor(color.green); ORH.setStyle(curve.Long_DASH); ORH.setlineweight(1); ORL.setdefaultcolor(color.red); ORL.setStyle(curve.Long_DASH); ORL.setlineweight(1); 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 # Automatic Opening Range With ORH/ORL Alerts# Alert values added by:  SiamShogun# Original script By Prospectus @ http://readtheprospectus.wordpress.com# Inspired by Trader-X @ http://traderx.blogspot.com## This Thinkscript is designed to plot the OR high, low,# 50% fib retrace, and fib extensions for the current day.# This will only work correctly on time-based charts,# where the OR timeframe is divisible by the bar period# e.g. 30 minute OR, 10 min bars. An extra fib extension# may be used if desired to create a target zone.#def na=double.nan;## Define time that OR begins (in hhmm format,# 0930 is the default):#input ORBegin = 0930;## Define time that OR is finished (in hhmm format,# 10:00 is the default):#input OREnd = 0945;# # Show Today only? (Default Yes)#input ShowTodayOnly={"No", default "Yes"};def s=ShowTodayOnly;#### Create logic for OR definition: Def ORActive = if secondstilltime(OREnd)>0 AND...

Read More »

Custom Bollinger Bands

Posted by on Nov 5, 2014

Custom Bollinger Bands

This is a script to create custom bollinger bands with a shaded background. Bollinger Band EMA w/ Cloud input price = hl2; input displace = 0; input length = 25; input Num_Dev_Dn = -1.5; input Num_Dev_up = 1.5; def sDev = StDev(data = price[-displace], length = length); plot MidLine = ExpAverage(data = price[-displace], length = length); plot LowerBand = MidLine + Num_Dev_Dn * sDev; plot UpperBand = MidLine + Num_Dev_up * sDev; MidLine.SetDefaultColor(GetColor(1)); UpperBand.SetDefaultColor(GetColor(5)); input BbCloud = yes; # option to turn off/on input BbCloudColor = 3; # 1 to 10 handles different background colors, def bbshading = if BbCloud then UpperBand else Double.NaN; AddCloud(bbshading, LowerBand, GetColor(BbCloudColor), Color.GRAY ); 12345678910111213141516171819202122 input price = hl2;input displace = 0;input length = 25;input Num_Dev_Dn = -1.5;input Num_Dev_up = 1.5; def sDev = StDev(data = price[-displace], length = length); plot MidLine = ExpAverage(data = price[-displace], length = length);plot LowerBand = MidLine + Num_Dev_Dn * sDev;plot UpperBand = MidLine + Num_Dev_up * sDev; MidLine.SetDefaultColor(GetColor(1));UpperBand.SetDefaultColor(GetColor(5)); input BbCloud = yes; # option to turn off/on input BbCloudColor = 3; # 1 to 10 handles different background colors, def bbshading = if BbCloud then UpperBand else Double.NaN; AddCloud(bbshading, LowerBand, GetColor(BbCloudColor), Color.GRAY );  … This content is for FREE TRIAL , SILVER , GOLD , PLATINUM , Gold – 6 Month and Platinum – 6 Month members only.Log In...

Read More »