BUY or SELLSHORT n CONTRACT AT MARKET
Forums › ProRealTime English forum › ProRealTime platform support › BUY or SELLSHORT n CONTRACT AT MARKET
- This topic has 11 replies, 2 voices, and was last updated 8 years ago by Nicolas.
-
-
11/17/2016 at 1:54 AM #16688
Hi All
Still very new to the prorealtime world. Using ProOrder AutoTrading to trade 30min AUDUSD. My criteria was satisfied so a new trade was bought and sold at market. Unfortunately at the same time some important economic news came out and made the bid ask spread go from the normal 1bps to 40bps and I have stops losses attached on these trades and they were triggered instantly and cash went out the door.
How can I avoid this? Is there a way to wait 30secs/1min for the “noise” to settle down? Are there any coding tips/secrets that can help?
Thanks
Rohan
11/17/2016 at 9:40 AM #16695Since the spread is not known by the programming language, it can’t be part of a conditional statement to initiate a trade.
If a trade is already on market, you have to face the price behaviour .. if it is not, you could test the recent ATR values to wait for the so called “noise” to settle down.
11/17/2016 at 10:40 AM #16702Thanks for the reply Nicolas.
3 questions
1 – is there any way to delay trading by 1 minute?
2 – can I trade 1 min candle from 30 min candle conditions?
3 – can I turn my trading system off during these times?
Thanks
Rohan
11/17/2016 at 11:26 AM #167041/ of course, just test your conditions 1 bar offset in the past
2/ multitimeframe support is still not available, but be part of a future update, expected in 2017 from what I heard..
3/ yes, but you need to set date and hours as variables in your code and then avoid your system to run in this pre-defined time areas with new boolean conditions.
11/17/2016 at 11:31 AM #16705Nicolas thanks for your response
1) I ‘m not sure how to do this? can you assist? and can you do this in auto trader?
2) I thought as much
3) I will investigate this I saw this in the manual
11/17/2016 at 12:06 PM #167061/ Well, I don’t know what is the code of your strategy, would be easier to help if you could share it here.
But, for example, if your condition refer to Close[1], testing your condition 1 bar later make you moving this test by referring at Close[2].
11/17/2016 at 12:13 PM #16707Hi Nicloas
Thanks for responding so quickly.
It the buy or selling which is the delay not the condition of my code I’m after
Thanks
Rohan
11/17/2016 at 1:04 PM #1671311/17/2016 at 1:08 PM #16715To open trades.
I’m using a 30min chart to set my conditions which means I enter the market at 30min intervals, but big news typically comes out on the hour or on the half hour. When this news comes out I would like to trade at say 10.31 instead on 10.30, does this make sense?
11/17/2016 at 1:11 PM #1671811/17/2016 at 1:16 PM #16721thanks for trying.
will probably configure indicators under the 1min chart to be the same as the 30mins chart and use the time exclusion
11/17/2016 at 2:05 PM #16724 -
AuthorPosts
Find exclusive trading pro-tools on