Margins- 2 Exit orders for 1 position

February 26, 2013
Funds and Margins

Calculating Margin for Exit orders


A lot of us when in a trade would probably do one of the 2 things below.

For example: I will consider that the margin for Nifty futures is Rs. 28000 and my account balance is Rs. 30000. I have bought 1 lot of Nifty futures at 5900.

1. I place a stop loss order at 5850 and place a profit target order to sell at 6100.


2. I place 1 profit target order to sell at 6050 and 1 fresh short order at 6050 as I believe the price will come down once it touches this price.

The confusion for the above 2 cases usually is: “Can it be done without any extra margin being blocked?” I will explain how it works with the above example in mind.

Do remember that in your Rs. 30,000 capital about 28,000 is blocked because you have bought Nifty futures. Only Rs. 2000 is remaining for a fresh position.

Firstly, in both the cases above, when you are holding a Nifty future, the first exit order that you place doesn’t require any margin because exchanges recognize that you are trying to exit a position that you have and there is no margin requirement for such an order.

When you place the second exit order, there is a notion among traders that for this order you will require complete margin in the example above, i.e. another 28,000 apart from the original 28,000 blocked for the position you hold.

This is a notion, not True!!!

When you place the second exit order in both the scenarios above, as long as your margin is more than Rs. 28,000, you will be able to place an order. But remember that if your balance is exactly Rs. 28000 or lower, you will not be able to place the second exit order, it would display an error saying you’re short of margin.

Hence in the example above, you have Rs. 30,000 in your account out of which Rs. 28,000 is blocked for the Nifty future you have bought and even though there is only Rs. 2000 extra in your account you will be able to place the second exit order for both scenarios mentioned above.

Why don’t you need the extra 28,000 for taking the second exit order?

The exchange recognizes that your second exit order will be executed only after the first one is executed. If the first exit order is executed, that means that the margin which is getting blocked for your present position gets released which is sufficient for your second exit order.

This logic will work for equity, equity futures, commodity futures and currency futures. This would not work when trading options. The reason it will not work when trading options is because unlike in equity trading and futures trading, the margin required for buying and writing (selling) options varies. If you have Rs 5000 in your account and you bought 1 lot of Nifty calls at Rs 100 (Rs100 x 50= Rs 5000), you can place the first exit order, but for placing the second exit order it will ask you for the option writing (selling) margin.

Hopefully the above information clarifies. Do ask a question if you need further explanation.


Happy Trading,


Nithin Kamath

[email protected] Zerodha, working towards breaking all barriers that I personally faced as a retail trader for over a decade. Love playing poker, basketball, and guitar. “You don't have to be a hero to accomplish great things---to compete. You can just be an ordinary chap, sufficiently motivated to reach challenging goals.” - Edmund Hillary


  1. Shoaib says:

    This clarifies a lot… Thank u Nithin…

  2. P.L.Rao says:

    Very usefull information.
    Thanks a lot nithin.

  3. bijender_1969 says:

    very little understandble,but very useful .how it can be done th.ZT

    • Nithin Kamath says:

      Bijender, The basic idea is to let you know that if you are holding a position you can place both target order and Stop loss order without the need of extra margin…

      So assume you have 10k in your account and you about 1lk worth of [email protected] using product type MIS, You can place a limit selling order at 1010 and stop loss order at 990 without any extra margin..

      A lot of people think that for the 2nd exit order, you need extra margin and this blog explains that it is not except for options..

      • Lakshmi Priya says:

        Hello Mr. Nithin Kamath
        This is very fantastic future in Zerodha, Thanks for the detailed explanation.
        And I have one request that is while I placing the order with MIS I have to refer the Margin calculator in the website for calculate the margin qty. Is it possible to incorporate this option with the Kite app? So we can save the time as well as can earn more profit. Because normally while using mobile app to trading, we must refer the web site for the Margin calculator, due to this some time has been delayed to place the order in the mean time the price has been varied much. Kindly I request to you please adopt this futures in kite app. I hope I will get positive replay from you.
        Thanks in Advance

        Lakshmi Priya

  4. kinjhoh says:

    very useful information.

  5. kinjhoh says:

    I have few doubts about this blog.
    1. If i have one lot Nifty Long at 6000, require margin is Rs.30,000/-. So cash margin is Rs.31,000/- then can i place stop loss at 5950 and target at 6050? If yes, please explain how??

    2. In blog you mentioned that if Cash margin is Rs.32,000/- and overnight margin is Rs.30,000/- and due to the extra margin of Rs.2000/- we can place both the order’s(Stoploss and Target)? Can you explain what exactly does it mean?

    • Nithin Kamath says:

      Yes Kinjhoh,

      If you have 31000 and margin required for nifty is 30,000, you can place both selling and SL order. To place this first choose Sell and place an order with limit price. Choose selling SL and place your trigger and place the order. Make sure once one of these 2 is executed, you manually cancel the other..

  6. ctl says:

    If I put buy order(nifty futures) at, say,5900 and want to put stop at 5850 and book profit at 5930(ALL MIS)..what option do I select for Stoploss/Sell i.e. profit booking..

    Kindly guide so that I can start out.
    P.S. Im a delivery player,want to start out with MIS.

    • Nithin Kamath says:

      Ctl, You can place a stop or book profit order only once your primary order to buy nifty at 5900 is executed. So here is the sequence.

      1. You place MIS buying order to buy nifty at 5900. Once this is executed.

      2. You choose sell and choose SL-M and put a trigger price as 5850 to place the SL order

      3. You choose limit sell order at put limit price as 5930, your profit booking order.

      Hope this clarifies..

    • ctl says:

      Thanks for the reply.
      However, SL-M option doesnt show on my system.It only shows SL.
      What I gotta do?

    • Nithin Kamath says:

      Send an email to [email protected] with your client id, we will have it enabled immediately

  7. rajesh.nyk29 says:

    Hi. Greetings Mr. Nithin.
    I am about to become a new client at Zerodha. I trade only in stock futures on weekly basis and i had query relating to it.
    If suppose i buy a stock future say Jindal Steel & power at 360. My target for a two days or may be a week would be 370. And stop at 355.! Can it be possible to place SL as well as target order for the stock at the above said prices? This is useful to me because i have multiple Stock future contracts and sometimes i miss the target because i am doing something else or seeing some other charts. I trade at SBI cap securities (One of the worst platforms) and they have no option has such. So many a times i have missed my target and exit at breakeven.
    So in simple, is it possible when i buy a contract (Delivery) and Update both Sl & Target so that i can concentrate on something else than just keeping looking at screen to wait for the target?
    Thanks & regards

    • Nithin Kamath says:

      Absolutely Rajesh you can,

      This blog is about the same.. Rs 30240 is the margin required for 1 lot SBI future , You can place SL and target even if you have 1 Rs over 30240.

      But do note that , if SL gets hit, you will have to manually cancel the target or if target gets hit, you will have to manually cancel SL…


  8. Sitaram says:

    Any calculator available same like brokerage calculator to calculate required margin for sale any option on any Strike Price of Options.

    • Nithin Kamath says:

      We actually have a brilliant tool for this SPAN Calculator , this not only tells you margin for writing options, but you can simulate multiple positions at one time and see what is the margin benefit you get.

      Check the blog. Cheers

  9. Pradi says:

    Ex – I have 3000 and bought 1 lot of Nifty 6000 call option at 40. Margin used – 50×40 = 2000. After some time imagine this is trading at 45. now I have belwo questions for you

    1. Can I place a SL-M order with triger price of 43? or a SL with a triger price of 43 with a limit 42.95. Plz note – I initially bought at 40, People say that while placing SL sell order the triger price has to be always less that the initial buying price(40rs) Please tell me if I can place a stop loss order with the triger price more than 40rs.

    2. After placing a Stop loss order if I have to place a target sell order at 50rs (this will be the second exit order) then what will be the margin that I require?

    • Nithin Kamath says:


      Your’s is a common query, When the option is trading at 45,

      1. yes you can place SL-M order with trigger at 43.
      Yes you can also place a normal SL order with a trigger of 43 and limit 42.95. The only risk you carry of having a limit price is that if the market goes fast against you, it is possible that the limit of 42.95 becomes a pending sell order. Otherwise no issues as such.
      People who say that you have to place trigger below the buying price are wrong, you just have to place it below the market price currently(i.e 45 in your case). If you place it above 45, it will get triggered immediately and your order becomes like a normal selling limit/market order.

      2. When you have already placed the stop loss order and now trying to place another exit order at 50, only in case of options do you need extra margin. The reason for this is because margin required for buying/selling options are different unlike equity or futures. In your case, you will need the margin required to short an option to place a second exit order.


  10. sarvesh says:

    dear sir <br &nbsp; i am using zerodha trader software to trade with u on my pc .the&nbsp; probem is that my brother has an a/c with other broker using now software.both zerodha and the other broker who provides now use nest plus starter pack.but when i log in now.the zerodha trader exit from nest that anothe portal may be using same nest id and stops responding .i use two different nest ids .but zerodha and now both nest pus is auto login mode .kindy lresove my issue

    • Hanan says:

      Sarvesh, having multiple accounts with different brokers and using the same software for trading will lead to complications because Nest Plus works with only one account. We’ll have to make separate partitions in your computer like C and D drives and install these software differently. It will require an expert to do this… so call our office for support. Ask for Hari. 🙂

  11. Sachi says:

    For example, I have Rs. 5000 in my account and I buy one lot of NIFTY CE @ 100, what should I do if I want this to be sold if the value becomes either 110 or 95 using ZT? Do I need extra margin?

    • xuv-500 says:

      hi Zerodha,
      IMO Sachi wants to place both orders viz 95 and 110 simultaneously.
      How can u say that ‘No additioanl margin will be required’ ??? It’s Options.
      Is that mistake in understanding ? pls clarify

    • Nithin Kamath says:

      Thanks for pointing it out XUV

      @sachi, since this is options, you cannot place more than 1 exit order at a time, if you do the second order will need margin which is required to short that particular option..

  12. Shivendra says:


    Are there any exclusive services for HNIs like other top brokers?


    • Nithin Kamath says:


      We run the same deal for all our clients, so don’t differentiate. We do offer additional tools for higher volume trader like i3 which can be used for reducing the impact cost while placing big orders. Let me know what services you are looking for..


  13. KumarVinny says:

    Sir plz tell me how can I convert MIS order in commodity to positional in ZERODHA TRADER.

  14. dineshAI says:

    Is there any fixed formula for calculating margins. I trade in NIFTY Futures. Today i tried to put 5 lots buy and 5 lots sell in after market orders. I had 2.3 L in my account still it didnt allow me to put both orders. Can you explain?

    Thanks and Regards,
    Dinesh Kumar Sen

    • Nithin Kamath says:

      Did you put the 5 lots buy and 5 lots sell for existing 5 lots that you hold or you didn’t have any existing nifty position?

      If you didn’t have any existing nifty position, these orders are treated separately so 10 lots and if you are trading on Zerodha trader the margin required is around 25k, so 2.5lks is what you need.

  15. dinsjoy says:

    thank u sir

  16. Dharam says:


    I have bought 100 shares of X company at 1000 rs and i want to place a SL order for 200 Shares considering to reverse my trade on hitting SL. How much money should i have in my account. Assume leverage for the stock is 8 times.

    • Nithin Kamath says:


      If for the 100 shares you are putting 1 exit and 1 SL, you wouldn’t need any extra margin.

      Since you are putting 2 SL, the second SL will be considered as a fresh order and margin will be required for that. 100 x 1000 = 1lk, 8 times leverage 1lk/8 = Rs 12500.


  17. v muthuraman says:

    for eg
    1) i have a margin of rs 5000 now are you allow to buy 100qty [email protected] & 100qty 5000 [email protected]
    2) i have a margin of rs 40000 now are you allow to buy 50qty [email protected] & 50qty 5000 [email protected] and carry over the position till expiry? are you calc option profit for margin?

    • Didn’t get your question correctly.

      What the above blog says is that if you are holding 1 position say buy Nifty future, you can place 2 exit orders, one for selling and another for stop loss without any extra margin.
      I am a little confused about the question you have asked, can you send an email to [email protected] with your contacts, someone will call you back and explain. Also check out the blog on our SPAN calculator, should help you in all margin queries.

  18. anand bansal says:

    suppose i am selling 1 lot of nifty 6300 call and again selling 1 lot of nifty 6300 put january contract so please inform the margin required for the above two lots

  19. Shaan says:

    How can set the sound alarms when the orders get executed in Zerodha?

    Also do let me know if there is a provision to set the sound alarms if the security reaches a particular price?

  20. crs says:

    I am new to zerodha.Trading on Equity.If i place a cover sell order with 19x margin exposure and squared off. can i place another sell or buy co with same margin exposure again?

    and may I repeat this with each square off?

    Thanking you,

  21. Jagmohan Singh says:

    if i have bought nifty fut at 6085 then after it my adviser gives an order ‘place an order to exit the long position in nifty futr and take short position below 6082’ what does it mean ?

    • He is most likely asking you to sell the existing nifty futures at market price, and press a SL-limit selling order at 6082, so you can take a fresh short as soon as the price comes below 6082.

  22. Arvind says:

    HI Nitin
    Exactly I cameover this situation while I get benefited by this option.
    I want to know wheather by just pressing twice one can place such order or not.

  23. dins says:

    in that example you told that if the margin required for the first position is 28000, we have to keep 2000 extra(ie: 30000) in our account to take the two exit positions. In the case of different stocks exactly how much amount extra we have to keep in our account to take the two exit positions?

  24. Rahul S says:

    Isn’t this topic the same concept as a bracket order except that the second order doesn’t get cancelled? Also, is bracket order getting released on web platform?

  25. Kavitha says:

    Hi Mr Nitin,

    sorry this is not related to the blog trail.ur new q.zerodha back office is not getting updated for example now at 00.05 am on 01/10/14 still my ledger and all the other details are shown for 29/9/14. even i put a payout order that too didnt execute. even though i put payout much below the amoutn what i have.

    I spoke to Customer care they said it will be done. but i am facing these kind of issues very often. pls revert on this.

    Secondly not able to do autopayout the ledger balance, this feature is quite common on other borkerages.

    we like trading on zerodha. if these things get sort would be much better..


    • We had a small issue with our trade process yesterday, but otherwise you should be able to place withdrawal requests by 7.30 Pm.
      What do you mean by autopayout?

      • Kavitha says:

        thanks for ur prompt reply, in many case due to delay on update of backoffice, we never know the actual account balance. if u have an option of paying out ledger balance on a daily basis, what ever the balance it will automatically payout that amount. This is just a suggestion which i found in Geojit. i am not aware of practical hurdles on implementing this thing. but if it happens it will be useful to many traders.

        Ur 60 day challenge scheme is really a motivation. till now i couldn’t succeed on this but have the confidence to win.


  26. vijay says:

    Nitin kamath,

    Lets assume MIS margin for one lot of crudeoil is INR 30000 and I have 31000 in my account.
    If I buy 3 lots crude and place stop loss and target order, then I know that both will be placed without any requirement f additional margin.

    But suppose I want to go short if stop loss is triggered for an additional 3 lots then will it accept my order?
    so my order will e as follows.
    Open position: 3 lots buy crude @ 5250
    Target Order: 3 lots sell crude @ 5300
    Stop Loss Order: 6 lots sell crude @ 5200

    Is this possible?

  27. Somenath says:

    I request for not publishing my last post. Firstly, my post was placed at a wrong place. Publishing that post may distract the focus of this thread. And next, I got it in a wrong way and thereby causing mistake in placing order. I was using price figures instead of differences. Today someone from support called up and explained it. Then I reread the related ZConnect topic. Though I read that earlier, I missed out that portion. Tried to place a BO and that worked. Zerodha Support is certainly a great strength of Zerodha. My sincere thanks to Team Zerodha. So far my experience of exploring Zerodha and its services is nice.

  28. Nurith says:

    Hi Nithin
    Where can i get info about margin call, do you have anything on that in your blog, If not please can u blog some info about margin call.


    • Margin call is when your margin comes below the required SPAN margin by the exchanges. At that time, you either have to square of your position or transfer more money into your trading account.

  29. VP says:


    Can you explain how the margin works in case of SAR type of trades.

    E.g. If I am holding one lot long, and place a stop loss for 2 lots (Stop and Reverse). How much margin will be blocked for this?


    • For the first stop, there is no extra margin required. But the second one is considered as a fresh order, and hence entire margin for that lot is required.

      • tarak says:

        Is SAR not same as case 2 in the above article?

        2. I place 1 profit target order to sell at 6050 and 1 fresh short order at 6050 as I believe the price will come down once it touches this price.

        If yes, then margin money should not be 2x. please clarify.

  30. RT says:

    I have Rs.15,000 as trading capital. I use up the entire amount to buy, lets say, 400 shares – using leverage via MIS or CO. The stock goes up in value by 1% sometime during the day. Now, I want to exit and simultaneously open a short position of the same size because I expect the value to now fall. Can I place a Sell order for 800 shares? Note that I do NOT have any margin left. I do not know if the system is “intelligent” enough to understand that selling the first 400 (out of the 800 shares sell order) will automatically generate the margin for shorting the next 400.

  31. RT says:

    @ Nithin: Thank you. Did I just give you a Product idea for future development, or does this capability not make much sense? It does make sense to me, but then I’m very new to trading, so I could be off. The main benefit as I see it, is the almost zero gap between the exit and entry of the first and second trades respectively, allowing for more aggressive trading for those who like it that way. Higher volume is a plus for you as well.

  32. Sathish001 says:

    Small clarification, while placing 2 Exit orders for 1 position, can we place a stop loss order at Market price and place a profit target order also at market price using trigger price. I see in some places you have mentioned market price for stop loss order & limit price for profit target order. Is there additional margin requirement for placing market price order for both exit orders. I would like to use market price to make sure the trades will be executed for sure while hitting the trigger prices.
    Eg: I buy 100 qty ABC stock at 100 RS. Place a stop loss order for 100 qty at 98 RS using market price & place a profit target order at trigger price of 104 RS using market price. Does it require extra margin for the second exit order(Profit Target Order)??

    • Hanan says:

      When you place a Bracket Order, you are setting up a condition for exiting your position after hitting a “trigger.” Your trigger can either be your Stop Loss or your Target, and once your Target or SL is hit the other open order gets cancelled instantly. The moment your trigger price is breached, your order gets executed no matter if it’s SL or Target. The reason all Target orders are Limit is because we can’t have two SL orders. If you buy something at 100 and your Target 110, how can you place this as a market order? If you place a market order, it has to get exited immediately. For this reason, your Target order is Limit and SL is Market (after hitting trigger price).

      You don’t need any additional margins to place Target and SL orders. They work with the base margin used for entering your position.

  33. tarak says:

    For SAR trading (1lot), what is the minimum amount required (leaving the cash required for -ve MTM) ?

    Can you please add this feature to SPAN calculator(SAR margin calculation)?


    • There is no benefit you get as such. You are anyways exiting the first and taking the second. If you place a limit reverse order, for the quantity you hold, you need no margin, but for anything extra whatever is the margin required for fresh position is required.

  34. Ajesh says:

    Hi sir,
    Suppose I have 1 lot of any futures. I want to know
    1) As you explained we can place both target order and stop loss order simultaneously without any extra margin. Is there any preference in placing the above two orders or we can place in any sequence.
    2) Suppose one order gets executed, should we manually cancel/exit the other order. Suppose I forget to cancel/exit the other order (bcos I wont be sitting in front of screen all the time ) then what will happen.

  35. Ajesh says:


  36. Pallavi says:

    The above example is clear to me. In options we cannot place 2 exit orders. In this case how can i exit my option position.

    Suppose i am long in call at 85. The call is now trading at 100. I already have a SL in system at 80. I am in profit so I want to exit. My questions are:
    – Should i simply modify the SL order to market and exit.
    – In case of stock options I cannot place a market order. How do i exit here in both scenarios…at market price and at a limit price.

  37. Khro says:


    Ex. I bought Nifty Future at 8600 at market rate with stop loss (CO) at 8550 . Suppose it hit stoploss and from this point i want the system (Kite app) automatically to short say at 8545 hoping the market to falls further. Pls explain the process of placing this order.


  38. Varun says:

    If I am only an options buyer and never indulge in options writing then will I be able to take advantage. Lets say after deciding to exit a long call option I develop a bearish view on NIFTY and decide to buy put options at the exact time when I decide to cover my long calls will I be able to do so – I mean in terms of allowing me to ‘place an order’ to buy a put exactly at the same time of squaring off my long calls with insufficient capital for buying the puts (the strike price would differ obviously). Timing is the key issue here if I am using an algorithm that is constantly at work with reverse trades.

  39. arun says:

    I am new to zerodha and option trading. After reading the entire post and comments, i have few questions. Suppose I bought one lot of Nifty call option @9100.
    Once this is bought , now for squaring off this position, can i place both stop loss order @ 9050 and profit order @ 9150 without requiring any additional margin .
    Please let me know what type of different orders I have to enter or can i enter only one order for both scenario.
    Please note I am using Kite platform.

  40. arun says:

    Also please let me know if I am able to place both orders simulataneously without any extra margin then if one of the orders (SL or profit) get executed, then do I need to manually cancel the other order or the system will automatically cancel the other one. Please note that it will be difficult for me to know when the order will get executed and I cannot be checking all the time. Do you have any suggestion.

  41. Mahesh Samala says:

    Dear Team

    Today I transferred Rs 9500 whereas free cash shown as 19000 Rs. So I have following question.

    1. Why it shown double.
    2. Can it be used for investing.
    3. If it’s used within how much time it should be repaid

    • Venu says:

      1. I guess you’re seeing the funds on the terminal. Post market closing, we run day end processes during which time the terminal may not show you the right balance.
      2. Your actual balance of Rs.9500 can be used.
      3. No question of repaying, you’re allowed to use Rs.9500 only.

  42. Bhargav Mehta says:

    Hi .i am using zerodha mobile app . from the above post what i understood is –
    for option – lets say i bought tatasteel ce at 15 rs .now for stop loss i have to go to position and put sell the order with sl-m at 11 ..1)if the price go to 11 from 15 then stop loss will be trigger .
    2) If the price goes on 17 then i will modify my sell order and exit at 17 i right ??

    For future – i will place 2 sell order ..1 for stop loss (from position)
    2 nd for target price ( again from position or fresh sell ) .. ??

    • Venu says:

      For option:
      1) Yes, when the price goes to 11, a sell market order gets triggered.
      2) Yes, change the order type from SL-M to Limit/Market.

      For Future:
      You can place the order in any way.

  43. Bhargav Mehta says:

    Hii ..why all options are coming as 17 april in zerodha ?? I am using mobile app ..option should be the last thursday of the month ..

  44. Bhargav Mehta says:

    Here there is no option to attach the screenshot ..if you check on mobile app zerodha – option april month option are coming as 17apr pe/ce ..this should be the last thursday of april month ..

  45. Ashvin Lakshmikantha says:

    Hi Nithin,

    I do not understand the logic of asking for margins in the case of options. Say I buy, a call of nifty at 5900 and sell a call of nifty at 6000, I should not need any extra margin money for the sell call, because it is covered with the buy call. Can you please explain why would I require additional margin in this case?


  46. Harshal says:

    Dear Sir,

    Thanks for such a wonderful articles, videos and awesome trading platform.

    My question to you is if I write (sell) options first, can I place 2 exit orders (target and stop-loss) without additional funds?

  47. vijay says:


    Option sell orders block a lot of margin (even though premium required is small), which negates the merit of that trade in terms of time value of money…is there a better way like trailing extra margin requirement as the position gets more in the money (working against the seller)?

  48. Rushabh says:

    This is brilliant, I don’t think all brokers allow Target and SL orders simultaneously without additional margin.

  49. Prasanth Manduri says:

    Want to know Amy difference between futures and MIS if we are closing the future on the same day. Which is advantage??
    And economical.

    • Zerodha Social says:

      Prashanth, futures is an instrument and MIS is a product type. So if you are using an MIS order, your position will be squared off at the end of the day. If you wish to hold it overnight then you need to use NRML orders. To learn more about order types check out the Kite User Manual. To learn more about F&O then you can check out Varsity.

  50. Brojendra Sharma says:

    Nitin Sir,

    I would like to know is there any trigger system market order for profit booking in exit ?

  51. Prem says:

    Hi , I would like to know about with some amount can I place both buy and sell order. Example: I need to SELL a share X ,if price is at 99 , in the same way I need to buy if it goes to 101. Suppose if I have 1000k, can I place both buy and sell in single order. Ir I need 2k to place both. If I can do it in single order which order type I need to use. And what values I need to enter also where to enter. Obviously one order got triggered I will cancel other order. Please help me for this

  52. Omhan says:

    please explain to me the margin requirement for the following orders?
    I want to buy 2 lots of future contract X, place SL orders for both at same price and place 2 different target price for both lots.
    I also want to trail both lots differently as price moves in my favour.
    (Ex: Buy 2 lots of future contract at 400 via MIS order.
    CMP 399
    Target 1 405 SL 1 395
    Target 2 410 SL 2 395
    If T1 is achieved I will cancel the SL1 for that and would trail the SL2.
    Order placing:
    Place SL-M buy order for 2 lots price = 400.

    After order is executed place SL-M sell order for 2 lots price = 395.

    Then, place one limit sell order for 1 lot at 405, and place another limit sell order for 1 lot at 410.

    If target 1 is achieved modify SL-M sell order from 2 lots to 1 lot.

    If target 2 is achieved cancel the SL-M sell order for the 1 lot.)
    I hope I am doing it right

  53. Nayan says:

    trying to code in pi. unable to program stop loss and exit long script. Also is it mandatory to provide sell script even if i wish to enter only long. The trade script pdf wasn’t helpful. kindly guide. thank you

  54. Rajesh says:

    Hi, kamath

    After executing the buy order under MIS, can i place only SL order for that executed order without placing tgt order (only 2nd Exit order). Will that attract additional margin under MIS??. I would like to keep the open position till the end of the day if that doesnt hit SL


  55. Vishal says:


    I am new to the futures concept and wanted to clarify one doubt ?

    Can we set stoploss and target for sell order of nifty futures.
    Can stoploss / target be placed for any of the sell orders in future ??

    Thanking in advance.



  56. Anand says:

    Consider a given scenario: current market price of stock A=100, Want to put a stop loss at 95 , book a profit when market hits 105.
    Now my question is: Do I need to follow the below steps in subsequent manner?
    1. First buy the stock at 100.
    2. Put a stop loss at 95 by putting a sell order with SL(target 95, price say 94.5)
    3. Book a profit at 105 by putting a seperate sell order with sell limit sell at 105.
    i. And if this is right what happens to my stop loss order if the market value of stock crosses 105?
    ii. what happens to my sell at limit order if the market value of stock jumps down to 95?
    How will I act?
    If you could please explain it briefly.

  57. Pranav Kumar says:

    Can I place Stop Loss on a open Option position which we generally put while placing buy order ?

Post a comment