Hiding limit orders
Forums › ProRealTime English forum › ProOrder support › Hiding limit orders
- This topic has 16 replies, 5 voices, and was last updated 2 years ago by JS.
-
-
01/03/2022 at 6:52 PM #184434
Hi there,
It’s all in the topic title; is there a way?
I had thought to use the 1second timeframe but unfortunately, you need too much data – which is not supported by PRT – in order to achieve this so I’m a bit stuck..
Can someone help me out? The idea is to avoid short/long hunters of course..
Cheers,
01/04/2022 at 8:24 AM #18447001/07/2022 at 1:34 PM #18483101/08/2022 at 3:46 AM #184862It’s all in the topic title; is there a way?
It was a question for automated trading..
Hi Albaran – possibly you think too difficult …
Personally I can’t even imagine a limit order with Autotrading because it would be a kind of redundant operation; the program code would wait for a price to occur (from the one bar to the next and so on), and when it’s there it enters. This could obviously be done with a Limit order as well, but for me this would feel “out of control”.
In the end you wouldn’t be waiting for a price to occur, but for a situation to happen. For example if a short average crosses a long average and a trend you like to see is occurring. Then enter. There are no Limit Orders anywhere and no-one would be able to see what you are heading for.
Is this the answer you were looking for ?
01/08/2022 at 10:50 AM #184865Hi @Albaran
Example for automated trading:
Limit order hiding123456789101112131415DefParam CumulateOrders = FalseA1 = Average[25](Close)A2 = Average[50](Close)Cond1 = A1 Crosses Over A2Cond2 = A1 Crosses Under A2If Cond1 thenBuy 1 Contract at Close - 2 LimitEndIfIf Cond2 thenSell 1 Contract at Close + 2 LimitEndIfThe order will be in the order book at the moment one of the conditions is triggered, till then the (limit) order is “hidden”.
For Buy orders set the Limit below the Close (actual price)
For Sell order set the Limit above the CloseIf you want to buy (sell) above (below) the actual price use Stop orders.
01/08/2022 at 11:04 AM #18486601/08/2022 at 11:14 AM #18486701/08/2022 at 11:21 AM #18486801/08/2022 at 11:23 AM #184869The order will be in the order book at the moment one of the conditions is triggered, till then the (limit) order is “hidden”.
Actually it is a nice subject. Anyway, this is exactly what Albaran does not want. My suggestion (implied by my previous post) – copied from your example, would be like this :
123456789101112131415DefParam CumulateOrders = FalseA1 = Average[25](Close)A2 = Average[50](Close)Cond1 = A1 Crosses Over A2Cond2 = A1 Crosses Under A2If Cond1 thenBuy 1 Contract at Close - 2EndIfIf Cond2 thenSellShort 1 Contract at Close + 2EndIfThus
MTF (multi timeframe) and market orders?
Something like that. However :
I had thought to use the 1second timeframe but unfortunately, you need too much data – which is not supported by PRT
then we’d have that issue, which seems the main issue for Albaran.
@Albaran, the Premium version of PRT supports 1M bars, which would be 1 month for 1 second bars.Summarised, when a Limit order is put on an e.g. 1 minute time frame, it can be hunted for 1 minute. 😉
Now how to solve this ? …01/08/2022 at 11:24 AM #18487001/08/2022 at 11:39 AM #184872Do we really think any big traders would waste time directly hunting our little Orders?
Even if we manage to hide an Order (but still there) then when the big boys gobble up the big visible Orders then our (invisible) Order would get gobbled up at same time anyway!? 🙂
1 user thanked author for this post.
01/08/2022 at 11:47 AM #18487401/08/2022 at 11:48 AM #18487512345678910111213141516171819202122232425262728293031323334353637// Pseudo CodeDefParam CumulateOrders = True // !If Not OnMarket thenA1 = Average[25](Close)A2 = Average[50](Close)Cond1 = A1 Crosses Over A2Cond2 = A1 Crosses Under A2If Cond1 thenBuy 1 Contract at Close - 2 At MarketEndIfIf Cond2 thenSellShort 1 Contract at Close + 2 At MarketEndIfelse// OnMarket.If abs(CountOfPosition) = 1 thenIf LongOnMarket thenBuy 100000 Contract At MarketelseSellShort 100000 Contract At Marketendif// Still too few for GraHal's likings ? then add more !! That'll teach them.endifendif1 user thanked author for this post.
01/08/2022 at 11:50 AM #18487601/08/2022 at 11:56 AM #184877 -
AuthorPosts
Find exclusive trading pro-tools on