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

Options expiration ribbon for Amibroker (AFL)
jaonn
almost 14 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker, options

Displays either a user-selectable ribbon or histogram.

For the ribbon,
red indicates the third Friday of the month.
green indicates the day before a non-trading day (usually a holiday).

The expiry formula was posted by Tomacz J.

Screenshots

Similar Indicators / Formulas

Options
Submitted by ravi_8u over 13 years ago
bad tick clean
Submitted by pious243 over 11 years ago
3_6Day GuaiLiLv
Submitted by motorfly almost 13 years ago
Williams Alligator System
Submitted by durgesh1712 about 13 years ago
Interactive Linear Regression Channel
Submitted by InternetWorm almost 13 years ago
*Level Breakout system*
Submitted by Tinych about 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Options Expiration");
dow = DayOfWeek();
expiry = IIf(dow<=5 AND Ref( dow < 2, 1 ) AND Day() > 14  AND Day() < 22,True,False);
Holiday = (dow==5 AND Ref(dow,1)>1) OR (dow<5 AND Ref(Day(),1)>Day()+1);
showRibbon = ParamList("Show Ribbon", "Yes,No");
if (showRibbon == "Yes")
	Plot(3, "Ribbon", IIf(expiry, colorRed, IIf(Holiday, colorDarkGreen, colorLightGrey)), styleOwnScale|styleArea|styleNoLabel, -0.5, 100);
else
	Plot( expiry+2*Holiday, _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), styleHistogram | styleOwnScale ); 

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back