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

Straddle Price Chart for Amibroker (AFL)
Shubh
over 4 years ago
Amibroker (AFL)

Rating:
4 / 5 (Votes 2)
Tags:
amibroker, Straddle, Strangle

You can plot straddle or strangle price ..

Basically this AFL combines 2 symbol OHLC and plot it as one.

Indicator / Formula

Copy & Paste Friendly

Apply to price chart

_SECTION_BEGIN("Strangle and Straddle Spread");
SetChartOptions(0,chartShowArrows|chartShowDates);

_N( Symbol1= ParamStr("Strike1", "NIFTY20JUN10000CE") );

SetForeign( Symbol1 );
C1 = C;
H1 = H;
L1 = L;
O1 = O;
V1 = V;
RestorePriceArrays();


_N( Symbol2= ParamStr("Strike2", "NIFTY20JUN10000PE") );

SetForeign( Symbol2 );
C2 = C;
H2 = H;
L2 = L;
O2 = O;
V2 = V;
RestorePriceArrays();

Color = ParamColor( "Color", colorDefault );
Style = ParamStyle( "Style", styleLine, maskPrice );


PlotOHLC( O1+O2, H1+H2, L1+L2, C1+C2, "(" + Symbol1+" + "+Symbol2 + ") spread", Color, style );

_SECTION_END();

3 comments

1. tradervn.hcm

well

2. hotaro3

Its just the sum of 2 Stocks

3. bsedoha

Good Job

Leave Comment

Please login here to leave a comment.

Back