Hi
I've been following the TruthfullTading tutorials on the tutorials thread as they were recommended to me, but I'm confused about differences in how he generates stops.
AIUI in his Moving average example he uses the following code to calc stoploss that uses the ASK price for a BUy and the Bid price for a Sell. I'm sure I've copied this correctly and I've attached a screen grab to show his versions too.
However, in the Bollingband example he seems to swap them around and uses the Bid price for a buy and the ask price for a sell.
Can anyone please explain why they are different and what the advantages/disadvantages of each is?
Thank you.
I don't have a source, it's simple logic.
Take the example of a BUY. It's open at ASK price and closed at BID price. You open at 1.2000 for example, the spread is 0.0002 and you want a TP of 10 pips (0.0010).
If you use the ASK price, your TP will be 1.2010 (ASK at open + 10 pips). Your profit will be 10 pips, but more your TP is far less you have chance to reached it. (the BID has to move 12 pips).
If you use the BID price, your TP will be 1.2008 (BID at open + 10 pips). Your profit will be 8 pips, but as it is closer to your open price, you have more chance to reach it. (the BID has to move 10 pips).
I don't have a source, it's simple logic.
Take the example of a BUY. It's open at ASK price and closed at BID price. You open at 1.2000 for example, the spread is 0.0002 and you want a TP of 10 pips (0.0010).
If you use the ASK price, your TP will be 1.2010 (ASK at open + 10 pips). Your profit will be 10 pips, but more your TP is far less you have chance to reached it. (the BID has to move 12 pips).
If you use the BID price, your TP will be 1.2008 (BID at open + 10 pips). Your profit will be 8 pips, but as it is closer to your open price, you have more chance to reach it. (the BID has to move 10 pips).
Thank you that's great. I've done a bit of manual trading, using things like trendline analysis in Tradingview, but never really thought about the difference between the bid and ask price.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I've been following the TruthfullTading tutorials on the tutorials thread as they were recommended to me, but I'm confused about differences in how he generates stops.
AIUI in his Moving average example he uses the following code to calc stoploss that uses the ASK price for a BUy and the Bid price for a Sell. I'm sure I've copied this correctly and I've attached a screen grab to show his versions too.
However, in the Bollingband example he seems to swap them around and uses the Bid price for a buy and the ask price for a sell.
Can anyone please explain why they are different and what the advantages/disadvantages of each is?
Thank you.