Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Strangle and Straddle Option Spread – Amibroker AFL code

54 sec read

The Complete March month Marketcalls decided to focus more on Implementing Option Strategies in Amibroker. As a kickstart thought of coding simple concepts before turning out with Complex Ideas. As a initiative, thought of starting with implementing Option Spreads with Strangle and Straddle.

If you are a Options Strategic Player then probably you would be interested in monitoring the Option Spread in Realtime. However a time series option spread is even more interesting. The below image shows the Option Spread of 6000CE + 6400CE long straddle strategy for march option series.

options Spread

 

Visit here for Live Nifty Option Charts

Procedure to Setup the Strangle and Straddle Option Spread

1.Download Strangle and Straddle Option Spread AFL code to Amibroker/Formulas/Options Spread directory
and Unzip the file. Create Options Spread Directory if it doesn’t exist.
2.Open Amibroker->Open New Blank Chart
3.Now on the Left Pane goto Charts->Option Spread and drang and drop Strangle and Straddle Spread to the blank chart.
4.Bingo! you got the Spread chart.
5.To Change the spread right click over the charts and goto Parameters where you have control to change the strike1 and strike2 prices as shown below
Properties

What Strategies are covered in the AFL Code?
1.Long Strangle – Volatility Strategy
2.Long Straddle – Volatility Strategy
3.Short Straddle – Neutral Strategy
4.Short Straddle – Neutral Strategy

Prerequesite
Realtimedatafeed for Amibroker which Supports NSE Options.

Every day we are planning to release a set of Option spread strategies. Put you ideas to bring more stuff here. Stay Tuned!

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Algomojo Index Straddle/Strangle Execution Module with Intraday Stoploss

This tutorial focus on how to automate your index straddle/strangle strategy with intraday stop-loss levels with time-based entry and exits using Algomojo Platform and...
Rajandran R
7 min read

Learn How to Login into Algomojo Account using Amibroker

In the last tutorial, we learn how to automate the algomojo login process and in this video tutorial, we are going to learn with...
Rajandran R
1 min read

Amibroker Execution Module – Hedged Index Futures for Directional…

In the last tutorial, we learn the importance of Hedging Futures Position with OTM Options for Reduced Margin. This tutorial focus on how to...
Rajandran R
14 min read

5 Replies to “Strangle and Straddle Option Spread – Amibroker AFL code”

  1. Yes, It is a good start. But you know these kind of option strategies also hit SL sometimes. Why do you not consider the OI change in Options considered in these type of strategies and define something accurate by more than 95% in options. Till now, we use your super trend in sell side of options.However it working great, we did observe returns in terms of % looks lesser. Any how it is a new beginning in options. Hope we can expect more from your group on this. If possible we will be ready to share our ideas as well.

  2. I want to Configure AFL code in AMI Software for Auto Buy Sell Signal indicator with price… with Help…

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More