Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)
Automate Stockmock, Algotest, Time based Straddle/Strangle, Straddle/ Strangle Auto Adjustment
What is Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)?
Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle) is an automated trading tool from MyAlgoMate. Automate Stockmock, Algotest, Time based Straddle/Strangle, Straddle/ Strangle Auto Adjustment It runs across MyAlgoMateβs 160+ Indian broker integrations with no coding required, and MyAlgoMate provides technology only β not investment advice.
Last updated:
Plans
Pay for the tools you use. All prices in INR, exclusive of GST.
Works with 153 brokers
Search for yours β connecting takes minutes, not a development project.
153 brokers
View all 153 supported brokers βFeatures at a glance
The capabilities that matter most β the rest is configurable in detail below.
Multi-account execution
Run one strategy across many accounts at once, grouped by fund size.
Speed-tuned execution
Orders pace to each broker's API rate limit for the fastest possible fills.
Three ways to enter
Trigger by clock time, underlying LTP crossing a level, or ATM straddle premium.
Six strike-selection methods
ATM points, ATM %, exact strike, closest premium, closest delta or straddle width.
Per-leg SL, target & trailing
Independent stop-loss, target and trailing on every leg β option or underlying.
Wait & Trade, with trailing
Hold entry until price moves your way, and let the wait price trail the market.
Re-Entry & Re-Execute
Re-enter at cost or re-execute fresh after an exit β including reverse-direction modes.
Portfolio-level SL & target
Set a combined stop-loss or target across all legs, with its own re-entry logic.
Auto-hedging for margin
Auto-pick hedge legs by ATM points or closest premium to lower margin.
Automated risk management
Max-loss, trailing max-loss and profit-protection rules exit positions for you.
Hands-free position management
Move SL to cost on any exit, square off one leg or all, re-execute the portfolio.
Run on your schedule
Pick specific weekdays, or run only a set number of days from expiry.
Every setting, explained
Browse the full configuration β pick any setting to read its details in the panel below.
Time-Based Entry
Copy linkYou can configure your strategy to enter at a specific time of the day. For example, if you want the strategy to take entry at 09:25 AM, simply set the desired entry time.
Underlying Based Entry
Copy linkTrigger entry when the Live Market Price (LTP) of your selected underlying (e.g., Nifty spot, Futures, or Synthetic Futures) crosses a certain threshold.
Example:
- Current Nifty Spot Price: 24920
- Entry Trigger:
- Enter when LTP goes above 24950, or
- Enter when LTP drops below 24900
Frequency Options:
You can choose how frequently the system should check this condition:
- Live (tick-by-tick)
- Candle Close Basis (1-min, 3-min, 5-min)
Start Time Validation:
The system will not evaluate the condition before the specified Start Time.
Example: If Start Time = 09:30:00, the condition will only be checked on or after 09:30 AM.
ATM Straddle-Based Entry
Copy linkTrigger entry based on the ATM (At-the-Money) Straddle Premium.
Example:
- Letβs say the current ATM Straddle Premium is 200
- You want to enter when the straddle price exceeds 205
How It Works:
- The ATM strike is automatically selected based on the underlying you choose (Spot, Futures, or Synthetic Future).
- As the underlying price moves, the strike considered for ATM will adjust dynamically.
Frequency Options:
Just like price-based conditions, you can choose:
- Live LTP
- Candle Close Basis (1-min, 3-min, 5-min)
Start Time Validation:
The system will not evaluate the condition before the specified Start Time.
Example: If Start Time = 09:30:00, the condition will only be checked on or after 09:30 AM.
Strategy Day Selection
Copy linkSpecific Days of the Week
You can manually choose the weekdays on which the strategy should be active. For example: Run only on Monday, Wednesday, and Friday
Days from Expiry
Alternatively, you can set the strategy to run based on the number of days remaining to expiry of the underlying instrument.
Example:
Run the strategy only on 2 days before expiry (e.g., Tuesday for a Thursday expiry)
Account Selection
Copy linkDecide which trading accounts the strategy should execute on.
Individual Account Selection
Manually pick one or more accounts on which the strategy should run.
Account Groups
You can create groups of accounts (e.g.,10L Fund, 50L Fund) and then choose an entire group for strategy execution.
ATM Points
Copy linkATM Points
Select the option strike based on their distance from the ATM strike in terms of strike steps.
How it works:
- Enter a positive number for OTM. Example: 1 means 1 strike OTM
- Enter a negative number for ITM. Example: -1 means 1 strike ITM
- Enter 0 to select the ATM strike
Example:
- If BankNifty ATM is 45000, and strikes are spaced 100 points apart:
- Input 2 β will pick 45200 (2 strikes OTM)
- Input -1 β will pick 44900 (1 strike ITM)
Note:
- Enter the number of strike steps, not the strike difference in points. β€ Example: For BankNifty, to pick 2 strikes away, enter 2, not 200.
If the input value is invalid or too far (e.g., the strike doesnβt exist), the system will skip the entry and show an error: βContract not found.β
ATM %
Copy linkATM %
Select option strikes based on a percentage distance from the ATM price.
How it works:
- Enter a positive percentage to select an OTM (Out of the Money) strike β Example: 0.5 = +0.5% from ATM
- Enter a negative percentage to select an ITM (In the Money) strike β Example: -0.75 = -0.75% from ATM
Example:
Letβs say BankNiftyβs ATM is at 45000.
- Input 0.5 β 0.5% of 45000 = 225 β Selected strike: 45200 (rounded to the nearest available strike)
- Input -0.75 β 0.75% of 45000 = 337.5 β Selected strike: 44700 (rounded to nearest lower available strike)
Note:
If the calculated strike doesnβt exist, the system will not take entry and will show an error: βContract not found.β
Direct Strike Input
Copy linkDirect Strike Input
This method allows you to manually enter the exact strike price you want to use for a leg. If you want to trade the 45200 CE, then enter 45200 in the strike input.
Note:
- Make sure the entered strike is valid and available on the exchange.
If the contract does not exist (e.g., expired or incorrect strike), the system will not place the order and will show an error: βContract not found.β
Closest Premium
Copy linkClosest Premium
This method selects the option contract whose premium is closest to your target price, based on your selected comparison condition.
How it works:
You need to specify:
- A comparison operator:
- ~ β Closest to target premium
- >= β Closest premium greater than or equal to your target
- <= β Closest premium less than or equal to your target
- A target premium value (e.g., 120)
Example:
- Operator: ~
- Target Premium: 120
- Match %: 20% β Acceptable range is Β±24 (20% of 120), so any strike between 96 β 144 is considered a match.
Premium Match Options
If no contract is found within the specified match range, you can choose one of the following behaviours:
- Avoid Entry β Strategy will skip this leg and not place the order.
- Keep Waiting β The system will wait indefinitely until a matching contract becomes available.
- Wait for X seconds β The system will wait for a fixed number of seconds. If no match is found within that time, you can decide whether to:
- Avoid Entry, or
- Select the closest available contract
Note:
- The premium check runs live.
Closest Delta
Copy linkClosest Delta
This method selects option contracts based on the delta value closest to your target, using the same match logic as the premium-based method.
How it works:
You need to specify:
- A comparison operator:
- ~ β Closest to target delta >= β Closest delta greater than or equal to your target
- <= β Closest delta less than or equal to your target
- A target delta value (e.g., 0.35)
- A match percentage (e.g., 20%)
Example:
- Operator: ~
- Target Delta: 0.35
- Match %: 20% β Acceptable delta range: 0.28 β 0.42 (Β±20% of 0.35)
Delta Match Options
If no contract is found within the specified match range, choose one of the following:
- Avoid Entry β Skip placing the order for this leg.
- Keep Waiting β System will wait until a matching contract becomes available.
- Wait for X seconds β Wait for a specified duration. If no match is found:
- Avoid Entry, or
- Select the closest available delta
Important Notes:
- Delta values should be between 0 and 1.
- Enter positive values only for both CE and PE.
CP Strikes Based on SP
Copy linkCP Strikes Based on SP
This method allows you to select CE/PE (CP) legs based on the combined premium (SP) of the ATM straddle. It is useful when you want to define strikes relative to the current premium structure.
How it works:
- The strategy first identifies the ATM straddle premium (i.e., combined premium of ATM CE and PE).
- You provide a target percentage of this straddle premium.
- The system will select the CE or PE contract whose premium is closest to the calculated percentage value.
Example:
- ATM Strike: 45000
- ATM Straddle Premium: 500
- Target %: 70%
- Target Premium = 70% of 500 = 350
- The strategy will select a CE or PE option with a premium closest to 350
Supported Comparison Operators:
- ~ : Closest to target premium
- >= : Premium greater than or equal to target
- <= : Premium less than or equal to target
Note:
- The straddle premium is determined using live market prices.
- If no valid contract is found, fallback behaviour (e.g., avoid entry or wait) will be applied based on your configuration.
Straddle Width
Copy linkStraddle Width
This method selects the option contract based on the width of the ATM straddle premium. It calculates a revised strike by multiplying the ATM straddle price by a user-defined width factor, adds it to the ATM strike, and rounds the result to the nearest valid strike.
How it works:
- Calculate the ATM Straddle Premium Example: CE_LTP = 320, PE_LTP = 340 β SP = 320 + 340 = 660
- Multiply Straddle premium with Width Factor (user configurable) Example: Width Factor = 1.5 β SPWidth = 660 Γ 1.5 = 990
- Add SP Width to ATM Strike and round it to the nearest strike. 45000 + 990 = 45990 => 46000
So it will select 46000 CE.
Wait & Trade
Copy linkWait & Trade (W&T)
Wait and Trade (W&T) allows you to delay execution until the price of the option or the underlying moves by a defined value from its trigger-time price.
You can configure W&T separately for Options and Underlying with different input types.
Option W&T Inputs
When W&T is enabled for option contracts, the system records the option premium at the moment the entry condition is met, and waits for the price to move based on the selected input.
Available Inputs:
- Pts β : Wait for the option premium to rise by X points
- Pts β : Wait for the option premium to fall by X points
- % β : Wait for the option premium to rise by X %
- % β : Wait for the option premium to fall by X %
Examples:
- Option price at trigger: 100
- Pts β = 5 β Entry at 105
- Pts β = 10 β Entry at 90
- % β = 10% β Entry at 110
- % β = 20% β Entry at 80
Underlying W&T Inputs
When W&T is enabled for the underlying, the system records the underlying price (Spot/Future/Synthetic) at the moment of strategy trigger and waits for the price to move as configured.
Available Inputs:
- Pts β : Wait for the underlying to rise by X points
- Pts β : Wait for the underlying to fall by X points
- % β : Wait for the underlying to rise by X %
- % β : Wait for the underlying to fall by X %
Examples:
- Underlying at trigger: 45000
- Pts β = 100 β Entry at 45100
- Pts β = 150 β Entry at 44850
- % β = 1% β Entry at 45450
- % β = 2% β Entry at 44100
Note:
For option price-based W&T only, you can choose whether to pre-place the W&T order on the broker terminal using the βPlace W&T Order in Brokerβ checkbox available in the order settings.
Trail Wait & Trade
Copy linkTrail Wait & Trade
The Trail Wait & Trade (W&T) feature introduces a more dynamic and adaptive approach to trade executions, ensuring your entries are always in sync with evolving market movements.
How It Works
Instead of fixing your wait price at a set distance from the trigger level, Trail W&T dynamically adjusts the wait price in your favor as the underlying price moves further from your original trigger. If the market continues to move away from your trigger, the wait price trails alongβensuring your entry happens only on a meaningful pullback, and at the best possible level.
Example: Wait Above (Upside)
- W&T set to +5 points up: If the Last Traded Price (LTP) is 100, the initial wait price is 105.
- Standard W&T: The trade executes immediately if the price touches 105.
- Trail W&T in action:
- If the LTP drops to 99, the wait price trails down to 104.
- If the LTP further drops to 97.5, the wait price trails down to 103.5.
- When the price moves back up to meet the trailed wait price, the trade is executed at a more favorable level.
Example: Wait Below (Downside)
- W&T set to β5 points down: If the LTP is 100, the initial wait price is 95.
- Standard W&T: The trade executes as soon as the price touches 95.
- Trail W&T in action:
- If the LTP rises to 101, the wait price trails up to 96.
- If the LTP further rises to 102.5, the wait price trails up to 97.5.
- When the price falls back to the trailed wait price, the trade is executed at this improved level.
Applicability
Trail W&T applies to both option-based and underlying-based Wait & Trade. Additionally, if you have enabled Wait & Trade for re-entry or re-execute conditions, Trail W&T is applicable for those scenarios as well, providing consistent, intelligent entry handling throughout all stages of your strategy.
Enabling Trail W&T
You can enable Trail Wait & Trade by checking the βEnable Trail Wait & Tradeβ option in the Other Settings section while creating your strategy.
Target
Copy linkTarget
The Target setting allows you to define the exit condition for each leg individually, based on either the option premium or the underlying price reaching a specific target.
You can choose one of the following target types per leg:
- Target on Option Price
- Target on the Underlying Price
Target on Option Price
Available Inputs:
- TGT: % β Target in percentage terms from the entry price
- TGT: Pts β Target in absolute points from the entry price
Examples:
- CE Buy at 100
- TGT: % = 20 β Exit at 120
- TGT: Pts = 10 β Exit at 110
- PE Sell at 150
- TGT: % = 10 β Exit at 135
- TGT: Pts = 30 β Exit at 120
Target on the Underlying Price
Available Inputs:
- TGT UL: % β Target in percentage from the underlyingβs entry price
- TGT UL: Pts β Target in point movement
Direction of Target Exit based on Position Type:
- CE Sell: Target is downside on the underlying
- CE Buy: Target is upside on the underlying
- PE Sell: Target is upside on the underlying
- PE Buy: Target is downside on the underlying
Examples:
- Underlying at entry: 45000
- CE Buy with TGT UL: Pts = 100 β Exit at 45100
- CE Sell with TGT UL: % = 1% β Exit at 44550
- PE Buy with TGT UL: Pts = 200 β Exit at 44800
- PE Sell with TGT UL: % = 2% β Exit at 45900
Note:
In the Other Settings section, using the SL/Target base configuration selection, you can configure whether the target price should be calculated based on the actual traded price (order execution price) or LTP at the time of entry. This setting is applicable only for option-based targets.
For underlying-based targets, the system always uses the underlying price at the time of entry to calculate target levels.
Stoploss
Copy linkStoploss
The Stoploss setting allows you to define the exit condition for each leg individually, based on either the option premium or the underlying price reaching a specific stop level.
You can choose one of the following stop-loss types per leg:
- Stop Loss on Option Price
- Stoploss on the Underlying Price
Stop Loss on Option Price
Available Inputs:
- SL: % β Stoploss in percentage terms from the entry price
- SL: Pts β Stoploss in absolute points from the entry price
Examples:
- CE Buy at 100
- SL: % = 20 β Exit at 80
- SL: Pts = 10 β Exit at 90
- PE Sell at 150
- SL: % = 10 β Exit at 165
- SL: Pts = 30 β Exit at 180
Stoploss on the Underlying Price
Available Inputs:
- SL UL: % β Stoploss in percentage from the underlyingβs entry price
- SL UL: Pts β Stoploss in point movement
Direction of Stoploss Exit based on Position Type:
- CE Sell: Stoploss is upside on the underlying
- CE Buy: Stoploss is downside on the underlying
- PE Sell: Stoploss is downside on the underlying
- PE Buy: Stoploss is upside on the underlying
Examples:
- Underlying at entry: 45000
- CE Buy with SL UL: Pts = 100 β Exit at 44900
- CE Sell with SL UL: % = 1% β Exit at 45450
- PE Buy with SL UL: Pts = 200 β Exit at 45200
- PE Sell with SL UL: % = 2% β Exit at 44100
Note:
- In the Other Settings section, using the SL/Target base configuration, you can choose whether the stoploss price should be calculated based on the actual traded price (order execution price) or LTP at the time of entry. This setting is applicable only for option-based stop losses.
- For underlying-based stop losses, the system always uses the underlying price at the time of entry to calculate stop levels.
You can also configure whether or not to place the stoploss order in the broker terminal using the checkbox βPlace SL in Brokerβ in the order settings. This is applicable for Option Option-based SL only. Underlying SL canβt be placed in the broker.
Trail Stoploss
Copy linkTrail Stoploss
Trailing can be configured for Option SL and Underlying SL. You can set Trail X and Trail Y in either percentage or points.
Example: Option SL β Buy Leg (X and Y in %) Entry Type: Buy Entry Price: 100 Initial SL %: 10% β SL = 90 Trailing X% = 5%, Trailing Y% = 5%
Calculation:
- Initial SL = 100 β 10% = 90
- Trail X = 100 Γ 5% = 5
- Trail Y = 90 Γ 5% = 4.5
Trail Steps:
- When LTP reaches 105 β SL updates to 94.5
- When LTP reaches 110 β SL updates to 99
- When LTP reaches 115 β SL updates to 103.5
Example: Option SL β Sell Leg (X and Y in Points) Entry Type: Sell Entry Price: 100 Initial SL: 10 points β SL = 110 Trailing X: 5 points Trailing Y: 5 points
Calculation:
- Initial SL = 100 + 10 = 110
- Trail X = 5 points (price must move in favorable direction)
- Trail Y = 5 points (SL shifts by 5 points per trigger)
Trail Steps:
- When LTP reaches 95 β SL updates to 105
- When LTP reaches 90 β SL updates to 100
- When LTP reaches 85 β SL updates to 95
Example: Underlying SL β CE Sell Leg (X and Y in %) Leg Type: CE Entry Type: Sell Underlying at Entry: 45000 Initial SL: 0.1% β SL = 45045 Trailing X: 0.1% Trailing Y: 0.1%
Calculation:
- Initial SL = 45000 + 0.1% = 45045
- Trail X = 45000 Γ 0.1% = 45
- Trail Y = 45045 Γ 0.1% = 45.05
Trail Steps:
- When underlying reaches 44955 β SL updates to 45000
- When underlying reaches 44910 β SL updates to 44954.95
- When underlying reaches 44865 β SL updates to 44909.9
Example: Underlying SL β PE Sell Leg (X and Y in Points) Leg Type: PE Entry Type: Sell Underlying at Entry: 45000 Initial SL: 100 points β SL = 44900 Trailing X: 20 points Trailing Y: 20 points
Calculation:
- Initial SL = 45000 β 100 = 44900
- Trail X = 20 points (underlying must rise by this amount)
- Trail Y = 20 points (SL shifts up by 20 points per trail)
Trail Steps:
- When underlying reaches 45020 β SL updates to 44920
- When underlying reaches 45040 β SL updates to 44940
- When underlying reaches 45060 β SL updates to 44960
Note:
- For option-based SL, enabling βTrail SL in Brokerβ in the Order Settings will push the trailed SL to the broker if βPlace SL in Brokerβ is also enabled.
- For Zerodha, due to a limit of 25 order modifications, the system restricts to 15 trail modifications per leg for stability.
For underlying-based SL, trailing happens internally and is not pushed to the broker.
Re-Entry @ Cost for Stoploss
Copy linkThe Re-Entry @ Cost feature allows the system to take a fresh position in the same contract after a stoploss exit, if the price returns back to the original entry price.
After hitting the stoploss, the system monitors whether the price comes back to the entry level:
- For Option SL, it checks the optionβs entry price.
- For Underlying SL, it checks the underlyingβs entry price.
Re-Entry Types
You can configure how the re-entry condition is checked:
- LTP Based Re-Entry
- The system checks every second whether the price has come back to entry price.
- As soon as the price touches the entry price again, it triggers re-entry.
- Candle Closing Basis Re-Entry
- You can configure the candle timeframe (e.g., 1 min, 3 min, 5 min, etc.)
- After each candle closes, it checks whether the closing price is at or beyond the entry price level.
- If the candle closes at or below (for buy legs) or at or above (for sell legs) the entry price, re-entry is triggered.
Examples
Example 1: Option SL with Candle Closing Basis (Sell Entry)
- Entry Type: Sell
- Entry Price: 100
- SL (absolute): 50 points β SL = 150
- Re-Entry Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Sell at 100
- SL gets hit at 150 and position is exited
- Later, a 1-minute candle closes at or above 100 (e.g., 100, 105, 110, etc.)
- Re-entry triggers and new position is taken in the same contract at that point
Example 2: Option SL with LTP Basis (Buy Entry)
- Entry Type: Buy
- Entry Price: 100
- SL (absolute): 50 points β SL = 50
- Re-Entry Type: LTP basis
Flow:
- Entry taken as Buy at 100
- SL gets hit at 50 and position is exited
- The system continuously checks LTP every second
- As soon as LTP returns to 100, re-entry triggers immediately
Example 3: Underlying SL with Candle Closing Basis (Call Sell Entry)
- Leg Type: Call Option
- Entry Type: Sell
- Underlying Entry Price: 45000
- SL (absolute): 200 points β SL = 45200
- Re-Entry Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Call Sell at underlying 45000
- SL gets hit at 45200 and position is exited
- Later, a 1-minute candle closes at or above 45000 (e.g., 45000, 45020, 45050, etc.)
- Re-entry triggers and position is taken again
Example 4: Underlying SL with LTP Basis (Call Buy Entry)
- Leg Type: Call Option
- Entry Type: Buy
- Underlying Entry Price: 45000
- SL (absolute): 200 points β SL = 44800
- Re-Entry Type: LTP basis
Flow:
- Entry taken as Call Buy at underlying 45000
- SL gets hit at 44800 and position is exited
- The system checks LTP every second
- As soon as LTP returns to 45000, re-entry triggers
Other Configurable Parameters
Stop Re-Entry Time
- If re-entry condition does not occur before this time, re-entry will not be taken.
Number of Re-Entries
- You can configure how many times the system is allowed to take re-entry in the same leg.
Wait for Original SL Price
- Applicable when used with Trail Stoploss.
- If the SL has already trailed at least once, and then hits the trailed SL:
- The system will wait for price to go back to the original SL price.
- Only after price touches original SL price will it start checking for re-entry.
- If price directly goes to entry price without touching original SL, re-entry will not occur.
Disable Re-Entry if SL moved to Cost
- If SL has been moved to cost due to exit of another leg, and then SL gets hit, re-entry will be disabled for that leg.
Disable Re-Entry if Trail SL crossed Cost
- If trailing SL has moved at or below the entry price:
- Example: Entry Price = 100, SL = 150, Trailed SL moves to 100 or below
- Re-entry will be disabled for that leg once trailing SL crosses the cost level.
W&T with Re-Entry @ Cost
- If W&T is enabled along with re-entry:
- Once re-entry condition triggers, the new entry will not be taken immediately.
- Instead, it will follow the W&T configuration before taking the fresh position.
Re-Execute for Stoploss
Copy linkRe-Execute for Stoploss
The Re-Execute on SL feature allows the system to open a new position after the stoploss is hit. Unlike Re-Entry @ Cost, which waits for the price to return to the original entry price, Re-Execute triggers a fresh entry directly after SL hit, based on user configuration.
In Re-Execute, the system always selects a new contract as per the active contract selection method when re-execute triggers.
How Re-Execute Works
After the stoploss is hit:
- The system fully exits the position.
- Based on user configuration, it will either:
Re-Execute Types
- Immediate
- As soon as SL is hit and position is exited, the system immediately selects a new contract as per contract selection logic and executes the new trade.
- Candle Closing Basis
- After SL is hit and position is exited, the system waits for the next candle close (on the configured timeframe).
- Once the next candle closes, the system selects a new contract as per contract selection logic and executes the new trade.
Examples
Example 1: Option SL with Candle Closing Basis (Sell Entry)
- Entry Type: Sell
- Entry Price: 100
- SL: 50 points β SL = 150
- Re-Execute Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Sell at 100
- SL hits at 150 and position is exited at 10:03:20
- The system waits for the next 1-minute candle to close at 10:04:00
- At 10:04:00, system selects a new contract based on contract selection logic
- New trade is executed immediately after candle close
Example 2: Option SL with Immediate Re-Execute (Buy Entry)
- Entry Type: Buy
- Entry Price: 100
- SL: 50 points β SL = 50
- Re-Execute Type: Immediate
Flow:
- Entry taken as Buy at 100
- SL hits at 50 and position is exited at 10:03:20
- Immediately at 10:03:20, new contract is selected and re-entry is taken as per contract selection logic
Example 3: Underlying SL with Candle Closing Basis (Call Sell Entry)
- Leg Type: Call Option
- Entry Type: Sell
- Underlying Entry Price: 45000
- SL: 200 points β SL = 45200
- Re-Execute Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Call Sell at underlying 45000
- SL hits at 45200 and position is exited at 10:05:10
- The system waits for the next 1-minute candle to close at 10:06:00
- At 10:06:00, system selects a new contract and re-entry happens
Example 4: Underlying SL with Immediate Re-Execute (Call Buy Entry)
- Leg Type: Call Option
- Entry Type: Buy
- Underlying Entry Price: 45000
- SL: 200 points β SL = 44800
- Re-Execute Type: Immediate
Flow:
- Entry taken as Call Buy at underlying 45000
- SL hits at 44800 and position is exited at 10:05:10
- Immediately at 10:05:10, new contract is selected and re-entry is taken
Key Differences Between Re-Entry @ Cost and Re-Execute on SL
| Feature | Re-Entry @ Cost | Re-Execute on SL |
|---|---|---|
| Entry Condition | Waits for price to return to original entry price | Triggers after SL hit based on immediate or candle close setting |
| Contract Selection | Same contract as original | New contract selected as per contract selection method |
| Timing | LTP basis or Candle Closing basis | Immediate or Candle Closing basis |
Re-Execute Reverse for Stoploss
Copy linkRe-Execute Reverse for Stoploss
The Re-Execute Reverse feature works similarly to Re-Execute on SL, but with one key difference: It alternates the direction of each re-execute after a stoploss is hit.
How Re-Execute Reverse Works
- On initial entry, the position is taken as per the original entry type (Buy or Sell).
- After stoploss is hit, the system re-executes in the opposite direction.
- On every subsequent SL hit, the direction keeps alternating between Buy and Sell.
Behavior Summary
| SL Hit Count | Action Type (for initial Sell entry) |
|---|---|
| 1st Entry | Sell |
| After 1st SL | Buy |
| After 2nd SL | Sell |
| After 3rd SL | Buy |
| And so on⦠| Alternates each time |
Key Differences Between Re-Execute and Re-Execute Reverse
| Feature | Re-Execute on SL | Re-Execute Reverse |
|---|---|---|
| Entry Direction | Same as original entry type on each re-execute | Alternates direction (Sell β Buy) on each re-execute |
Re-Entry @ Cost for Target
Copy linkThe Re-Entry @ Cost for Target feature allows the system to take a fresh position in the same contract after a target exit, if the price returns back to the original entry price.
After hitting the target, the system monitors whether the price comes back to the entry level:
- For Option Target, it checks the optionβs entry price.
- For Underlying Target, it checks the underlyingβs entry price.
Re-Entry Types
You can configure how the re-entry condition is checked:
- LTP Based Re-Entry
- The system checks every second whether the price has come back to entry price.
- As soon as the price touches the entry price again, it triggers re-entry.
- Candle Closing Basis Re-Entry
- You can configure the candle timeframe (e.g., 1 min, 3 min, 5 min, etc.)
- After each candle closes, it checks whether the closing price is at or beyond the entry price level.
- If the candle closes at or below (for buy legs) or at or above (for sell legs) the entry price, re-entry is triggered.
Examples
Example 1: Option Target with Candle Closing Basis (Sell Entry)
- Entry Type: Sell
- Entry Price: 100
- Target (absolute): 50 points β Target = 50
- Re-Entry Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Sell at 100
- Target is hit at 50 and position is exited
- Later, a 1-minute candle closes at or above 100 (e.g., 100, 105, 110, etc.)
- Re-entry triggers and new position is taken in the same contract at that point
Example 2: Option Target with LTP Basis (Buy Entry)
- Entry Type: Buy
- Entry Price: 100
- Target (absolute): 50 points β Target = 150
- Re-Entry Type: LTP basis
Flow:
- Entry taken as Buy at 100
- Target is hit at 150 and position is exited
- The system continuously checks LTP every second
- As soon as LTP returns to 100, re-entry triggers immediately
Example 3: Underlying Target with Candle Closing Basis (Call Sell Entry)
- Leg Type: Call Option
- Entry Type: Sell
- Underlying Entry Price: 45000
- Target (absolute): 200 points β Target = 44800
- Re-Entry Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Call Sell at underlying 45000
- Target is hit at 44800 and position is exited
- Later, a 1-minute candle closes at or above 45000 (e.g., 45000, 45020, 45050, etc.)
- Re-entry triggers and position is taken again
Example 4: Underlying Target with LTP Basis (Call Buy Entry)
- Leg Type: Call Option
- Entry Type: Buy
- Underlying Entry Price: 45000
- Target (absolute): 200 points β Target = 45200
- Re-Entry Type: LTP basis
Flow:
- Entry taken as Call Buy at underlying 45000
- Target is hit at 45200 and position is exited
- The system checks LTP every second
- As soon as LTP returns to 45000, re-entry triggers
Other Configurable Parameters
Stop Re-Entry Time
- If re-entry condition does not occur before this time, re-entry will not be taken.
Number of Re-Entries
- You can configure how many times the system is allowed to take re-entry in the same leg.
W&T with Re-Entry @ Cost
- If W&T is enabled along with re-entry:
- Once re-entry condition triggers, the new entry will not be taken immediately.
- Instead, it will follow the W&T configuration before taking the fresh position.
Note:
The following options are not applicable for Target-based Re-Entry:
- Wait for Original SL Price
- Disable Re-Entry if SL moved to Cost
- Disable Re-Entry if Trail SL crossed Cost
Re-Execute for Target
Copy linkRe-Execute for Target
The Re-Execute on Target feature allows the system to open a new position after the target is achieved. Unlike Re-Entry @ Cost, which waits for the price to return to the original entry price, Re-Execute triggers a fresh entry directly after the target is hit, based on user configuration.
In Re-Execute on Target, the system always selects a new contract as per the active contract selection method when re-execute triggers.
How Re-Execute Works
After the target is hit:
- The system fully exits the position.
- Based on user configuration, it will either:
Re-Execute Types
- Immediate
- As soon as target is hit and position is exited, the system immediately selects a new contract as per contract selection logic and executes the new trade.
- Candle Closing Basis
- After target is hit and position is exited, the system waits for the next candle close (on the configured timeframe).
- Once the next candle closes, the system selects a new contract as per contract selection logic and executes the new trade.
Examples
Example 1: Option Target with Candle Closing Basis (Sell Entry)
- Entry Type: Sell
- Entry Price: 100
- Target: 50 points β Target = 50
- Re-Execute Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Sell at 100
- Target hits at 50 and position is exited at 10:03:20
- The system waits for the next 1-minute candle to close at 10:04:00
- At 10:04:00, system selects a new contract based on contract selection logic
- New trade is executed immediately after candle close
Example 2: Option Target with Immediate Re-Execute (Buy Entry)
- Entry Type: Buy
- Entry Price: 100
- Target: 50 points β Target = 150
- Re-Execute Type: Immediate
Flow:
- Entry taken as Buy at 100
- Target hits at 150 and position is exited at 10:03:20
- Immediately at 10:03:20, new contract is selected and re-entry is taken as per contract selection logic
Example 3: Underlying Target with Candle Closing Basis (Call Sell Entry)
- Leg Type: Call Option
- Entry Type: Sell
- Underlying Entry Price: 45000
- Target: 200 points β Target = 44800
- Re-Execute Type: Candle Closing Basis (1 min timeframe)
Flow:
- Entry taken as Call Sell at underlying 45000
- Target hits at 44800 and position is exited at 10:05:10
- The system waits for the next 1-minute candle to close at 10:06:00
- At 10:06:00, system selects a new contract and re-entry happens
Example 4: Underlying Target with Immediate Re-Execute (Call Buy Entry)
- Leg Type: Call Option
- Entry Type: Buy
- Underlying Entry Price: 45000
- Target: 200 points β Target = 45200
- Re-Execute Type: Immediate
Flow:
- Entry taken as Call Buy at underlying 45000
- Target hits at 45200 and position is exited at 10:05:10
- Immediately at 10:05:10, new contract is selected and re-entry is taken
Key Differences Between Re-Entry @ Cost and Re-Execute on Target
| Feature | Re-Entry @ Cost | Re-Execute on Target |
|---|---|---|
| Entry Condition | Waits for price to return to original entry price | Triggers after target hit based on immediate or candle close setting |
| Contract Selection | Same contract as original | New contract selected as per contract selection method |
| Timing | LTP basis or Candle Closing basis | Immediate or Candle Closing basis |
Re-Execute Reverse for Target
Copy linkRe-Execute Reverse for Target
The Re-Execute Reverse for Target feature works similarly to Re-Execute on Target, but with one key difference: It alternates the direction of each re-execute after a target is hit.
How Re-Execute Reverse Works
- On initial entry, the position is taken as per the original entry type (Buy or Sell).
- After target is hit, the system re-executes in the opposite direction.
- On every subsequent target hit, the direction keeps alternating between Buy and Sell.
Behavior Summary
| Target Hit Count | Action Type (for initial Sell entry) |
|---|---|
| 1st Entry | Sell |
| After 1st Target | Buy |
| After 2nd Target | Sell |
| After 3rd Target | Buy |
| And so on⦠| Alternates each time |
Hedge Selection
Copy linkHedge contracts can be configured for each strategy leg to reduce margin requirements or manage risk exposure. You can select the hedge contract in two ways:
- ATM Points Based Selection
- Closest Premium Based Selection
In both methods, separate configuration is provided specifically for hedge contract selection, allowing independent control over how hedge contracts are chosen.
Additionally, there is a special option:
- Wait for Hedge to Execute: If enabled, the system will place and wait for the hedge leg to execute before placing the main leg. If you have sufficient margin and want faster execution, you can disable this option to place both legs simultaneously.
During exit, the system always exits the main leg first, and once completed, it exits the hedge leg.
Method 1: ATM Points Based Hedge Selection
This method selects the hedge contract based on its distance from the ATM strike in terms of strike steps.
How it works:
- Enter the number of strike steps away from ATM strike for OTM hedge selection.
- Example: If you enter 10, it will select the strike that is 10 steps OTM from the ATM strike.
Example:
- Suppose BankNifty ATM is 45000, and strikes are spaced every 100 points.
- Input 10 β system will select strike at 45000 + (10 Γ 100) = 46000
- So hedge contract selected is: BANKNIFTY 46000 CE (or PE depending on hedge leg type).
Note:
- Always enter the number of strike steps, not absolute strike difference in points.
- For 1000 points away, you need to enter 10 (since strike interval is 100).
- If the strike doesnβt exist or is too far, system skips hedge entry and displays: βContract not found.β
Method 2: Closest Premium Based Hedge Selection
This method selects the hedge contract whose premium is closest to your specified target premium using configurable match conditions.
How it works:
You need to specify:
- A comparison operator:
- ~ β Closest to target premium
- >= β Closest premium greater than or equal to target
- <= β Closest premium less than or equal to target
- A target premium value
Example:
- Operator: ~
- Target Premium: 10
- Match %: 50%
- Acceptable premium range = Β±5 (50% of 10), so any contract with premium between 5 to 15 will be considered a valid match.
Premium Match Options:
If no contract is found within the specified match range, you can configure the fallback behavior:
- Avoid Entry β The system skips this hedge leg. Keep Waiting β Waits indefinitely until match found.
- Wait for X seconds β Waits for a fixed number of seconds, and if still no match:
- Avoid Entry
- Select closest available contract
Note:
- Premium check is performed live during order placement.
Hedge premium match uses a separate Hedge Match Settings section.
Move SL to Cost
Copy linkMove SL to Cost
- Whenever any leg gets exited (due to target, stoploss, or any other exit condition),
- The system will automatically move the stoploss of all remaining open legs to their respective entry prices (cost price).
Square off Leg Type
Copy linkSquare off Leg Type
You can configure it with two options:
- One Leg
- Only the leg where the exit condition is triggered will be exited.
- Other legs will continue to remain open and continue to run independently.
Example:
- You have 3 legs running.
- If Leg 2 hits its target, only Leg 2 will be exited.
- Leg 1 and Leg 3 will continue to remain open as per their respective conditions.
- All Leg
- As soon as any exit condition is triggered for any one leg, the system will exit all open legs immediately.
Example:
- You have 3 legs running.
- If Leg 2 hits its target, system will exit Leg 1, Leg 2, and Leg 3 together.
Re-Execute Portfolio
Copy linkRe-Execute Portfolio
- This feature works only when the Square Off Leg Type is set to All Legs.
- Once all legs are exited (due to any exit condition), the system will re-enter all legs again as a fresh execution.
Parameters
- Number of Re-Execute
- You can configure how many times the full portfolio should be re-executed.
- After the configured number of re-executions is reached, no further re-entries will be taken.
- Entry Type
- You can choose how quickly the portfolio is re-executed after exit:
- Immediate
- As soon as all legs are exited, the system immediately selects new contracts for all legs and executes fresh entries.
- Candle Closing Basis
- After all legs are exited, the system waits for the next candle to close (on configured timeframe).
- Once candle closes, new contracts are selected for all legs, and fresh entries are taken.
- Stop Re-Execute Time
- You can define a cut-off time.
- If portfolio exit happens after this time, no re-execution will take place.
- This helps to avoid late-day re-entries if desired.
Example:
- Strategy has 3 legs.
- Square Off Leg Type = All Legs
- Re-Execute Portfolio: Enabled
- Number of Re-Execute: 2
- Entry Type: Candle Closing Basis (1 min)
Flow:
- First entry is taken.
- One leg hits target β system exits all 3 legs.
- System waits for next 1-minute candle close.
- New contracts are selected, full portfolio re-entry happens.
- After 2 such full re-executions, no further entries are taken.
Note:
- Re-Execute Portfolio works at complete strategy level.
- Contract selection is done fresh every time based on current market conditions as per your contract selection methods.
Combined Stoploss
Copy linkCombined Stoploss
The Combined SL feature allows you to define a stoploss at the portfolio level based on the combined entry price of multiple legs.
Prerequisites:
- Minimum two legs must be present.
- All legs must have the same entry type (all Buy or all Sell).
- Individual leg SL must be disabled.
How Combined SL Works:
- Combined Entry Price = Sum of entry prices of all active legs.
- Combined SL is calculated by adding (for Sell entry) or subtracting (for Buy entry) SL value from the combined entry price.
Example:
- Both legs are Sell:
- Leg 1 entry price = 60, Leg 2 entry price = 40 β Combined Entry = 100
- Combined SL set to 50 points β Combined SL becomes 150
- SL monitoring happens on combined LTP of all active legs.
- Combined SL is managed internally β not placed at broker.
Available Parameters for Combined SL:
- SL configuration: % or Points
- SL Wait for X Seconds
- Frequency to Check
Trailing SL: X and Y configurable in % or Points
Re-Entry @ Cost for Combined SL
Copy linkRe-Entry @ Cost for Combined SL
- Available for Combined SL.
- Type: LTP Based or Candle Closing Basis
- Configurable:
- Candle timeframe
- Number of Re-Entries
- Stop Re-Entry Time
Note:
Other advanced re-entry filters (Wait for Original SL, Disable Re-entry if SL moved to cost, etc.) are not applicable for Combined SL Re-Entry.
Re-Execute for Combined SL
Copy linkRe-Execute for Combined SL
Re-Execute Types:
- Immediate
- As soon as Combined SL hits, system exits all legs, immediately selects new contracts and re-executes.
- Candle Closing Basis
- After Combined SL hit and exit, waits for next candle close, selects new contracts and re-executes.
Configurable Parameters:
- Number of Re-Executes
- Candle timeframe
Stop Re-Execute Time
Re-Execute Reverse for Combined SL
Copy linkRe-Execute Reverse for Combined SL
- Same behavior as Re-Execute, but alternates entry direction after each Combined SL hit.
| Combined SL Hit Count | Entry Direction (assuming initial Sell) |
|---|---|
| 1st Entry | Sell |
| After 1st SL | Buy |
| After 2nd SL | Sell |
| After 3rd SL | Buy |
| β¦ | Alternates each time |
Combined Target
Copy linkCombined Target
The Combined Target feature allows you to define a target at the portfolio level based on the combined entry price of multiple legs.
Prerequisites:
- Minimum two legs must be present.
- All legs must have the same entry type (all Buy or all Sell).
- Individual leg Target must be disabled.
How Combined Target Works:
- Combined Entry Price = Sum of entry prices of all active legs.
- Combined Target is calculated by adding (for Buy entry) or subtracting (for Sell entry) target value from combined entry price.
Example:
- Both legs are Buy:
- Leg 1 entry price = 60, Leg 2 entry price = 40 β Combined Entry = 100
- Combined Target set to 50 points β Combined Target becomes 150
- Target monitoring happens on combined LTP of all active legs.
- Combined Target is managed internally β not placed at broker.
Available Parameters for Combined Target:
- Target configuration: % or Points
- Frequency to Check
Re-Entry @ Cost for Combined Target
Copy linkRe-Entry @ Cost for Combined Target
- Available for Combined Target.
- Type: LTP Based or Candle Closing Basis
- Configurable:
- Candle timeframe
- Number of Re-Entries
- Stop Re-Entry Time
Note:
Other advanced re-entry filters (Wait for Original SL, Disable Re-entry if SL moved to cost, etc.) are not applicable for Combined Target Re-Entry.
Re-Execute for Combined Target
Copy linkRe-Execute for Combined Target
Re-Execute Types:
- Immediate
- As soon as Combined Target hits, system exits all legs, immediately selects new contracts and re-executes.
- Candle Closing Basis
- After Combined Target hit and exit, waits for next candle close, selects new contracts and re-executes.
Configurable Parameters:
- Number of Re-Executes
Candle timeframe Stop Re-Execute Time
Re-Execute Reverse for Combined Target
Copy linkRe-Execute Reverse for Combined Target
- Same behavior as Re-Execute, but alternates entry direction after each Combined Target hit.
| Combined Target Hit Count | Entry Direction (assuming initial Sell) |
|---|---|
| 1st Entry | Sell |
| After 1st Target | Buy |
| After 2nd Target | Sell |
| After 3rd Target | Buy |
| β¦ | Alternates each time |
Entry Orders, Exit Orders (Non SL)
Copy linkEntry Orders, Exit Orders (Non SL)
Order Settings allow you to control how orders are placed and managed for:
- Entry Orders
- Exit Orders (Apart from Pre-Punched SL orders)
You can configure different settings for Entry Orders and Exit Orders independently.
Order Type
You can select:
- Market Order
- The order is sent directly to exchange at market price.
- No revision options are available.
- Executes at the best available price in the market.
- Limit Order
- The order is placed as a limit order at a calculated price based on reference price and buffer.
- If limit order is not filled, revision mechanism can be used to improve chances of fill.
Limit Price Configuration (Applicable for Limit Orders Only)
- a) Limit Price Reference
- LTP β Last Traded Price
- BestBidAsk β Best Bid or Ask price (Ask for Sell, Bid for Buy)
- ImFill β Immediate Fill Reference (uses Bid for Sell, Ask for Buy)
- AvgBidAsk β Average of Bid and Ask
- b) Limit Buffer
- Applied over reference price to calculate the actual limit price.
- Buffer can be defined in % or absolute points.
Limit Price Calculation Examples
Example 1 β LTP Reference
- Order Type: Sell
- LTP: 100
- Limit Buffer: 2%
- Limit Price = 100 β (2% of 100) = 98
Example 2 β BestBidAsk Reference
- Order Type: Sell
- LTP: 100, Bid: 99.8, Ask: 100.2
- Limit Buffer: 2 points
- Limit Price = Ask β 2 = 100.2 β 2 = 98.2
Example 3 β ImFill Reference
- Order Type: Sell
- LTP: 100, Bid: 99.8, Ask: 100.2
- Limit Buffer: 2 points
- Limit Price = Bid β 2 = 99.8 β 2 = 97.8
Example 4 β AvgBidAsk Reference
- Order Type: Sell
- LTP: 100, Bid: 99.8, Ask: 100.2
- Limit Buffer: 2 points
- Average Price = (99.8 + 100.2) / 2 = 100
- Limit Price = 100 β 2 = 98
Limit Order Revision Logic
If the limit order is not filled, the system can automatically modify it using the following two revision methods:
Option 1: Modify to Market
- After a defined time interval (e.g. 2 sec), if limit order remains unfilled, it will be modified to Market Order.
Option 2: Revise Limit Price
- System keeps revising the limit price after each interval to improve fill chances.
- Parameters:
- Revision after (in sec): Time gap between revisions.
- Number of revisions: Total revisions allowed.
- After max revisions:
- Modify to Market, or
- Do Nothing (keep order pending)
Order Settings for SL Orders (Placed in Broker)
Copy linkOrder Settings for SL Orders (Placed in Broker)
Separate settings apply for orders placed as Stoploss (SL) orders in broker.
Order Type for SL Orders
- All SL orders are always placed as Stoploss Limit Orders in broker.
Trigger Price
- The trigger price for SL order is always set as:
Limit Price for SL Order
- Once SL Trigger Price is calculated, the Limit Price is determined by applying Limit Buffer over it.
Limit Price Calculation Example
- SL Trigger Price: 100
- Limit Buffer: 2 points Limit Price = Trigger Price β Buffer = 100 β 2 = 98
(For Buy orders, buffer is added to Trigger Price; for Sell orders, buffer is subtracted.)
SL Order Revision Logic (Same as Entry/Exit orders)
- Same as above settings for Entry and Exit (Non SL) orders
πΈ [Screenshot showing SL Order Settings with Limit Buffer and Revision Logic]
Summary
| Configuration | Entry Orders | Exit Orders (Non-SL) | SL Orders |
|---|---|---|---|
| Market Order | Available | Available | Not Available |
| Limit Order | Available | Available | Always Limit |
| Limit Reference | Available | Available | Available |
| Limit Buffer | Available | Available | Available |
| Revision Logic | Available | Available | Available |
Max Loss
Copy linkMax Loss
Max Loss defines the maximum allowed drawdown.
- When the MTM reaches the defined Max Loss value, exit is triggered.
Example (Strategy Level):
- Max Loss = -5000
- Once total MTM of the strategy reaches -5000, it exits the strategy.
For Account Level / Global Level:
- If Account Level Max Loss = -10000, then when total MTM across all strategies in that account reaches -10000, all open positions across that account will be exited.
- If Global Level Max Loss = -50000, then when total MTM across all accounts reaches -50000, all positions in entire system will be exited.
Parameters for Max Loss:
- Frequency to Check:
- Live (real-time tick based)
- 1 min
- 3 min
- 5 min
- Exit Mode:
- Immediate: Exit happens instantly when Max Loss condition meets.
- Delayed: Exit happens after a user-defined delay (in seconds).
Ticks Based: Exit only if Max Loss condition holds true for X number of consecutive ticks.
Trail Max Loss
Copy linkTrail Max Loss
Trail Max Loss allows you to dynamically tighten your Max Loss as profit increases.
Parameters:
- Trail Max Loss X: Profit increment after which Max Loss moves.
- Trail Max Loss Y: Amount by which Max Loss improves on each Trail X movement.
Example:
- Initial Max Loss = -5000
- Trail Max Loss X = 1000
- Trail Max Loss Y = 500
Flow:
- Once MTM increases to 1000, Max Loss moves from -5000 to -4500.
- If MTM reaches 2000, Max Loss moves to -4000.
- If MTM reaches 3000, Max Loss moves to -3500, and so on.
Same behavior applies for Account Level and Global Level β only MTM calculation changes as per level.
Max Profit
Copy linkMax Profit defines the maximum profit at which you want to exit and book profits.
Parameters and behavior are exactly same as Max Loss:
- Once total MTM reaches the defined Max Profit value, exit is triggered.
- Example:
- Max Profit = 10000
- If MTM reaches 10000, exit happens as per configured exit mode.
Frequency to Check, Exit Mode, and Ticks Based logic all apply exactly as in Max Loss.
Protect Profit
Copy linkProtect Profit helps secure profits dynamically as your profit grows. Three modes are available:
- A) Lock Min Profit
Allows you to lock a fixed minimum profit once your profit crosses a threshold.
Parameters:
- If Profit Reaches: Threshold profit level to activate lock.
- Lock Min Profit At: The minimum profit you want to secure.
Example:
- If Profit Reaches = 2000
- Lock Min Profit At = 500
Flow:
- Once MTM reaches 2000, minimum profit of 500 is locked.
- If MTM subsequently falls to 500, system exits to preserve the locked profit.
- B) Trail Profits
Allows you to trail profits upward step-by-step as profits grow.
Parameters:
- Increase in Profit: Profit increment after which trail happens.
- Trail Min Profit By: Amount to increase locked profit on each step.
Example:
- Increase in Profit = 1000
- Trail Min Profit By = 500
Flow:
- MTM reaches 1000 β Lock Profit = 500
- MTM falls to 500 β Exit.
- MTM reaches 2000 β Lock Profit = 1000
- MTM falls to 1000 β Exit.
- MTM reaches 3000 β Lock Profit = 1500
- And so on.
- C) Lock & Trail Profits (Combined Logic)
Combines both Lock and Trail methods together.
Parameters:
- If Profit Reaches: Initial threshold to activate lock.
- Lock Min Profit At: Initial minimum profit to secure.
- Increase in Profit: Profit increment for trailing.
- Trail Min Profit By: Amount to increase locked profit on each trail step.
Example:
- If Profit Reaches = 2000
- Lock Min Profit At = 500
- Increase in Profit = 1000
- Trail Min Profit By = 500
Flow:
- MTM reaches 2000 β Lock Profit = 500
- MTM reaches 3000 β Lock Profit = 1000
- MTM reaches 4000 β Lock Profit = 1500
- MTM reaches 5000 β Lock Profit = 2000
- If at any point MTM falls back to locked profit level, system exits.
Applicable Behavior Across All Levels:
| Level | MTM Calculation |
|---|---|
| Strategy Level | MTM of individual strategy |
| Account Level | Total MTM across all strategies of that account |
| Global Level | Total MTM across all accounts |
Time-Based Options straddle / Options strangle
Indexes: Nifty | Bank Nifty | Finnifty | Midcap Nifty | Sensex | Bankex
Are you doing Stockmock backtesting and want to automate your strategies?
What people say about Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)
- Verified
Super speed good platform for algo
DDeepak Chandan6 Oct 2025 - Verified
Excellent π
AApricus Consulting pvt Ltd5 Sept 2025 - Verified
I have been using this option trading software for some time, and I find it very helpful. The best thing is that it is simple and easy to use. Execution is smooth and quick, which makes trading stress-free. The software runs without any problems and provides real-time updates, which is very useful for option trading. I also like that the platform is stable and reliable. It saves a lot of time and effort by making the whole process straightforward. With this software, I can focus more on my trades instead of worrying about technical issues. Another great point is the excellent customer support. The best part of the software is Dharmesh bhai, who is always available for help and guidance whenever needed. His quick response and support make the overall experience even better. Overall, this software has made my trading journey much easier and more comfortable. I would definitely recommend it to anyone looking for a simple, reliable, and trustworthy option trading software.
VVikas gupta3 Sept 2025 - Verified
Simply the best algo trading software if you are doing intraday straddles and strangles. One can configure all the parameters that is required for various different types of strategies. I have been using this for nearly 2.5 years and whenever I wanted support, they have provided the required resolution promptly.
Mmacchap17 Jun 2025 - Verified
Your software is best and fast for exiting trade at stoploss to keep traders on safe side. Not got any technical issue till now with easy to use features. Best algo software so far β¦ Moreover, Dharmesh Sir is so supportive and helpfull in everyway. I am not getting this at other companies like stoxxo. Keep growing and thank you ππ»
SSiddhartha Timbadia15 Oct 2024
Write a review
Copy review linkReviews are moderated before they appear. Please describe your experience β setup, execution, support β not performance or returns. Use βCopy review linkβ to invite a customer to review Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle).
Ready to try Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)?
Set up in minutes, automate without code β with a team that answers.

