Drag and Drop Stop Loss/Take Profit Levels in Metatrader 4

How To Avoid Choppy Markets

Note: The new MT4 builds have automatic drag and drop take profit and stop loss levels. You just click and drag with your mouse. I have it set to only work with the ‘alt’ key being held down (Tools > Options > Charts > check “use ‘Alt’ key to drag trade levels”). If you don’t need to use the other features of the EA below, you can now use MT4’s built-in trade levels feature.

More traders use Metatrader 4 (MT4) than any other Forex trading platform. That isn’t to say that more professional traders use this platform – just that it is the most popular Forex platform overall. I personally use Metatrader 4, but it does have its limitations.

Most of these limitations have a workaround, as I’ve shown you in my article, How to Create Custom Time Frames in Metatrader 4. Certain limitations, however, do not yet have a suitable workaround.

For instance, there still isn’t a suitable solution for creating custom tick charts in MT4. There is a script to create them, but they must be built one candle at a time; plus, they are reset as soon as you close the platform or change profiles. This tick chart solution is simply not practical for most traders.

Drag and Drop Your Stop Loss/Take Profit Levels in MT4

All that being said, there is a cool expert advisor (EA) that I’ve found which adds a little more functionality to Metatrader 4. It allows you to drag and drop your stop loss and take profit levels in MT4, among other things. I stumbled upon this functionality by accident, when I was looking for an EA that would help me scale out of my trades automatically.

I found one, called the Quik Trailing EA (yes, it’s spelled Quik), that handles this and more quite nicely. It allows you to scale out of your trades by your desired percentage once price meets a predetermined profit target in pips. It also allows you to set a break even level, and lock in any amount of pips at the same time.

The Quik Trailing EA can display a panel with vital account and trade information – including the spread of your chosen currency pair. You can save profiles so that the EA will remember your preferences, and switch between profiles when you require different settings.

You can even set automatic take profit and stop loss levels, and each of these features can be activated or deactivated individually. As I mentioned earlier, this EA also includes the ability to drag and drop your stop loss and take profit levels to adjust them (see the image below).

Drag & Drop Your Stop Loss/Take Profit Levels

Once the EA is up and running, simply double click your stop loss or take profit level, and then move it just like a regular horizontal line in MT4. Double click the level again to turn the drag and drop feature back off.

The drag and drop function can be pretty handy for on-the-fly trade adjustments, like manually moving your stop loss to break even, trailing price with your stop loss, or increasing and decreasing your take profit levels.

Installation Instructions:

To use this expert advisor, download the Quik Trailing file, and put it into your expert advisors folder (Metatrader 4 > Experts). I recently found this manual for the EA as well.

The next time you start MT4 and open the navigator (Ctrl+N), you should see the file in your Expert Advisors folder. Simply drag the Quik Trailing EA onto your desired chart, and adjust the settings to your preferences.

Quick Trailing Common Tab

Make sure you enable expert advisors by pressing in the button labeled “Expert Advisors.” Also, make sure that, when you add this EA to your chart, you check “Allow live trading” and leave “Ask manual confirmation” unchecked, if you want to utilize the scaling out feature of this EA (see the image above).

If you’re unsure which boxes to check, just copy what you see in the image above to be safe. The window seen above can be found under the Common tab in this expert advisor’s properties (F7). Typically, all of the boxes checked in the image above should be checked with every EA that you use.

That’s it! If you have the EA working correctly, you should see a smiley face in the top right corner of your chart, next to the Quik Trailing label.

I hope you enjoy this expert advisor. I’ve used it often in my own trading, and it’s proven to be pretty useful. It’s nice to be able to drag and drop your stop loss and take profit levels, and I’m surprised this feature isn’t built into the default Metatrader 4 platform.

Are you still looking for a profitable trading system? Check out Top Dog Trading.

Free Video Trading Course



  1. says

    Please how do i set up this script for a trade i would want the SL of 10pips to trail by 5pips from market price while the TP of 15pips moves continuously from the market price. send me screenshots if possible, please @vicolen

    • says

      Why would you want to use a TP at all if you’re using a trailing stop? I’ve never used this EA in the way you’re describing, so I wouldn’t be able to tell you.

      I use this EA to drag and drop TP and SL levels, to scale out of positions (with certain trading strategies), and to automatically move my stop loss to break even (and sometimes lock in some pips) after price moves a certain amount in my favor.

      I recommend downloading the EA, and testing the different features on a demo account. You’ll just have to experiment with it.

    • says

      I never use that feature. I use this EA for the drag-n-drop and break even features. There is a manual for this EA. Google “quik trailing ea manual.” I’ll try to upload it to this page, if I can find it again.

  2. says

    Also, do you think the EA can still work if it is added to the chart only after I open a position?

    And what happens to the Breakeven/Trailing levels when I manually modify the SL/TP lines? Would one action cancels the other?

    Would the open positions be updated on modifications on the EA after the open positions are executed?

    • says

      Yes. You can add this add this EA at any time. Also, one action should cancel the other. I believe I tested that out when I first started using this EA, but it’s been a while. I always drag the SL/TP lines when I add this now. Feel free to correct me, if that’s not the case.

    • says

      I guess so. When I use this, I typically add it to the chart of my already open trade. I don’t think I’ve ever gotten that message. Please let us know if that’s the case, Freddie.

  3. phil says

    Chris… I would say that either English is not your first language and you need to revise more or else you’re an idiot! Just my perspective thats all.

  4. Keith says

    Hi chris, I have been using the quik trailng ea for some time now Just recently since changing to the latest mt4 with one click trading i can no longer drag and drop the stop loss lines.When i double click the line the mt4 order box appears.I ve tried placing the stop loss order in the box but when i get out of the box the stop loss go back to the auto s/l.I also can not change the values in the auto s/l. When i change the values and set to true it does not change on chart. Any help would be appreciated.

    • says

      I don’t have any live trading experience with one-click-trading versions of MT4. Just some limited demo trading experience, in which I did not use this EA, as far as I can remember.

      I can tell you, however, that the auto S/L and T/P levels have to be set *BEFORE opening a trade (with the EA added to your chart and activated) in order for the auto S/L and T/P levels to execute. In other words, if you try to edit these values after a trade is opened, the changes will not update on your chart immediately; but the EA should execute your new values on the next trade.

      I wish I could be more helpful than that. Let us know if you get it figured out.

    • Dan says

      Drag the SL or TP line a little bit. A yellow line will appear where the line was, quickly double-click the new line. A little box square appears at the end. Now you can drag it and place it where you want. The original line will follow and become one.

    • says

      Update: My new 100-Trade Test Demo account uses a one-click-trading EA. I’ve had problems too, but I figured it out.

      Just click the button to TURN OFF your Expert Advisors while you make your adjustments. Then turn them back on again. That works 100% for me.

  5. James says

    Are you able to set the tp and sl numbers automatically from ones given
    by an indicator, or do you have to manually insert them?
    You are awesome.

    • Chris says

      Thanks for the kind words, James! In the input settings, you can change it to have automatic TP and SL numbers if you like. You can also add them manually.

  6. art says

    Is there anyway i can contact the author…i could have my programmer do it but would need the MQL4 file not the .exe…

    • Chris says

      I can’t find an mq4 file for it anywhere. I did find a manual for this EA, though.

      Note: I added the manual to this EA.

  7. Victor says

    I’ve been using this EA works great, except………
    I just entered a trade and my computer restarted and the SL and TP lines are gone…. Will dragging the SL and TP from the navigator work correctly with the trade that is currently on? I had issues with those earlier. (I’ve used the SL and TP lines from immediate trade) the ones that get placed automatically, not new ones that I have to drag.

  8. Victor says

    Thanks. It is working now. Have you ran into issues of putting a pending order, and getting filled at market wherever you drop it? For example, I’m trying to SELL, however I want to SELL higher than current level, so I place it above, yet I get filled below….. it SEEMS as though you cannot place a SELL pending order if the price is below that order. Or a BUY pending order when the price is abobe the order, because it matters where you drop it. If it is below the price, then a SELL gets placed, and if you place the order above the current price, then a BUY order is placed. Do you know how to work around that?

    • Chris says

      I think I had that happen to me when I first used it, but I usually added it to the chart after I entered my trade. It’s been a while since I’ve used this one though.

  9. Rick says

    Today I was on a trade with NZDUSD and my trade was closed way before the stop loss line. It is almost impossible to use MT4 when it is closing trades before they actually hit the STOP LOSS line. Also, I notice that it also rarely closes on the SELL TP line in MT4 too – though I am told this is not MT4 it is the fault of the broker – neither will take responsibility as the broker blames MT4.

    Usually the TP on the BUY is okay from what I can tell, but I have lost many trades due to it not actually CLOSING on the SELL line when I reach my TP

    I have actually not received an honest explanation about this. I watch most of my trades and I can see it happen in real time. I was shocked this morning to see another trade CLOSED before it hit the actual SL line and sad to see it NOT close whenever it hits the SELL TP line.

    Any thoughts on how to fix this?????

  10. Chris says

    Sounds, to me, like your broker is adjusting the spread to take out your stops and keep you in plays that you should have already profited from. You have to adjust your levels, if you’re dealing with a time frame low enough that the spread becomes a factor. Some brokers will widen the spread just enough to take out your stops (if enough other traders also have stops there). They can also keep you in plays that should have profited this way, but I imagine that happens less often.

    It happens all the time. I think it’s a shady practice. I don’t like it. That would be my guess, though. Also, make sure you’re using MT4’s built-in drag and drop levels, like I suggest at the top of the article, if you don’t need the other features of this EA.

  11. says

    thanks for the EA, was what i was looking for! Setting a hard stop when my broker won’t allow small stops is annoying. This EA solves the problem. Great website too, just stumbled on it. Have a LOT of reading to do now!

    • Chris says

      Hey, Marty! Thanks for the kind words. I’ve used brokers that did the same thing, and I agree: it is annoying – especially if you trade the lower time frames. I’m glad you found this helpful.

  12. Bob says

    Thanks for the EA Chris. Have not used it yet but will. I am a new trader……do you have a broker you think is good in the USA?

    • Chris says

      Hey, Bob! I’m using Forex Broker, Inc. at the moment, and I’ve had mostly good experiences so far. In the USA, I would recommend either them or FXCM. FXCM has been around much longer, and is the more trusted name. I went with Forex Broker, Inc. because they allow traders to publish signals (which I may do in the future), and they use the correct GMT +2 charts. In Metatrader, this means your week will consist of 5 daily candles. Most brokers don’t use the correct charts, and you end up having 6 daily candles. This is bad for price action trading on the daily chart and everything lower than a daily chart.

      One thing you can do though, although it’s a hassle, is to use another correct 5-day-chart broker, like Pepperstone, to analyse your market and make trading decisions, and just use your actual broker to place the order.

      A third, and much more expensive option, is to invest in a charting service like eSignal, or get TradeStation or Ninja Trader with a premium signal service. I still use MT4, and I can tell you that all the fancy trading software in the world won’t make you successful if you don’t already know what you’re doing. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *