Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
-
Content Count
73 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Articles
Everything posted by Stock.Jock
-
Putting Together a Beginner Trading Group
Stock.Jock replied to martinguitar's topic in Beginners Forum
Here's another possibility. Day Traders Meetup Groups -
If you're looking for some free indicators codes, you might like to take look at the collection on this website - click here
- 11 replies
-
- volatility
- volume
-
(and 1 more)
Tagged with:
-
Putting Together a Beginner Trading Group
Stock.Jock replied to martinguitar's topic in Beginners Forum
I think that the MadMarketScientist or Trader Nick is organizing the meeting. I'm not sure. Maybe one of them can make up an agenda to start us off. -
Plotting Prices & Indexes On Price Bars This code is to start the bar count from the first bar on the far left side of the chart and count down forward in time. I'm trying to use the fold statement to do a count down, but fold is so different from loops in other programming languages. I need help on this. ================================================= declare upper; # Clear Chart AssignPriceColor(CreateColor(10, 0, 78)); AssignBackgroundColor(CreateColor(10, 0, 78)); # Graph Boundaries plot HH = HighestAll(high); plot LL = LowestAll(low); plot ML = (HH + LL) / 2; # Plot Bubbles def TotalBarsOnChart=24*60*60*1000/getAggregationPeriod(); def Bar_Xaxis = barNumber(); def Bar_Yaxis = ML; rec FBarIndex = if IsNaN(FBarIndex[1] ) then 0 else FBarIndex[1] + 1; rec RBarIndex=fold index = 1 to TotalBarsOnChart with Bar = TotalBarsOnChart do Bar = Bar - 1); AddChartBubble(Bar_Xaxis, Bar_Yaxis, concat("", FBarIndex), color.Gray, No); AddChartBubble(Bar_Xaxis, Bar_Yaxis + 0.2, concat("", RBarIndex), color.Yellow, No); =================================================
-
Putting Together a Beginner Trading Group
Stock.Jock replied to martinguitar's topic in Beginners Forum
Ok. I'll be there. Sunday, September 26, 2010 2:30 p.m. - 3:00 p.m. PST Traders Laboratory Forum Chat Room Meeting “Beginner26” First Beginner’s Meeting -
Putting Together a Beginner Trading Group
Stock.Jock replied to martinguitar's topic in Beginners Forum
How do we participate in the chat? Do we use an IM program or do we use Skype to video conference? -
Help: Cheap Live DATA Feed with a .NET API Component?
Stock.Jock replied to Szymon's topic in Coding Forum
I have an account with TD Ameritrade. Is there a way to configure NinjaTrader for me to link to its streaming data? Otherwise, how do I link to Yahoo or another free data source? I think Yahoo's data has a 20 minute delay; at least with some trader MS Excel spreadsheets it is. -
Does anyone have the TOS code for the classic version of the ZigZag indicator?
-
Help: Cheap Live DATA Feed with a .NET API Component?
Stock.Jock replied to Szymon's topic in Coding Forum
Thanks for your instructional video. I got connected to Gains and was able to display a forex chart; however, I can't get it to display a stock chart. As a beginner trader, I would like to start trade simulations with stock. Later when I get used to trading concepts, I may move to forex. Do you have any other instructional videos for NinjaTrader? Even though I can see a list of stocks in the platform, I don't know how to get the platform to work with stock data. I don't have TradeStation, but I do have ThinkOrSwim. -
I am relatively new to trading and still learning. Like most new traders, I'm still exploring various indicators. However, I keep hearing from experienced traders to focus on price and volume action; so I've taken a keen interest in reading through this forum's treads on Volume Spread Analysis. As well as reading through the abundance of pdf documents on the subject. Current I've been reading the book Reminiscences of a Stock Operator. I wish to thank all of you for your answers to my question. All your input is valuable.
- 9 replies
-
- chart patterns
- indicators
-
(and 2 more)
Tagged with:
-
Help: Cheap Live DATA Feed with a .NET API Component?
Stock.Jock replied to Szymon's topic in Coding Forum
Thanks for your reply. I registered and tried to login; however, I can't seem to get connected. If the free demo is only 30 days, I'm not interested. I'm looking to test it like a paperMoney account. It seems that ThinkOrSwim is the only platform that offers the unlimited demo for learning how to trade with paperMoney. -
Help: Cheap Live DATA Feed with a .NET API Component?
Stock.Jock replied to Szymon's topic in Coding Forum
How about starting with free demo accounts until you get the feel of it? -
Help: Cheap Live DATA Feed with a .NET API Component?
Stock.Jock replied to Szymon's topic in Coding Forum
Is there a time limit on the Zen-Fire free demo account? I see that NinjaTrader is available with it. Is that free also with no expiration? This information on their website is not clear. It appears that Zen-Fire is the data provider and NinjaTrader is the demo platform. Has anyone tried these demo accounts? -
Does anybody have indicator P&F for the ThinkOrSwim trading platform?
- 4899 replies
-
I've found an indicator that applies the concepts of VSA and I was wondering if anyone is willing to try it and post your opinion on how helpful it is. Please reply only if you have actually tested this indicator. The codes for a few platforms can be found at: Better Volume Indicator TradeStation EasyLanguage Code NinjaTrader Code ThinkOrSwim Code
-
I've read advice that a trader should examine multiple time frames when evaluating an equity and when it is best to buy or sell it. However, there seems to be a difference with the information that any one indicator will give with different periods in a time frame. For example an indicator show different information in a time frame of 180 days with 4 hour candles verses a time frame of 6 months with 1 day candles. We know that there are 180 days in 6 months; so the time frame is essentially the same and 4 hours is essentially 1/2 of a trading day. Which is best to use? So my question is what is the best way to choose time frames and candle intervals to do swing trading?
-
Here's an updated version of the ADX, DMI Indicator that I recently posted. # # SJ_ADX_DMI_TrendStrengthLabels # # Directional Movement System measures the ability of bulls and # bears to move price outside the previous day's trading range. declare upper; input length = 14; def hiDiff = high - high[1]; def loDiff = low[1] - low; def plusDM = if hiDiff > loDiff and hiDiff > 0 then hiDiff else 0; def minusDM = if loDiff > hiDiff and loDiff > 0 then loDiff else 0; def ATR = WildersAverage(TrueRange(high, close, low), length); def "DI+" = 100 * WildersAverage(plusDM, length) / ATR; def "DI-" = 100 * WildersAverage(minusDM, length) / ATR; def DX = if ("DI+" + "DI-" > 0) then 100 * AbsValue("DI+" - "DI-") / ("DI+" + "DI-") else 0; def ADX = WildersAverage(DX, length); # # ============================================================ # ============================================================ # Bullish Trend def BullishCondition = "DI+" > "DI-"; # Bearish Trend def BearishCondition = "DI-" > "DI+"; # ============================================================ # ============================================================ # Range Bound & No Trend def ConditionA = ADX > 0 && ADX < 20; # Absent or Weak Trend def ConditionB = ADX > 20 && ADX < 25; # Strong Trend def ConditionC = ADX > 25 && ADX < 50; # Very Strong Trend def ConditionD = ADX > 50 && ADX < 75; # Extremely Strong Trend def ConditionE = ADX > 75 && ADX < 100; # ============================================================ # ************************************************************ # addChartLabel(visible, value, textLabel, color) AddChartLabel(yes, concat( ADX, concat(If ConditionA then " Range Bound " else If ConditionB then " Weak " else If ConditionC then " Strong " else If ConditionD then " Very Strong " else If ConditionE then " Extremely Strong " else " No Strength ", If BullishCondition then "Bullish Trend" else If BearishCondition then "Bearish Trend" else "& No Trend")), if BullishCondition then color.green else color.red); plot null = double.nan
-
I've been looking for a good trend indicator; so I'm trying the ADX. According to Investopedia the ADX is The Trend Strength Indicator and I've made some code to post chart labels on trend conditions. This is an upper chart indicator and you'll see labels only (no lines). ================================================ # # SJ_ADX_DMI_TrendLabels # # Directional Movement System measures the ability of bulls and # bears to move price outside the previous day's trading range. declare upper; input length = 14; def hiDiff = high - high[1]; def loDiff = low[1] - low; def plusDM = if hiDiff > loDiff and hiDiff > 0 then hiDiff else 0; def minusDM = if loDiff > hiDiff and loDiff > 0 then loDiff else 0; def ATR = WildersAverage(TrueRange(high, close, low), length); def "DI+" = 100 * WildersAverage(plusDM, length) / ATR; def "DI-" = 100 * WildersAverage(minusDM, length) / ATR; def DX = if ("DI+" + "DI-" > 0) then 100 * AbsValue("DI+" - "DI-") / ("DI+" + "DI-") else 0; def ADX = WildersAverage(DX, length); # Starting A Bullish Trend def Condition1 = "DI+" > ADX && ADX > "DI-" && "DI+" > "DI-"; # Ending A Bullish Trend def Condition2 = ADX > "DI+" && ADX > "DI-" && "DI+" > "DI-"; # Starting Into A Range def Condition3 = ADX > "DI+" && ADX > "DI-" && "DI-" > "DI+"; # Ending Out Of A Range def Condition4 = "DI+" > ADX && "DI-" > ADX && "DI+" > "DI-"; # Starting A Bearish Trend def Condition5 = "DI+" > ADX && "DI-" > ADX && "DI-" > "DI+"; # Ending A Bearish Trend def Condition6 = ADX > "DI+" && ADX > "DI-" && "DI-" > "DI+"; # addChartLabel(visible, value, textLabel, color) addchartlabel(yes, concat( 0, concat(" ", If Condition1 then "Starting A Bullish Trend" else If Condition2 then "Ending A Bullish Trend" else If Condition3 then "Starting Into A Range" else If Condition4 then "Ending Out Of A Range" else If Condition5 then "Starting A Bearish Trend" else If Condition6 then "Ending A Bearish Trend" else "Wait")), If Condition1 then color.green else If Condition2 then color.gray else If Condition3 then color.yellow else If Condition4 then color.orange else If Condition5 then color.red else If Condition6 then color.pink else color.white); plot null = double.nan; ================================================
-
What's the best approach in analyzing price movement on charts: analyzing candlestick patterns or chart patterns? Are these to methods used seperately, in tandum or combined?
-
I'm new to trading and I'm studying indicators and chart patterns. I've heard that some indicators work best when price patterns are ranging and other indicators work best when price patterns are trending. However, I can't remember where I read that. Does anyone know which indicators to use in a ranging market and which indicators to use in a trending market?
- 9 replies
-
- chart patterns
- indicators
-
(and 2 more)
Tagged with:
-
To have your indicator show a histogram, you need to have two formulae in your code and then calculate the difference. For example, I made a stochastics divergence histogram and the two lines of code that made the histogram are: plot Diff = FullK - FullD; Diff.SetPaintingStrategy(PaintingStrategy.HISTOGRAM); Regards, StockJock
-
I don't see a relative strength index (RSI) as an indicator in the TOS platform. Does anyone have code for this? Thanks, StockJock
-
I'm working on an pattern recognition code and I'm stuck, because the online TOS code manual has its limitations. Can someone in this forum help me? I'm having getting errors on lines 13 and 16 . def H = high(); def O = open(); def C = close(); def L = low(); def BodyOpen = Max(open, close); def BodyClose = Min(open, close); def Body = BodyOpen - BodyClose; def Pattern = H[1] > H[0] && L[1] > L[0] && O[1] > O[0] && C[1] > C[0] && C[1] > (O[0] - C[0] / 2); def Condition = if(Pattern then 0 else 1); AddChartLabel(yes, L[0], if Condition then "Bullish Piercing Pattern" else "", color.green); alert(Condition, "Piercing Pattern", Alert.BAR, sound.Chime); plot null = double.nan; Thanks, StockJock