algomojo
Back to WebsiteVideosReleases
  • Introduction
  • Brokers
    • Login to Broker
      • Aliceblue
      • AN API
      • Bigul
      • Compositedge
      • DhanHQ
      • Fyers
      • Finvasia
      • Firstock
      • Flattrade
      • 5Paisa
      • Goodwill
      • Kotak
      • Motilal Oswal
      • Paytm
      • Rupeezy
      • Samco
      • Sharekhan
      • Sky Broking
      • Tradejini
      • Tradesmart
      • Upstox
      • XTS
        • Anand Rathi
        • ATS
        • IIFL
        • Motilal Oswal
        • Religare
        • Zebu
      • Zebu
      • Zerodha
    • Open an Account
      • Aliceblue
      • DhanHQ
      • Firstock
      • Fyers
      • Zebu
      • Upstox
  • Dashboard
    • Watchlist
    • Funds
    • Summary
    • My Profiles
  • Orders
  • Trades
  • Positions
  • Holdings
  • Unified Login
  • My API
    • My API
    • API TRANSACTIONS
  • MY API Logs
    • Orders Log
    • Request Log
  • Strategy Store
  • Signals Store
    • View Signal
  • Strategy Rule
    • LONG ONLY
    • SHORT ONLY
    • LONG+SHORT
    • LONG+SHORT
    • STOP + REVERSAL
  • My Strategies
    • Create
      • OPTIONS
      • FUTURES
      • EQUITIES
    • Edit
    • View
    • Clone
    • Watchlist
      • Equtiy
      • Futures & Options
    • Notification
    • Viewlogs
    • Position Reconciliation
    • Delete Strategy
    • Delete data
    • Disable
    • Enable
    • Publish Signal
    • Web Hook URL
  • My Signals
    • Signals
    • Orders
    • Positions
    • Holdings
    • Realized P/L
    • Summary
  • My Strategy Group
  • My Group Signals
    • Group Signals
    • Signals
    • Orders
    • Positions
    • Holdings
    • Realized P/L
    • Summary
  • Modules
    • Amibroker
      • Amibroker (WebHook)
        • Long Only Module
        • Short Only Module
        • Long + Short Module
        • Stop + Reversal Module
        • Button Trading Module
      • Amibroker Exploration(WebHook)
        • Long only Exploration Module
        • Short Only Exploration Module
        • Long + Short Only Exploration
        • Stop + Reversal Exploration Module
      • Amibroker (REST API)
        • Charting Module
        • Portfolio Module
        • Button Trading Module - Old
        • Button Trading Module - Modern
        • Spot/Futures to Options Trading Module
        • Spot/Futures to Options Trading Module - Old
        • Smart Order Trading Module
        • Spot/Futures Signals to Two Legged Options Execution Module
        • Timing Based Execution Module
        • Equity Intraday Exploration Module
        • Credit Spread Module
        • Intraday Straddle Module
        • Multi Client Button Trading Module - Old Version
        • Multi Client Smart Order Module
        • Option Button Trading Module to Trade ATM, ITM, OTM Options
    • Tradingview
      • Chart Trading(Long & Short)
      • Chart Trading(Buy, Sell, Short & Cover)
      • Supertrend Spot Future Signals To Options
      • Time Based Execution
      • Spot/Futures Signals to Two-Legged Options Execution Module
    • Chartink
    • Metatrader
      • MT4 Bridge
      • Button Trading Module
      • Chart Trading Module
    • Ninjatrader
      • Button Trading
    • Excel
      • Place Order
    • GSheet
      • Place Order
      • Get Realtime Quotes
    • Python
      • Test module
  • Strategies
    • Amibroker
      • SuperTrend Intraday
      • SuperTrend Positional
      • EMA Crossover
      • Lin Supertrend
      • Supertrend V5
      • Ultimate Volatility Expert
      • ATR Volatility System
      • Camarilla Trailing Stops
      • Bollinger Band Trailing Stop Loss
      • AlphaTrend Trading Strategy
      • Range Filter Trading System
      • Open Range Breakout Trading System
      • Halftrend Trading System
      • Kase Dev Stops V1
    • Trading View
      • SuperTrend Intraday & Positional
      • Pivot Point
      • Kase Dev Stops V1
      • AlphaTrend
      • Halftrend Strategy
      • Range Filter Strategy
    • Python
      • EMA Crossover - Stop and Reverse Strategy
      • Supertrend Strategy
  • Bridge
    • Amibroker Bridge Installation
    • Tradingview Bridge Installation
    • Chartink
    • Metatrader Bridge Installation
    • Excel Bridge Installation
    • GSheet Bridge Installation
    • Google Chrome Extension
    • Python Library
  • API
    • V1
      • Introduction
      • Place Order
      • Place BO Order
      • Place CO Order
      • Place FO Options Order
      • Place Smart Order
      • Place Multi-Order
      • Place Multi BO Order
      • Place Multi FO Options Order
      • Modify Order
      • Cancel Order
      • Cancel All Order
      • Order History
      • Order Book
      • Order Status
      • Trade Book
      • Position Book
      • All Positions
      • Open Positions
      • Square Off Position
      • Square Off All Position
      • Holdings
      • Funds
      • Exit BO-Order
      • Exit CO-Order
      • Get Quote
      • Profile
      • Appendix
  • Videos
  • FAQ
  • 🎧Support
Powered by GitBook
On this page
  • Equity
  • Futures
  • Options
  • Options Dynamic
  • Option Hedge

Was this helpful?

  1. Strategy Rule

LONG+SHORT

(BUY + SELL)

PreviousSHORT ONLYNextLONG+SHORT

Last updated 7 months ago

Was this helpful?

Equity

Signal Action

BUY

SELL

Signal Type

Short Position Exit or Long Position Entry

Long Position Exit or Short Position Entry

Order action

BUY

SELL

Order Type

Exit or Entry Order

Exit or Entry Order

Position check

Yes(Short)

Yes(Long)

Square-off Qty

If No Open Short Positions, Entry Long Order will be Placed

If No Open Positions, No Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that one share of long equity position has been bought.

The Positions tab indicates that we hold a long equity position of one share in Tata chemical.

Sell :

The Orders tab shows a sell order, and this sell order will exit the existing long equity position.

Under the Positions tab, you will see that the long tata chemical equity position has been squared off.

Second Sell :

The Orders tab shows a sell order, and this sell order creates a short position as per Long + Short strategy.

Under the positions tab, a short tata chemical equity position is updated.

Second Buy :

The Orders tab shows a buy order, and this buy order exits the existing short tata chemical equity position.

Under the position tab you will notice that the short tata chemical equity position is squared off.

Futures

Signal Action

BUY

SELL

Signal Type

Short Position Exit or Long Position Entry

Long Position Exit or Short Position Entry

Order action

BUY

SELL

Order Type

Exit or Entry Order

Exit or Entry Order

Position check

Yes(Short)

Yes(Long)

Square-off Qty

If No Open Short Positions, Entry Long Order will be Placed

If No Open Positions, No Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that one lot of long future position has been bought.

The Positions tab indicates that we hold a long Futures position of one lot in ITC.

Sell :

The Orders tab shows a sell order, and this sell order will exit the existing long futures position

Under the Positions tab, you will see that the long ITC Futures position has been squared off.

Second Sell :

Orders tab shows a sell order, and this sell order creates a short position as per Long + Short strategy.

Under the positions tab, a short ITC futures position is updated.

Second Buy :

The Orders tab shows a buy order, and this buy order exits the existing short ITC futures position.

Under the position tab you will notice that the short ITC futures position is squared off.

Options

Signal Action

BUY

SELL

Signal Type

Short Position Exit or Long Position Entry

Long Position Exit or Short Position Entry

Order action

BUY

SELL

Order Type

Exit or Entry Order

Exit or Entry Order

Position check

Yes(Short)

Yes(Long)

Square-off Qty

If No Open Short Positions, Entry Long Order will be Placed

If No Open Positions, No Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that a call option has been bought. here the instrument symbol depicts that we have placed a BANKNIFTY Order.

The Positions tab indicates that we hold a long position of 1 lot in BankNifty call options.

Second Buy :

The Order tab Updates with a second buy order.

The Positions tab shows a total of two long lots of BankNifty call option.

Sell :

The Orders tab shows a sell order, and this sell order will exit the existing long call position.

Under the Positions tab, you will see that the BankNifty long call position has been squared off.

Options Dynamic

Buying

Signal Action

BUY

SELL

Signal Type

Put Position Exit or

Call Position Entry

Call Position Exit or

Put Position Entry

Order action

SELL or BUY

SELL or BUY

Order Type

Exit PE or Entry CE Order

Exit PE or Entry CE Order

Position check

Yes(PE)

Yes(CE)

Square-off Qty

If No Open PE Positions, Entry CE Order will be Placed

If No Open CE Positions, Entry PE Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that a call option has been bought. Since no put option is currently available, so no exit for a put option is seen.

The Positions tab shows that we have a long position of 1 lot of Nifty call options.

Second Buy :

This will update the Orders tab with a second buy order.

This will update the Positions tab to show a total of two lots of nifty call option.

Sell :

the Orders tab displays a sell order, the sell order exits the existing call position.

Under the Positions tab, you will see that the Nifty call position has been squared off.

Second sell :

The Orders tab shows a buy order for a long Nifty put position based on the long + short strategy rule, as there is no available call position to square off.

The Positions tab will show a long Nifty put position along with a previously squared-off Nifty call position.

Selling

Signal Action

BUY

SELL

Signal Type

Call Position Exit or Put Position Entry

Put Position Exit or Call Position Entry

Order action

SELL or BUY

SELL or BUY

Order Type

Exit CE or Entry PE Order

Exit CE or Entry PE Order

Position check

Yes(PE)

Yes(CE)

Square-off Qty

If No Open CE Positions, Entry PE Order will be Placed

If No Open PE Positions, Entry CE Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that a put option has been bought. Since no call option is currently available, so no exit for a call option is seen.

The Positions tab shows that we have a long position of 1 lot of Nifty put options.

Second Buy :

This will update the Orders tab with a second buy order.

This will update the Positions tab to show a total of two lots of nifty put option.

Sell :

You’ll see that the Orders tab displays a buy order, the buy order exits the existing put position.

Under the Positions tab, you will see that the Nifty put position has been squared off.

Second sell :

The Orders tab shows a sell order for a short Nifty call position based on the long + short strategy rule, as there is no available put position to square off.

The Positions tab will show a short Nifty call position along with a previously squared-off Nifty put position.

Option Hedge

Buying

Signal Action

BUY

SELL

Signal Type

Call Position Exit or Put Position Entry

Put Position Exit or Call Position Entry

Order action

SELL or BUY

SELL or BUY

Order Type

Exit CE or Entry PE Order

Exit CE or Entry PE Order

Position check

Yes(CE)

Yes(PE)

Square-off Qty

If No Open CE Positions, Entry PE Order will be Placed

If No Open PE Positions, Entry CE Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that a put option has been bought. Since no call option is currently available, so no exit for a call option is seen.

The Positions tab shows that we have a long position of 1 lot of Nifty put options.

Second Buy :

This will update the Orders tab with a second buy order.

This will update the Positions tab to show a total of two lots of nifty put option.

Sell :

The Orders tab displays a sell order, the sell order exits the existing put position.

Under the Positions tab, you will see that the Nifty put position has been squared off.

Second sell :

The Orders tab shows a buy order for a long Nifty call position based on the long + short strategy rule, as there is no available put position to square off.

The Positions tab will show a long Nifty call position along with a previously squared-off Nifty put position.

Selling

Signal Action

BUY

SELL

Signal Type

Put Position Exit or

Call Position Entry

Call Position Exit or

Put Position Entry

Order action

SELL or BUY

SELL or BUY

Order Type

Exit PE or Entry CE Order

Exit PE or Entry CE Order

Position check

Yes(PE)

Yes(CE)

Square-off Qty

If No Open PE Positions, Entry CE Order will be Placed

If No Open CE Positions, Entry PE Order will be Placed

Example :

Buy :

The Orders tab displays the instrument symbol and indicates that a short call option has been created. Since no position of put option is currently available, so no square-off for a put option is seen.

The Positions tab shows that we have a short position of 1 lot of Nifty call options.

Second Buy :

This will update the Orders tab with a second sell order.

This will update the Positions tab to show a total of two short lots of nifty call option.

Sell :

The Orders tab displays a buy order, the buy order squares-off the existing call position.

Under the Positions tab, you will see that the Nifty call position has been squared off.

Second Sell :

The Orders tab shows a sell order for a short Nifty put position based on the long + short strategy rule, as there is no available call position to square off.

The Positions tab will show a short Nifty put position along with a previously squared-off Nifty call position.

Orders
Positions
Orders
Positions
Orders
Positions
Orders
Orders
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions
Orders
Positions