NexusFi: Find Your Edge


Home Menu

 





The "Moving Balance Indicator"


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one RJay with 2 posts (1 thanks)
    2. looks_two Big Mike with 1 posts (0 thanks)
    3. looks_3 Ausy Mick with 1 posts (1 thanks)
    4. looks_4 eleven with 1 posts (0 thanks)
    1. trending_up 8,141 views
    2. thumb_up 2 thanks given
    3. group 5 followers
    1. forum 6 posts
    2. attach_file 3 attachments




 
Search this Thread

The "Moving Balance Indicator"

  #1 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 683 since Jun 2009
Thanks Given: 758
Thanks Received: 787

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.

Thanks,

RJay


Attached Thumbnails
Click image for larger version

Name:	harmonic1a.jpg
Views:	497
Size:	291.9 KB
ID:	3776  
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
Ausy Mick's Avatar
 Ausy Mick 
Florida
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 69 since Jun 2009
Thanks Given: 45
Thanks Received: 65

Hi RJ

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

_SECTION_BEGIN("MBI");
// Select exchange
tgl = ParamToggle("Index", "NYSE|NASD", 0);
if(tgl)
index = "NASD";
else
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);
_SECTION_END();



Hope this helps.

Ausy Mick

Reply With Quote
Thanked by:
  #3 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 683 since Jun 2009
Thanks Given: 758
Thanks Received: 787




OMG!!!!

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

Thanks anyway for the post!!!

RJay

Started this thread Reply With Quote
  #4 (permalink)
 
randyjb's Avatar
 randyjb 
Southern California
 
Experience: Intermediate
Platform: NinjaTrader
Trading: TF
Posts: 71 since Jun 2009
Thanks Given: 497
Thanks Received: 34

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,
Randy

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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

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

https://nexusfi.com/trading_member/scjohn.html

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 Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 eleven 
California, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Kinetick
Trading: Currency Futures
Posts: 41 since Jul 2009
Thanks Given: 19
Thanks Received: 91

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
Click image for larger version

Name:	MBI_pic.png
Views:	418
Size:	31.1 KB
ID:	4031  
Attached Files
Elite Membership required to download: MBIv0_1.zip
Reply With Quote
  #7 (permalink)
 spikoloco 
Queretaro,Qro. Mexico
 
Experience: Intermediate
Platform: Ninja Trader, Multicharts
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 34 since Nov 2009
Thanks Given: 7
Thanks Received: 3

eleven,

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

Reply With Quote




Last Updated on July 20, 2010


© 2024 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 - Privacy Policy - Downloads - Top
no new posts