Monday, May 9, 2011

Trade Setup on Majors

Here are my trade setups on all the major pairs.
Wish me luck!

Edit: +41 Pips short, +20 pips long on news drop



Edit: Stop loss too low. Lost -31pips on hangman. Re-added position.
Lesson: Tight stops=broker robs...

Edit: Closed at +28 pips

Edit +11 pips, made it half way up before all stochs turned down.

+5 Pips, bars going nowhere fast

+11 Pips

Friday, April 8, 2011

EUR/USD - Trade Setup for April 2011 Week 2

100 pip channels.
EUR can fall up to 100 pips to support 1.4350 (previous resist).
Project distance is near 100 pips to 1.4500 (double zero resist)


-- jbn
Big pipp'n, making cheese.

AUDNZD - 100 Pips -- Trade of the week

AUD is a strong currency, riding high with oil. NZD is weak.

Target 1 @ 1.3600
Target 2 @ 1.3700
Target 3 @ 1.3800
Target 4 @ 1.4000
Lower Resist @ 1.200


100 pips to 500 pips win range.

ref: moneyinmotion
ref: dailyfx.com

Wednesday, March 16, 2011

TTM Squeeze Indicator - Thinkorswim

declare lower;
input Length = 20;
input price = close;
######################
def e1 = (Highest(High, length) + Lowest(low, length)) / 2 + Average(close, length);
def osc = Inertia(price - e1 / 2, length);
plot oscp = osc;
def diff = reference BollingerBandsSMA(length = 20)."upperband" - reference KeltnerChannels."Upper_Band";
plot mid = 0;
mid.AssignValueColor(if diff >= 0 then Color.UPTICK else Color.DOWNTICK);
#oscp.assignValueColor(if osc[1] < osc[0] then Color.CYAN else Color.magenta);
oscp.AssignValueColor(if osc[1] < osc[0] then
if osc[0] >= 0 then
#UpPos
CreateColor(0, 255, 255) else
#UpNeg
CreateColor(204, 0, 204)
else if osc[0] >= 0 then
#DnPos
CreateColor(0, 155, 155) else
#DnNeg
CreateColor(255, 155, 255));
oscp.SetPaintingStrategy(PaintingStrategy.HISTOGRA M);
mid.SetPaintingStrategy(PaintingStrategy.POINTS);

Friday, February 25, 2011

SQL: Dynamically List Tables in SQL

SQL Server 2005 or 2008:
SELECT * FROM information_schema.tables 
SQL Server 2000:
SELECT * FROM sysobjects WHERE xtype='U' 

Friday, February 18, 2011

SQL: Ping Test Stored Procedure

GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_Ping]
@hostname varchar(255)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @cmd sysname
SET @cmd = 'ping -n 1 ' + @hostname
CREATE TABLE #tmp( Result VARCHAR(255) )
INSERT INTO #tmp EXEC xp_cmdshell @cmd
IF EXISTS(
SELECT * FROM #tmp
WHERE Result LIKE '%Reply%' )
PRINT 'REPLY'
ELSE
PRINT 'TIMEOUT'
DROP TABLE #tmp
END