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


The "Moving Balance Indicator"
Updated: Views / Replies:4,071 / 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

Reply
 
Thread Tools Search this Thread
 

The "Moving Balance Indicator"

  #1 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 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.

Thanks,

RJay

Please register on futures.io 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
Florida
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
 
Ausy Mick's Avatar
 
Posts: 69 since Jun 2009
Thanks: 45 given, 62 received

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
The following user says Thank You to Ausy Mick for this post:
 
  #3 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received




OMG!!!!

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

Thanks anyway for the post!!!

RJay

Reply With Quote
 
  #4 (permalink)
Elite Member
Southern California
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: TF
 
randyjb's Avatar
 
Posts: 68 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,
Randy

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,240 since Jun 2009
Thanks: 29,353 given, 83,234 received

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

https://futures.io/trading_member/scjohn.html

Mike

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.
6)
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, 75 received

MBI

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 MBIv0_1.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: 30 since Nov 2009
Thanks: 4 given, 3 received

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

Reply



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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 01:31 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-16 in 0.11 seconds with 20 queries on phoenix via your IP 23.22.136.56