NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Volume Up Down Average


Discussion in EasyLanguage Programming

Updated
    1. trending_up 11,423 views
    2. thumb_up 9 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 4 attachments




 
Search this Thread
  #1 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,583

I couldn't find an indicator that accomplished what I wanted, so I just made one. The indicator simply plots the Up volume and Down volume separately, as an average.

Simple concept - price closes above the typical (H+L)/2 then it's marked as up volume, and vice versa for down volume.

- If the up volume band is higher than the down volume band, then market is probably moving up.
- If both bands are declining, there is not much interest at these prices.
- If bands are moving towards each other, trend reversal.
- If bands are moving away from each other, trend continuation.

Anyway, don't read too much into it.

Here is the code, some screen shots, and a MultiCharts pla.

 
Code
                            
{***********************

Big Mike Trading
https
://nexusfi.com
May 2011

***********************}

inputs:
    
avglength 20 );
    
vars:
    
upvol ),
    
upvolavg ),
    
dnvol ),
    
dnvolavg ),
    
typical );
    
typical = (H+L) / 2;

if 
typical then upvol else upvol 0;
if 
typical then dnvol else dnvol 0;

upvolavg XAverage(upvolavglength); 
dnvolavg XAverage(dnvolavglength);

Plot1(upvolavg);
Plot2(dnvolavg);
Plot3(upvolavg);
Plot4(dnvolavg); 
Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Attached Thumbnails
Click image for larger version

Name:	5-23-2011 9-10-58 PM.jpg
Views:	833
Size:	201.2 KB
ID:	39102   Click image for larger version

Name:	5-23-2011 9-11-14 PM.jpg
Views:	790
Size:	584.3 KB
ID:	39103  
Attached Files
Elite Membership required to download: VolUpDnAvg.pla
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
 RM99 
Austin, TX
 
Experience: Advanced
Platform: TradeStation
Trading: Futures
Posts: 838 since Mar 2011
Thanks Given: 124
Thanks Received: 705


Mike,

This is almost identical to the "On Balance Volume" indy on TS. Yours actually includes the upvol plot line and the downvol plot line, where the OBV only plots the difference.

Yours is a little more aggressive (even with both set at 20) and a little more leading (I like it)


Reply With Quote
Thanked by:
  #4 (permalink)
 RM99 
Austin, TX
 
Experience: Advanced
Platform: TradeStation
Trading: Futures
Posts: 838 since Mar 2011
Thanks Given: 124
Thanks Received: 705

It's also very similar to the "Chaikin Oscillator" which relates price action to volume in reference to accumulation or distribution. But again, plotting the overlaid, your version is a little more agressive/leading which gives better signals for entry or exit.

You're giving out tons of free chicken


Reply With Quote
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,583


RM99 View Post
You're giving out tons of free chicken

Thanks for the feedback

Who's hungry?



Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on June 6, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts