Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

OSMA for Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
oscillator, amibroker

mt4 indicator converted to afl

Similar Indicators / Formulas

Febo RSI ..real indicator
Submitted by abhinavsingh about 13 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 10 years ago
Ergodic Oscillator
Submitted by dljtrader about 14 years ago
3 Days Track
Submitted by janet0211 over 14 years ago
Chande Momentum Oscillator
Submitted by klimpek almost 14 years ago
BoH Risk Aversion Indicator
Submitted by genkumag almost 13 years ago

Indicator / Formula

Copy & Paste Friendly
// osma implementation for Amibroker
// version 0.2 (c) 28th April 2011, //xytise@gmail.com 


// Params

GraphXSpace = 3;

FastEma=Param("Fast EMA", 12, 1 , 25, 1);
SlowEma=Param("Slow EMA", 26, 1 , 50, 1);
SignalEma=Param("Signal EMA", 9, 1 , 25, 1);

// signals 
s = Signal( FastEma, SlowEma, SignalEma ); 
m = MACD( FastEma, SlowEma ); 
OsMA=m-s;

// plots
CenterLine = 0;
OsMAColor=IIf( OsMA > CenterLine,colorBrightGreen, colorRed);
Plot (OsMA, "OsMA ", OsMAColor,styleHistogram|styleThick );

3 comments

1. hommer

pathetic…

2. moapereira

This is MACD Histogram
Yes! Pathetic.

3. icemanc

Hi admin plz dis approve this ,

this is a simple macd histogram .

I found this in one blog ,didn’t observe the code

Leave Comment

Please login here to leave a comment.

Back