How I use trailing stops on Bitmex to exploit pumps and dumps: an advanced Bitmex Leveraged trading and Stop Loss tutorial.
14 min readApr 11, 2019


This article is an edit of the transcript of this video about Bitmex leveraged trading which I made on Youtube, click here to view it.

The video explores the use of a trailing stop, a special type of Stop Loss on Bitmex when doing leveraged trading as well as other types of stop order, how to use them, the difference on setting them on a long and short and the types price trigger, amongst other things.

Signup for Bitmex here:

The trailing stop on Bitmex can be really useful because if used effectively you can (and I have done this quite a few times) to exploit pumps and dumps.

A trailing stop will ensure that if price keeps on going up and up and up on a long, or down and down on a short, it will exit with a market stop order at the point that suddenly reverses by the amount you set (in the first example in the video this is 25).

On a very steep, sharp move often I’ll put the trailing a higher from 50 to 60. And what that does is really exploit a long wick whether it’s an upper or lower wick.

So I did this on the second week of the enormous crash of November 14th let’s go and have a look at the chart of some of the pumps and dumps I called almost perfectly.

This is the day the BTC started recovering off that huge huge dump a few days before. So what I did is I actually had a long entry on the afternoon of the 20th and I set the trailing stop about minus 45 and what we did was it down there and exited somewhere here (see hand curser). You see here this is the high. So my order exited around here.

and then I re-entered here (see the cross) and I put another trailing stop here and then it would have exited around the top of the candle.

I then put a short here. See if you’re going to do a trailing stop on a short you’ve actually got to do it the other way round. Because on a long trailing stop you’ve got to put a minus number in whereas on a short trading stop you’ve got to put positive number in because what you’re doing is you’re selling out a buying position or buying out a selling position. If it rises by X amount then you buy out your short position. You see here this is a huge crash and I put the short in and I put a trail of about 50 positive and actually exited here right near the bottom and as soon as I saw this candle here I put a log in and I caught this pump all the way out there and I put another training stop in so I basically got these five moves almost perfectly. And the trailing stop was so useful in doing that.

[00:05:28] Let me give me an example of how you would set a trailing stop. So here right now I’ve got a a long position. So on a long position you need to set the trail value to a negative so I know at the point where it’s suddenly drop by minus 30 you know then it will set a market order to sell.

[00:05:55] If this position is a short however you would put a positive number and the reason why is because you’re buying out that position to get you out of the short position. As you can see it will these numbers will move up and down accordingly.

[00:06:25] Server Overload & Using different types of stop losses

So I’m sure those of you who use Bitmex will have seen something that that happens quite frequently during volatility which is server overload. When that happens you can’t get an order filled. And I’ve had stop losses been missed before when I set just a stop limit when it’s overloaded. you know I was lucky I didn’t get liquidated on a couple of trades.

If you have a trailing stop that doesn’t matter so much actually (about having a separate stop loss) because the trailing stop can do two things. First thing is that you’re in a long and pumps say 150 dollars an event and then at the end of a 150 dollar pump it moves down by minus 30 or whatever you set it at then it would sell at that level (100 USD gain); so you make a decent profit; on the other hand if it doesn’t go up at all or if it goes up and only slightly but then it’s still then it goes down it goes against you then this will act as a stop loss as well. So you know so trying to stop can be pretty useful in all types of situations. It may however be less useful if your strategy is say over 4 hour, 6 hour, half day or daily candles.

NB: So some guys may be thinking you may get hit on fees using market orders. My opinion is this: (of course this depends on your strategy, I’m not including market maker/taker strategies of course). You’d be better off having a market stop and it fill for certain (and market buy/sell for entry in some circumstances) rather than having risk your order not be filled. That’s not to say you should only use market orders (ideally you could use both, and for entries find a way to scale in) but a stop market or trailing stop (which fills at market) will not fail to get hit, better be safe than sorry. It does not have to move that far for you to be in break even if you were to have market orders on both the entry and exit.

Price trigger types.

[00:07:58] All right guys so when you set a stop there’s one last thing. So you’ll notice that there’s there’s a couple of options here so there’s some there’s trigger action and close on trigger.

So what this means is what is the price that you’re going to choose to base the stop on. I would say that if you’re going to use a trailing stop (or any stop for that matter) I use the last price because the last price is the actual price that’s been traded. So if you want to catch some of these wicks and take advantage of them I will use last price. I mean some people say that if you’re going to use a normal stop you’d be better off using Mark Price because the market price it does move a little slower and it’s less volatile but the thing is the mark price it does lag. So if you’re going to use a really fast mover like a trailing stop that I would not use mark price (which is absolutely useless for that) I’d use last price.

And you’re more than welcome to a second stop in the stop market or a stop limit with the mark price as well but I would observe how and when it triggers as the mechanism is very different. Just to be safe you know and play around with it and see what works best for you. But as I said you can use that I tend to use last price I’ve never used the Mark Price for trailing stop.

The close on triggers are: If you have it ticked you reduce and remove all your contracts from that position; you could also use it to enter a trade in the opposite direction you would uncheck this and you would actually increase the quantity value here since your stock could trigger an order in the other direction- to do that you will need to ensure you have enough margin left to cover the trade- this means you would need at least 50% maintenance margin to cover a pending order i.e. when you make your initial order you need to leave some balance in reserve to be able to make that pending order.

[00:09:45] Also to understand the close on trigger function having it ticked versus not ticked there are a couple of good posts on Reddit that I found. So this is one of them. This is basically saying close on trigger makes sure that it closes any open positions and doesn’t add to them in that direction. So if you’re long 100 contracts then you have an open order for another 50 that hasn’t already been hit and if you had close on trigger off and you had a sell of 150 as to stop loss they would have entered you in the other direction with 50 contracts in a short position. Now there’s some circumstances where if you want it close on trigger off it might be useful actually. So if you have the close on trigger box it doesn’t affect any other open orders.

[00:10:53] So this channel isn’t that new but I haven’t really made a lot content for it for what I will be doing is making a lot more videos over the coming weeks and months because there’s a lot of knowledge I’ve got and there’s quite a few things I’m going to share completely for free. I also have a trading view account where I’ve been publishing scripts I’ve only published a couple of things.

And what I will be doing is publishing some modifications of some well-known or some really good indicators and I’m explaining how I use them. I’ll also be explaining how I actually identified some of these tops and bottoms because you know for the last few weeks (In December) I’ve been practicing on low time frames using my micro accounts because it was so volatile.

[00:11:52] You can see (one of) my setups here though it looks pretty messy. But you know in a in a subsequent video I will explain to you sort of some key components. We’ve got the Bollinger bands we’ve got something that has been made by Lazy Bear which is CCI coded on balance volume. Now this is very very useful tool because you know this can really help you predict the trend/momentum of something you can have you know stay in a position which is going up you know you’ll find the pullbacks and you know when it’s dumping you know it can help you avoid a falling knife. I used the Ichimoku you know this is this is actually a special Ichimoku which I made but with a huge amount of help from my friend squiggles. I’ll put a link to his channel played a video here as well. Let me just highlight some of the stuff here. I don’t think he’s published this yet (or may not at all) but this Ichimoku is actually something very special It’s called Ichimoku Thunder and lightning. I told him about this because there’s a book by a Japanese trader called Ichimoku Thunder and Lightning and this is basically where know instead of the three lines you have you have a you have the tumor here and you’ve got a sort of you know lightning thunder strike which is fast moving so maybe we could do a joint video another time. This is this is an alternate stoch RSI and this is an alternate macd. I’ve also got a modified version of Chris Moody’s macd which I will publish some point so when I got the time and this is an ADX script that I’ve modified again with the help of squiggles.

So this is really really useful because you go you know what I’ve got here is you can show the crosses where the lines that the plus and the minus lines cross each other. It also has this really useful feature which shows the background the constant color according to the trend. You could take most of your moves based on that alone and the line. I think a lot of people may not know how to use ADX properly I’ll make a separate video on that as well.

Now this one here this is this is really really interesting indicator. This is again this is made by Chris Moody. If you’re watching this Chris. Say hi I’ve sent you a message. He’s very difficult to get hold of. But this is basically the Wall Street volatility fear index. So you get all these bars light up and there’s this huge down volatility. And what I’ve done is I didn’t actually modify his script such but what I did was I found some alternate settings for it which I can explain at a later date because there’s the switch as well which you can flick on and make the candles glow molten and you can also show you the candles that you know where it’s going to cool down you see these green bars here you see a blue bar here in some circumstances these can be good entries depending on the situation. So yeah at a later date I will be going through these on different videos and also some different strategies on and also maybe some reviews and some explanations of the nuances and ins and outs of some of these exchanges. I want to provide to I want to provide to you information with quality and which will really help you. So yeah. So please subscribe to the channel and if you don’t have an account with Bitmex, Deribit, or Trading View already there’s a link below.

[00:16:13] I’m just gonna finish off with a summary of everything that we’ve gone through on this video. So when you’re in a long position the trailing stop must have a negative valuee.g. minus 50. If you’re on a short position the trading stop must have a positive value for a longer sweeping move and trading on candles or at least 60 minutes. I would use a higher stop size e.g. 50 60 or more that’s just from personal experience. You may want to play around with it and see what number you might come up with. But I’ve found from past experience that works. For scalping if you’re gonna be trading on short time frames you might want to use a smaller sizee.g. 25, 30 ish again none of these are scientific numbers. You know I would encourage you to play around with a little bit and maybe observe the charts on some pure candles and see what the price variation is for when something peaks and starts to turn the direction or bottoms out in a start to go the other direction. And trailing stop. Also acts as stock market. So if it doesn’t go in your favor it will still fire and finally use last price as this will enable you to catch and exploit the top or bottom of a wick if you set the stop based on Mark Price or index price that will lag All right guys so I’m going to give you a very special bonus if and if you decides to create another account or maybe you don’t have an account already for Big Macs. Using my link which is at the bottom of this video I will send you a special guide that explains my heikan Ashi setup and it’s got some information about how I use ADX which is the average directional index indicator. I can probably all send you the indicator as well. Actually the Williams Fix Fix Chris Moody made this brilliant indicator which is based on the fixed fix. Wall Street fear index and I play around with it and I come up with some alternative settings. So the guide that I have explains how I use that. I’ll probably go through some of this in a subsequent video anyway. But yeah I mean it’s a guide that I have actually sent coaching clients in a previous program. I’m developing a discord group at the moment is not public because I’m trying to put put together some of the old information I had in a structured and ordered way. You know there’s just a handful of people in it. People I know people that I’ve coached surely or you know ones who are there’s still a few people that I need to add into it.

Okay so one last thing before we go. So I do actually have a Web site depending when you’re watching this. You know the website may or may not be back online again. Or maybe you’re watching this months or years in the future. It’s already back online and built into a beautiful machine. So I’ve only just recently renewed the domain so theservice was offline for a little while and I haven’t really updated it much and they haven’t really built much around it but I do plan in long term to sort of put a lot of decent content on there and you know have a lot of different articles you know links to some of the indicators that I’ve edited and adapted on trading view and a general sort of training you free advice you know previous page section at one point. And so I guess this is my logo for the moment. You may recognize what they is you know basically that is an orca also known as the killer whale. I picked up because obviously you know there’s a lot talk of whales in the crypto world and I thought well you know what do we have a whale which is which is a killer whale because actually it’s a dolphin but it actually kills whales and sharks you know. So and So. So in my mind it’s it’s very beautiful creature. It’s also a good guy you know even though it’s pretty mean and you know they can take out white sharks and you know all kinds of other things. They’re known as Apex predators. You know nobody can beat them in the sea basically. But don’t forget to subscribe and share it et cetera et cetera and there will be a lot more content coming out in the near future Okay so one last thing before I go.

[00:21:14] I need to give a very special thanks and a shout out to my friend Squiggles. He has his own channel and platform on trading view and he’s one of the most knowledgeable people that I know in pinescript and he’s helped me out so much there’s gonna be a few videos in the future where I demonstrate some of the stuff that he’s helped me build and he’s also got some absolutely fantastic indicators that he’s created himself so I’ve put a link to his channel and his trading view profile below, in case you want have a look at what he’s done and want to get in touch with them. As I said in the future there’s going to be things that I’m gonna be demonstrating that he’s helped me build you know such as this very special Ichimoku which I spent quite a few weeks on. And you know without his knowledge you know this is when I was still learning point scripts I would not have been able to put it together and you know there’s a new in an ADX and the I scripts special Macd and a few other things as well. So I will catch you soon then. youtube channel:

Signup for Bitmex:

This article was originally published on

Squiggle’s channel for expert Pinescript tutorials

Signup for Deribit:

Get a Trading View account:

My trading view profile:

Disclaimer: this video does not in any way constitute financial advice, it is an opinion or for entertainment purposes. Leveraged trading is risky and you may sustain heavy losses. Always do your due diligence.



Crypto investor, Bitcoin, Altcoin & Blockchain enthusiast filmmaker, digital marketing, futurist