Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Updated May 22, 2023
Top Posters
looks_one
snowcloud
with 93 posts (25 thanks)
looks_two
StockJock
with 91 posts (27 thanks)
looks_3
cbritton
with 37 posts (71 thanks)
looks_4
swimtrader
with 22 posts (19 thanks)
Best Posters
looks_one
Hornblower
with 2.3 thanks per post
looks_two
cbritton
with 1.9 thanks per post
looks_3
StockJock
with 0.3 thanks per post
looks_4
snowcloud
with 0.3 thanks per post
trending_up
324,702 views
thumb_up
223 thanks given
group
86 followers
forum
434 posts
attach_file
131 attachments
November 5th, 2010, 12:19 PM
Canada
Experience: Advanced
Platform: Sierra Chart
Trading: ES,6E
Posts: 25 since Jun 2010
Thanks Given: 1
Thanks Received: 30
Hopefully my code is correct ...
Code
# M_PriceSpikes
declare lower;
rec stdDev = stdev(close, 21);
plot spike=(close-close[1])/stdDev[1];
spike.setPaintingStrategy(PaintingStrategy.HISTOGRAM);
spike.AssignValueColor(if spike >0 then color.green else color.red);
spike.SetLineWeight(4);
plot zero=0; zero.AssignValueColor(color.GRAY);
plot one=1; one.AssignValueColor(color.GREEN);
plot mone=-1; mone.AssignValueColor(color.RED);
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
November 5th, 2010, 01:03 PM
Canada
Experience: Advanced
Platform: Sierra Chart
Trading: ES,6E
Posts: 25 since Jun 2010
Thanks Given: 1
Thanks Received: 30
Not sure what to make of this yet, because I have never seen this kind of display ...
Code
# M_PriceSpikes_With_VolumePressure
declare lower;
rec stdDevPrice = stdev(close, 21);
rec pricespike=(close-close[1])/stdDevPrice[1];
plot spike=pricespike;
spike.setPaintingStrategy(PaintingStrategy.HISTOGRAM);
spike.AssignValueColor(if spike >0 then color.green else color.red);
spike.SetLineWeight(5);
plot zero=0; zero.AssignValueColor(color.GRAY);
plot one=1; one.AssignValueColor(color.GREEN);
plot mone=-1; mone.AssignValueColor(color.RED);
rec stdDevVol = stdev(volume, 21);
rec volspike = if close > close[1] then -(volume/stdDevVol[1]) else (volume/stdDevVol[1]);
plot vspike=volspike;
vspike.setPaintingStrategy(PaintingStrategy.HISTOGRAM);
vspike.AssignValueColor(if vspike > 0 then color.red else color.green);
vspike.SetLineWeight(3);
rec tail= if close > open then open-low else close-low;
rec stdDevTail = stdev(tail, 21);
rec tailspike = -(tail/stdDevTail[1]);
plot tspike=tailspike;
tspike.setPaintingStrategy(PaintingStrategy.HISTOGRAM);
tspike.AssignValueColor(color.yellow);
tspike.SetLineWeight(1);
rec head= if close > open then high-close else high-open;
rec stdDevHead = stdev(head, 21);
rec headspike = (head/stdDevHead[1]);
plot hspike=headspike;
hspike.setPaintingStrategy(PaintingStrategy.HISTOGRAM);
hspike.AssignValueColor(color.white);
hspike.SetLineWeight(1);
November 6th, 2010, 08:48 PM
Chicago + Illinois/USA
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154
marcovth,
Thanks for sharing the codes for your indicators.
I'm still learning VSA and it seem like it doesn't involve calculated indicators. Except for the time averaging calculation in the VPA indicator in this thread, the other formulae are only comparisons between the current bar and volume in relation to the recent bars and volumes. As for volume spikes, take a look at the attached chart image and look at the spikes.
November 12th, 2010, 08:30 PM
Big City, MA
Experience: Intermediate
Platform: AMP Ninjatrader
Trading: ES, CL, NQ, TF
Posts: 79 since Nov 2010
Thanks Given: 3
Thanks Received: 16
How do I add Snowcloud's VPA indicator to TOS ? When I save it to my desktop, my pc wants to convert it to a media file... Thanks.
November 12th, 2010, 08:57 PM
Big City, MA
Experience: Intermediate
Platform: AMP Ninjatrader
Trading: ES, CL, NQ, TF
Posts: 79 since Nov 2010
Thanks Given: 3
Thanks Received: 16
ctmvas
How do I add Snowcloud's VPA indicator to
TOS ? When I save it to my desktop, my pc wants to convert it to a media file... Thanks.
i figuerd it out
November 14th, 2010, 07:59 AM
Canada
Experience: Advanced
Platform: Sierra Chart
Trading: ES,6E
Posts: 25 since Jun 2010
Thanks Given: 1
Thanks Received: 30
Quick thought ...
I understand that the volume comparisons are made based on averaged volume over, say, 30 bars.
Would it make sense to (also) base the volume comparisons over de average volume of the same timeslot over the last 15 trading days.
A 10 minute bar at 11:10 could be compared with the same 11:10 bar from the previous 15 days.
If you detect a VSA pattern with the last 30 bar average, it would be nice if it could be confirmed with timeslot based averages.
Velocity often occurs at similar times if the day. Extreme velocities could possibly be fished out this way?
November 15th, 2010, 12:22 AM
LA, CA
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25
marcovth
Quick thought ...
Would it make sense to (also) base the volume comparisons over de average volume of the same timeslot over the last 15 trading days.
That's an interesting idea but as far as I know it doesn't fall into the category of VSA.
November 15th, 2010, 11:26 AM
USA
Posts: 11 since Sep 2010
Thanks Given: 5
Thanks Received: 1
So then....with the new TOS build and the volume all screwed up on the intra day charts, along with other issues within the build....how do we trade this...I am sit on hands until things get ironed out, or I switch brokers.
November 15th, 2010, 05:22 PM
Canada
Experience: Advanced
Platform: Sierra Chart
Trading: ES,6E
Posts: 25 since Jun 2010
Thanks Given: 1
Thanks Received: 30
dqbuzz
So then....with the new
TOS build and the volume all screwed up on the intra day charts, along with other issues within the build....how do we trade this...I am sit on hands until things get ironed out, or I switch brokers.
FreeStockCharts.com - Web's Best Streaming Realtime Stock Charts - Free works perfectly fine when TOS fails.
November 16th, 2010, 11:15 AM
LA, CA
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25
dqbuzz
So then....with the new
TOS build and the volume all screwed up on the intra day charts, along with other issues within the build....how do we trade this...I am sit on hands until things get ironed out, or I switch brokers.
Yeah, it's definitely not easy. I've been using my IB charts when ToS has been particularly slow but, of course, there's no VPA study in IB. ;(
Last Updated on May 21, 2023