• Getting started
    • Steps to get started
    • Subscribe to a paid plan
    • Instructions
    • Pricing
    • Discounted Pro
    • Unlimited Free Plan
  • 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
    • Move Stoploss to Cost
    • Positional trades
    • Premium Matching functionality
    • Re-Entry / Re-Cost / Re-Execute
    • Wait & Trade
    • Underlying based Entries & Exits
    • Range Breakout
    • Journey
  • Advanced Settings
    • List of all Advanced Settings
    • Entry order delay & Exit order delay
    • Calculate entry & exit using Average price or LTP
    • Re-Execute method
    • Re-entry timing settings
    • SL order placement delay
    • Re-entry max count Type
    • Re-execute order delay
  • 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 Notifications
    • Advance placement of Re-Entry orders
    • Multiplier
    • P&L Graph (beta)
    • Next week & Monthly Contracts
    • Underlyings for Strike Selection
    • MTM Setting Increase/Decrease
  • Important topics
    • Limit Price Protection (LPP) mechanism
    • BSE Sensex, Bankex & NSE Midcpnifty
    • Lot size revision 2024-25
  • Broker Setup
    • Zerodha
    • Upstox
    • IIFL
    • Bigul by Bonanza
    • Tradejini
    • 5Paisa
    • AC Agarwal
    • Jainam Duck
    • Kotak Securities (Kotak Neo)
    • Flattrade
    • Fyers
    • Motilal Oswal
    • MasterTrust
    • Jainam XTS (Retail)
    • Sharekhan

Re-entry max count Type


This setting allows for a common count for re-entry/re-execute between Target and Stoploss re-entries or a separate individual count for Target based re-entry/re-execute and a separate count for Stoploss based re-entry/re-execute.

There are 2 options to specify the max number of times that you want the re-entry/re-execute to happen for Target hit and/or Stoploss hit:

1. Individual

2. Common (As per Stockmock.in logic) [NOTE: This setting has been phased out, If you have selected the 'Common' setting, it will function as 'Individual' only. This setting will be removed from this setting selector in January 2025]


1. Individual setting:

If this setting is selected, you can specify a separate individual maximum number of re-entries count for Target and a separate individual maximum number of re-entries count for Stoploss. Meaning, the max count for Target and Stoploss can be different and the maximum number of re-entries/re-executes will happen as per the individual settings given for Target and for Stoploss.

Example of Individual type setting:

Individual leg max re-entry count settingMTM Target/SL max re-entry count setting

If max number is set to 3 for Target based re-entry/re-execute and 2 for Stoploss based re-entry/re-execute, then for that leg a max number of 3 re-entries/re-execute trades can happen separately by itself upon hitting Target, in addition, a max number of 2 re-entries/re-execute trades can happen separately by itself upon hitting Stoploss. This means a max total of 5 re-entries/re-execute trades can happen for that individual leg, ie. 3 re-entries/re-executes can happen upon hitting Individual leg Target or MTM Target and 2 re-entries/re-executes can happen upon hitting Individual leg Stoploss or MTM Stoploss.

2. Common setting:

[NOTE: This setting has been phased out, If you have selected the 'Common' setting, it will function as 'Individual' only. This setting will be removed from this setting selector in January 2025]

If this setting is selected, the max count or the maximum re-entries/re-executes that can happen is a common number between Target and Stoploss based re-entries/re-execute, and that maximum number will be divided between Target or Stoploss based re-entries/re-executes. 

To replicate Stockmock.in backtest logic in your trades, use the COMMON setting, in the case where Target and Stoploss based re-entry/re-execute is selected.

Example of Common type setting

Individual leg max re-entry count settingMTM Target/SL max re-entry count setting

If the max number of re-entries/execute count is selected 3 for Stoploss, then automatically 3 will get selected in the max count section of the Target re-entry also, and vice versa, as this is a common count between Target and Stoploss based re-entry/re-execute.

A total of 3 re-entries/re-executes will happen whether it's Target or Stoploss based. Once 3 re-entries/re-executes have occured the leg or the trade will close for the day. With this setting it is possible to get the following combination of maximum number of re-entries/re-execute trades:

 - 2 targets + 1 stoploss (max total 3)

 - 1 target + 2 stoploss (max total 3)

 - 3 targets (max total 3)

 - 3 stoploss (max total 3)