Spread

Post Reply
dboanca62
Posts: 19
Joined: Tue Nov 07, 2023 2:55 pm

Spread

Post by dboanca62 »

New here...just few days but already Q..
So, any idea why my SL (Close + ATR) for Sell doesn't add Spread, but SL (Close - ATR) for Buy does add spread.
Not using real spread, just fixed at 15 for gold
NakedMarkets
Posts: 251
Joined: Tue Feb 22, 2022 11:06 am

Re: Spread

Post by NakedMarkets »

Hello,

Could you explain us what are the SL you're talking about ?
Is it Rules where you set Close of the Bar and the current ATR value ?
Are these rules used in Entry Rules or used manually ? instant orders or pending orders ?

For information, buy orders are filled when reached the Ask value, not the Bid value. The Bid value is displayed on the chart and builds the bars we can see. The Ask value can be displayed by enabling it in the Chart Properties, just like under Metatrader or TradingView.

So, if you want take in account the spread, it's normal that's it's different between Sell and Buy orders.
The Stoploss of Sell orders are triggered when the Ask is reached (contrary to the entry of the Sell orders).
The Stoploss of Buy orders are triggered when the Bid is reached (contrary to the entry of the Buy orders).

We added a topic in the FAQ to explain it with more details.
dboanca62
Posts: 19
Joined: Tue Nov 07, 2023 2:55 pm

Re: Spread

Post by dboanca62 »

This are my SL rules:
Screenshot 2023-11-07 101003.png
Screenshot 2023-11-07 101003.png (70.08 KiB) Viewed 6128 times
Screenshot 2023-11-07 100426.png
Screenshot 2023-11-07 100426.png (67.26 KiB) Viewed 6128 times
Here for a buy, SL is correct , 60+15, as ATR + spread :
Screenshot 2023-11-07 102153.png
Screenshot 2023-11-07 102153.png (70.66 KiB) Viewed 6128 times
dboanca62
Posts: 19
Joined: Tue Nov 07, 2023 2:55 pm

Re: Spread

Post by dboanca62 »

Here for a sell , SL is just ATR...no spread added:
Screenshot 2023-11-07 102357.png
Screenshot 2023-11-07 102357.png (82.08 KiB) Viewed 6128 times
NakedMarkets
Posts: 251
Joined: Tue Feb 22, 2022 11:06 am

Re: Spread

Post by NakedMarkets »

Hello,

Thanks for the additional information.
In fact, there is no spread involved in your Rules to enter the markets here.
The rules are working as intented, for each of them, your SL is set to Close[0] - ATR Value for BUY orders and Close[0] + ATR Value for SELL orders.
We can check it on your first screenshot : Close[0] = 342.029, ATR Value = 0.603, the SL = 342.029 - 0.603 = 341.426, as we can see on your screen.
It's the same on your second screenshot : Close[0] = 342.070, ATR Value = 0.761, the SL = 342.070 + 0.761 = 342.831, as we can guess on your screen.

However, what you notice is that your Instant order is not entering the same manner for BUY positions and SELL Positions.
It's normal, as explained here , when you enter a BUY, the Ask value is used, when you enter a SELL, the Bid value is used. This is how real-time markets work. You can check this behavior by entering the market without rules, with simple instant orders.
As explained in the link, you can display the Ask line if you want.

But you can tell us what you wanted to do or how you expected to trade in order to help you ?
dboanca62
Posts: 19
Joined: Tue Nov 07, 2023 2:55 pm

Re: Spread

Post by dboanca62 »

Yes, all OK...stupid me I didn't do the math...my confusion was that for buy, SL was 75 away , matching ATR+15 ...for sell , SL was 76, just ATR...I just need to add ATR in my rules
Thank you !
dboanca62
Posts: 19
Joined: Tue Nov 07, 2023 2:55 pm

Re: Spread

Post by dboanca62 »

About Bid and Ask I read that possible will be added in rules...any updates if this will be done ? this way we can enter a order based on current price, not just open,close,high....etc
NakedMarkets
Posts: 251
Joined: Tue Feb 22, 2022 11:06 am

Re: Spread

Post by NakedMarkets »

Yes, it's on the roadmap here.
It will be done but it's just a bit harder to implement than expected because we have to execute the rules for every minute/tick in the data.
So we have to implement new options to let the user decide what he wants since the behavior can be different by being executed every minute or every bar (for exit rules for example).
Post Reply