• Getting started
    • Steps to get started
    • Subscribe to a paid plan
    • Instructions
    • Pricing
    • Discounted Pro
    • Unlimited Free Plan
    • Customer Support
  • Features (Trade logic)
    • List of all Trading features
    • Entry logic: Entry by Premium
    • Entry logic: ATM %
    • Entry logic: Straddle Width
    • Entry logic: Straddle Premium
    • Entry logic: Percentage of Underlying
    • Entry logic: Specific Strike
    • Move Stoploss to Cost
    • Positional trades
    • Premium Matching functionality
    • Re-Entry / Re-Cost / Re-Execute
    • Wait & Trade
    • Underlying based Entries & Exits
    • Range Breakout
    • Journey
  • Signals
    • Introduction to Signals
    • Signals: TradingView Pinescript Strategy
    • Signals: TradingView Indicator
    • Signals: Custom Scripts
  • Advanced Settings
    • List of all Advanced Settings
    • Entry order delay & Exit order delay
    • Re-Execute method
    • Re-entry timing settings
    • SL order placement delay
    • Re-entry max count Type
    • Re-execute order delay
    • Entry restriction for next day
    • Target & Stoploss Calculation Method
    • Re-Cost Activation setting
  • Order types
    • Order type: SL-Limit
    • Limit / SL-Limit EXIT orders
    • Limit / SL-Limit ENTRY Orders
  • Other features
    • Square off individual legs
    • Clientwise Stoploss & Target
    • Auto exit on margin error
    • Retry button for individual orders
    • Telegram Alerts
    • Advance placement of Re-Entry orders
    • Multiplier
    • P&L Graph (beta)
    • Next week & Monthly Contracts
    • Underlyings for Strike Selection
    • MTM Setting Increase/Decrease
    • Orderbook
    • Auto handling of Exits if stoploss orders cancelled
    • Forward Testing
  • Sample Strategies
    • Sample Strategies
    • Sample Strategy - Journey (Nifty)
    • Sample Strategy - ReCost / ReExecute with MTM Reentry (Nifty)
    • Sample Strategy - Wait & trade (Sensex)
    • Sample Strategy - Entry by Premium (Nifty)
    • Sample Strategy - Strangle with Individual leg TG/SL (Sensex)
    • Sample Strategy - Straddle with MTM/SL (Nifty)
    • Sample Strategy - Range Breakout with different TG/SL (Nifty)
    • Sample Strategy - STBT (Sensex)
  • Important topics
    • Limit Price Protection (LPP) mechanism
  • Broker Setup
    • AngelOne
    • Upstox
    • IIFL Markets (ONT)
    • Zerodha
    • IIFL
    • IIFL V2 (CDC)
    • Flattrade
    • R Money (XTS)
    • Tradejini CubePlus
    • Zebu
    • Dhan
    • Tradejini
    • 5Paisa
    • Bigul by Bonanza
    • Indiabulls (XTS)
    • Jainam Duck
    • AC Agarwal
    • Kotak Neo V2 [with TOTP]
    • Kotak Neo [with TOTP] (DISCONTINUED)
    • Kotak Neo (DISCONTINUED)
    • Motilal Oswal
    • Fyers
    • Jainam XTS (Retail)
    • MasterTrust
    • AliceBlue
    • Sharekhan
    • Groww
    • Finvasia Shoonya
  • SEBI Regulations on Algo Trading 2026
    • Regulations - A Brief Overview
    • Regulations - FAQs
    • Brokers supported 1st April 2026 onwards
    • Notice - 28th March 2026
    • Migration Guide

Sample Strategy - Straddle with MTM/SL (Nifty)


Disclaimer:

This document is for informational purposes only and describes the mechanics of the strategy as configured on the Quantiply platform. It is not financial advice. Past performance of any strategy does not guarantee future results. Please ensure you understand the risks involved before trading with real capital.

Strategy Overview:

This strategy deploys a Short ATM Straddle on NIFTY. In simple terms, you are simultaneously selling one Call option and one Put option, both at the At-the-Money (ATM) strike. Both legs are entered at the same time, at the defined start time of the strategy.

Here is what gets sold at entry:

  • 1 lot of NIFTY ATM Call Option (CE)
  • 1 lot of NIFTY ATM Put Option (PE)

Strategy Snapshot:

Overview of the key configuration parameters for this strategy

Risk Management Configuration:

No individual leg stoploss or target has been defined for this strategy. Risk and reward are managed entirely at the combined MTM level. This means the system looks at the total profit or loss of both legs together, not each leg on its own.

All exit conditions are controlled using two settings: an MTM Target and an MTM Stoploss.

MTM Target:

Type: MTM in Total Amount

Value: Rs. 1,000

Action: Square off all positions

How it works:

The system continuously monitors the combined real-time profit of both the CE and PE legs. When the total strategy profit reaches or exceeds Rs. 1,000, the algo automatically squares off both legs, closes the entire straddle position, and stops further execution for the session.

This ensures profit booking is handled at the overall strategy level rather than per leg.

Example:

Suppose the CE leg is sold at Rs. 300 and the PE leg at Rs. 280. The combined premium collected is Rs. 580. As the market stays flat and both premiums decay, the combined profit gradually builds up. The moment the total profit across both legs reaches Rs. 1,000, the system exits the entire straddle immediately.

MTM Stoploss:

Type: MTM in Percentage

Value: 5%

Action: Square off all positions

How it works:

The stoploss is defined as a percentage-based drawdown on the overall strategy MTM. If the combined loss of both legs reaches 5% of the combined premium sold at entry, the algo immediately squares off all open positions, closes the entire straddle, and prevents further loss.

This approach ensures that risk is controlled at the strategy level instead of monitoring each leg independently.

Key Things to Know

  • Because there are no individual leg exits, both legs run together until either the combined target or stoploss is hit or the end of day exit time is reached.
  • This strategy works best in range-bound market conditions, where both premiums decay steadily without a large directional move.