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)
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
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.
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.
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