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.
justlurkin
Members-
Content Count
54 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Articles
Everything posted by justlurkin
-
I use APC Back-UPS XS 1200 Model BX1200. Never had an issue and would definitley buy it again.
-
become, For non-I/RT users it seems that this would simply be ( (TotalTicks * TotalTicks) / Bar Time in Seconds ) according to Investor/RT Tour - Volume Breakdown (VB) However, I don't see results anywhere near UBs indicator. Tooker, Can you post a pic of todays action with the indicator. I'm going to have to run replay over the weekend to post a pic. ps: TotalTicks = Total Trades (not volume) for the current bar (1000 Volume in this case)
-
Yeah, volume chart is much better in this case. The bug is related to scrolling. When scrolling left to view previous data the indicators fire an overflow error and disappear. This is usually the sign of a minor oversight, will check into it. It seems the indicator is nothing more then 50% retrace level using scalper peaks/troughs. The additional smoothing introduces a little lag but removes jumps caused by minor peaks/troughs. How would you use this trading something like the YM?
-
This looks more in line with your description, although still buggy ...
-
I think this makes more sense now. The previous code averaged all points between swing high/lows since it uses a dataseries. This means, that if there are 4 swing points across 100 bars, the midpoint series would be 100 bars wide and an average using, for example, a length of 4 would average the last 4 points and tack it on. However, it seems that you are looking for average of 4 midpoints only, regardless of the number of bars, making the actual dataseries of midpoints much shorter and out of sync with the bars series, an array or list perhaps. This would get you a flat line between swing paints. This probably sounds incoherent but I'll look into it, seems simple enough. This implies that the following are not equivalent: Tradestation: theavg = average((( s_low + s_high) /2 ), len); Ninja: Midpoints.Set((s_low + s_high)/2.0); theavg = SMA(Midpoints, pLen)[0]; The Tradestation version is adding to "theavg" only when a new swing is detected. The Ninja version is adding a point on every bar, hence the extreme smoothing. At least this is my assumption.
-
maybe someone can chime in and clarify how this statement works in Tradestation: theavg = average((( s_low + s_high) /2 ), len); I would assume that average requires a series as input. So what happens when s_low + s_high) /2 is inserted instead? Is this truly equivalent to the following ninja statement: Midpoints.Set((s_low + s_high)/2.0); theavg = SMA(Midpoints, pLen)[0];
-
I see. The image is much clearer. I can assume that the period is also being used in the swing function within Ninja, but I'll investigate.
-
And here's one with the 11 period smoothed version.
-
here's an image of actual scalper peaks and troughs. From that the midpoint is calculated and plotted (No smoothing is done). Changes in the midpoint are done at the time a peak/trough is detected. While scalper paints in the past based on the confriming bar, the midpoint paints at the time of the confirming bar. Does this look closer to what you had intended?
-
A couple of things. The code does not use ttm scalper code to define swing highs and lows. It uses Ninja's built in Swing indicator which is not the same thing. The square line is also not just a simple average of the swings as there are points in between which I can't figure out. Some more details would be nice. The code seems to be averaging using a user length on a series called midpoints. Midpoints of swing high and lows is straightforward, but what is used in between? if I had more patience I would decipher the code but I'd rather know a description of that line from you and see what I can do from there.
-
Not quite sure what you want here. Can you explain the indicator in plain english step by step?
-
Would like to hear more on the tools used to decipher volume. I have noticed on the YM 1 minute a good 2 bar reversal can be consistently seen if: (for tops) bar 1 is an up bar with a tail at the High along with exhaustion volume peak and bar 2 is a down bar with much less volume. This can be seen over and over again. The reverse holds true for bottoms. I usually tend to enter on pullbacks but this theory doesn't seem to work for pulllbacks so I second guess the trades. In an uptrend, once an exhaustion peak is observed, a simple pullback could follow and then take off.... Just my observation...
-
Awww. Forget the kids man! Teach me. Me me me me.:missy: Good luck.
-
I see your point with the 200 ema being powerful turning points but I don't know if I could pull the trigger in real time without quite understanding why this happens (any reasoning appreciated). I read over at ET you used a WMA. Is ther any specific preference to EMA over WMA? Having said this, perusing over the last few weeks' charts, I would feel comfortable fading the 200ema if there has been at least one test and failure to break during the day. i.e. take the second retest with much more confidence. Is there any merit to this method in your experience? Would I miss too many good moves? Jumping in right at the EMA, although scary also would require a valid stop loss. I see that for ES you use a 2 pt stop based on the current volatility. Is it safe to assume that for other products a similar volatility based stop is also valid? Would the first scale out have to be at entry + Volatility in order to get the correct R&R? thanks
-
High Volume Spike Reversal Indicator Development
justlurkin replied to davem1979's topic in Coding Forum
Please do MK, I'd like throw that into Ninja..... thanks -
Steve. Could you elaborate on entry on test of EMA method. Do you just enter a limit order and hope not to catch a falling knife or is there something more to look at for confirmation (bar pattern, shorter ma, etc.) thanks
-
Can anyone post a screenshot of what this indicator looks like. I'd like to see if its worth the port to Ninja. thanks
-
FWIW, my 2 cents: I've traded FX with IB in the past with no reasons at all to complain. Spreads are tightest I've seen on most popular pairs because they have a flat fee (i.e. their commission is transparent and not hidden in the spread). Also a 1 lot transaction (Volume = 1) represents 100000 units of the base currency in any pair. (EURUSD = 100000USD). I've used MT4 as a platform but executed all my trades through FXTrader (IB tool) and I always immediately got better fiils commission included.
-
High Volume Spike Reversal Indicator Development
justlurkin replied to davem1979's topic in Coding Forum
davem1979 Here is my quick hack at it. Seems simple enough. I've added the possibility of setting a period in the indicator in case you want to experiment with extending the Volume lookback. In its default state, it should be identical to yours. attached is a pic of the indicator on YM 1 min timframe although not sure how you would use it for entries/exits. I've also noticed that if the current bar is a doji you have to be careful before jumping in. Personally, I am looking to find a way specifically to enter on a breakout from pullbacks. Here is the OnBarUpdate routine for Ninja (attached is the full zip) protected override void OnBarUpdate() { // Use this method for calculating your indicator values. Assign a value to each // plot below by replacing 'Close[0]' with your own formula. //HIGH VOLUME SPIKE LONG SIGNAL if (CurrentBar > period) { if ( (Low[0]<=Low[1]) && (Low[0]<=Low[2]) && (Close[0]>=Close[1]) && (Close[0]>=Open[0]) && (Close[0]-Open[0])<(High[0]-Low[0]) && //(Volume[1]>Volume[2]) && (Volume[1]>Volume[3]) && (Volume[1]>Volume[4]) && (Volume[1]>Volume[5]) && (Volume[1]>Volume[6]) ) (Volume[1]>MAX(Volume,period)[2]) ) { BackColor = Color.Green; //Spike.Set(1); } if ( (Low[0]>=Low[1]) && (Low[0]<=Low[2]) && (Close[0]>=Close[1]) && (Close[0]>=Open[0]) && ((Close[0]-Open[0])<(High[0]-Low[0])) && //(Volume[1]>Volume[2]) && (Volume[1]>Volume[3]) && (Volume[1]>Volume[4]) && (Volume[1]>Volume[5]) && (Volume[1]>Volume[6]) ) (Volume[1]>MAX(Volume,period)[2]) ) { BackColor = Color.Lime; //Spike.Set(1); } //HIGH VOLUME SPIKE SHORT SIGNAL if( (High[0]>=High[1]) && (High[0]>=High[2]) && (Close[0]<=Close[1]) && (Close[0]<=Open[0]) && ((Open[0]-Close[0])<(High[0]-Low[0])) && //(Volume[1]>Volume[2]) && (Volume[1]>Volume[3]) && (Volume[1]>Volume[4]) && (Volume[1]>Volume[5]) && (Volume[1]>Volume[6]) ) (Volume[1]>MAX(Volume,period)[2]) ) { BackColor = Color.Crimson; //Spike.Set(-1); } if( (High[0]<=High[1]) && (High[0]>=High[2]) && (Close[0]<=Close[1]) && (Close[0]<=Open[0]) && ((Open[0]-Close[0])<(High[0]-Low[0])) && //(Volume[1]>Volume[2]) && (Volume[1]>Volume[3]) && (Volume[1]>Volume[4]) && (Volume[1]>Volume[5]) && (Volume[1]>Volume[6]) ) (Volume[1]>MAX(Volume,period)[2]) ) { BackColor = Color.Red; //Spike.Set(-1); } } } VolumeSpike.zip -
Ahh, the missing link being sort by size and not by price. I knew there was a simpler way, just couldn't get my head around it. So effectively it is the middle value of the volume numbers in a sorted list. Once found, the price at that volume is noted. I kept thinking of median in terms of price. Thanks.
-
I was afraid of that, but just to make sure, a contract that trades 100000 units and for example each trade was 10000 units at each price point. Then the Median would be (price range $1 - $10) the middle value of 1,1,1,1...(10000 times),2,2,2,....(10000times), .........,10,10,10,10 (10000 times)? this example is easy since all volumes are identical but when each volume at price is different, the list gets huge if I have this correct? thanks
-
Karish. I'm trying to plot this in C#. Is there a simple way of calculating the median of the price distribution? I'm thinking of creating a list double that will insert each price point repetitively until all volume is accounted for, and then sort and figure out the median. This seems tedious, is there a simpler way? thanks
-
Can you also post the text version as I don't use TradeStation but should be able to read the code. thanks
-
Northern Boy, this seems interesting. Would you have a list of decent prop shops in Canada. I'd like to research them myself... thank you