The "Moving Balance Indicator" - NinjaTrader Programming | futures io social day trading
futures io futures trading

The "Moving Balance Indicator"
Updated: Views / Replies:4,586 / 6
Created: by RJay Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

The "Moving Balance Indicator"

  #1 (permalink)
Hartford, CT. USA
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
RJay's Avatar
Posts: 679 since Jun 2009
Thanks: 730 given, 747 received

The "Moving Balance Indicator"

Does anyone have any info regarding The "Moving Balance Indicator"

Its located in Humphrey Lloyd's book - "The Moving Balance System."

Its an old indicator. I wonder if it could be updated.

Does anyone have the code???? I understand its posted in the book.

Here is a version of it called rawharmonic at Trade Point Technologies that looks nice.

Any input is appreciated.



Please register on to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Thumbnails
The "Moving Balance Indicator"-harmonic1a.jpg  
Reply With Quote
The following user says Thank You to RJay for this post:
  #2 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
Ausy Mick's Avatar
Posts: 69 since Jun 2009
Thanks: 45 given, 63 received


Here is the code for the indicator, unfortunately it is for the amiBroker platform.

// MBI written by Barry Scarborough
// Developed by Humphrey Lloyd, see pages 54-57 of The RSL Market Timing System
// Step 1 - calc 10 day moving avarage of the index
// step 2 - calc the average volume component
// step 3 - calc arms
// step 4 - calc mbi
// step 5 - plot mbi

// Select exchange
tgl = ParamToggle("Index", "NYSE|NASD", 0);
index = "NASD";
index = "NYSE";

// Step 1 - AD component
period = Param("Period", 10, 2, 50, 1);
UpIssues = Foreign("~" + index, "O"); // advancing issues
DnIssues = Foreign("~" + index ,"C"); // declining issues
AD = 10 * MA(UpIssues, period ) / MA(DnIssues, period );

// Step 2 - Advancing volume
UpVol = Foreign("~" + index, "V"); // advancing volume
DnVol = Foreign("~" + index, "I"); // declining volume
AdvVol = UpVol / (UpVol + DnVol) * 100; // calculate percentage of days up volume
MaAdvVol = MA(AdvVol, period ) / 3; //
RMaAdvVol = round(MaAdvVol * period ) / 10; // rouind to the nearest .1 decimal place

// Step 3 - trin (arms)
Arms = MA(UpIssues / DnIssues * DnVol / UpVol, 10);
MaArms = round(Arms * 10) / 10; // rouind to the nearest .1 decimal place

// Step 4 - assign a value depending on the arms moving average
CalcArms = IIf (MaArms <= 0.6, 12.5,
IIf (MaArms <= 0.7, 12.0,
IIf (MaArms <= 0.8, 11.5,
IIf (MaArms <= 0.9, 11.0,
IIf (MaArms <= 1.0, 10.5,
IIf (MaArms <= 1.1, 10.0,
IIf (MaArms <= 1.2, 9.5,
IIf (MaArms <= 1.3, 9.0,
IIf (MaArms <= 1.4, 8.5,
IIf (MaArms <= 1.5, 8.0,
IIf (MaArms <= 1.6, 7.5,
IIf (MaArms <= 1.7, 7.0,
IIf (MaArms <= 1.8, 6.5,
IIf (MaArms <= 1.9, 6.0,
IIf (MaArms <= 2.0, 5.5,
IIf (MaArms <= 2.1, 5.0,
IIf (MaArms <= 2.2, 4.5,
IIf (MaArms <= 2.3, 4.0,
IIf (MaArms <= 2.4, 3.5,
IIf (MaArms <= 2.5, 3.0,
IIf (MaArms <= 2.6, 2.5,
IIf (MaArms <= 2.7, 2.0,
IIf (MaArms <= 2.8, 1.5,
IIf (MaArms <= 2.9, 1.0,
IIf (MaArms <= 3.0, 0.5,
IIf (MaArms <= 3.1, 0,
IIf (MaArms <= 3.2, -0.5,
IIf (MaArms <= 3.3, -1.0,
IIf (MaArms <= 3.4, -1.5,
IIf (MaArms <= 3.5, -2.0,
IIf (MaArms <= 3.6, -2.5,
IIf (MaArms <= 3.7, -3.0,
IIf (MaArms <= 3.8, -3.5,
IIf (MaArms <= 3.9, -4.0, -4.5))))))))))))))))))))))))))))))))));

// Step 4
MBI = round(( AD + RMaAdvVol + CalcArms ) * 1.5);

// Step 5

Plot( MBI, "MBI(" + NumToStr(period, 1.0) + ") " + index + " " , colorRed); // -8
Plot(45.0, "", colorBlue);

Hope this helps.

Ausy Mick

Reply With Quote
The following user says Thank You to Ausy Mick for this post:
  #3 (permalink)
Hartford, CT. USA
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
RJay's Avatar
Posts: 679 since Jun 2009
Thanks: 730 given, 747 received


I need something I can work with like TL!!!!

Thanks anyway for the post!!!


Reply With Quote
  #4 (permalink)
Elite Member
Southern California
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: TF
randyjb's Avatar
Posts: 69 since Jun 2009
Thanks: 442 given, 29 received

Hey RJay.. contact scJohn over at the Ninja user forum.. He has the skills to convert it over from Ami.. If he finds the indicator interesting he might just do it.

Happy Trading,

Reply With Quote
  #5 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 46,335 since Jun 2009
Thanks: 29,444 given, 83,935 received

scJohn is here too, if you want to drop him a note on our forum


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
  #6 (permalink)
Elite Member
California, USA
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Kinetick
Favorite Futures: Currency Futures
Posts: 29 since Jul 2009
Thanks: 16 given, 77 received


Here is my attempt at converting the MBI code provided by Ausy Mick above. My index data (issue and volume) only updates every 8-10 minutes from my data provider so resolution isn't the greatest less than 15 minutes time frame. Please feel free to revise/improve.

Attached Thumbnails
The &quot;Moving Balance Indicator&quot;-mbi_pic.png  
Attached Files
Register to download File Type: zip (6.9 KB, 68 views)
Reply With Quote
  #7 (permalink)
Elite Member
Queretaro,Qro. Mexico
Futures Experience: Intermediate
Platform: Ninja Trader, Multicharts
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
Posts: 31 since Nov 2009
Thanks: 4 given, 3 received


I have just installed the indicator and it is not visible although the strategy is I need to have special data feed of any kind?? thanks, Spiko

Reply With Quote


futures io > > > > > The "Moving Balance Indicator"

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recreate "Precision Divergence Finder Indicator"? tdaman Traders Hideout 28 December 16th, 2014 06:10 PM
can anybody code/find the indicator "VOLUMe PRESSURE" from i mystiq NinjaTrader 9 February 19th, 2014 11:32 AM
The VMA Zones indicator. The "Kill Zone"?? Tiberius Traders Hideout 6 October 5th, 2013 08:56 PM
dealing with GetCurrentBidVolume and GetCurrentAskVolume , "long" casting into "int" jmejedi NinjaTrader Programming 4 May 23rd, 2011 09:33 AM
RJay's "Trader Volume" and "Trader Tick" Indicator Suites RJay The Elite Circle 20 December 20th, 2010 05:01 PM

All times are GMT -4. The time now is 02:55 PM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts
Page generated 2018-05-21 in 0.12 seconds with 20 queries on phoenix via your IP