BUY or SELLSHORT n CONTRACT AT MARKET

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #16688 quote
    rohandowling23
    Participant
    New

    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

    bidask.png bidask.png
    #16695 quote
    Nicolas
    Keymaster
    Master

    Since 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.

    #16702 quote
    rohandowling23
    Participant
    New

    Thanks 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

    #16704 quote
    Nicolas
    Keymaster
    Master

    1/ 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.

    #16705 quote
    rohandowling23
    Participant
    New

    Nicolas 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

    #16706 quote
    Nicolas
    Keymaster
    Master

    1/ 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].

    #16707 quote
    rohandowling23
    Participant
    New

    Hi 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

    #16713 quote
    Nicolas
    Keymaster
    Master

    You mean close your trades already on market .. later?

    #16715 quote
    rohandowling23
    Participant
    New

    To 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?

    #16718 quote
    Nicolas
    Keymaster
    Master

    Ohh I’m sorry, it’s clear now 🙂

    I got no solution I’m afraid but only wait for the MTF support ..

    #16721 quote
    rohandowling23
    Participant
    New

    thanks for trying.

    will probably configure indicators under the 1min chart to be the same as the 30mins chart and use the time exclusion

    #16724 quote
    Nicolas
    Keymaster
    Master

    If you want to get the 30 minutes timeframe indicators informations, don’t forget to adjust their periods under the 1 minute timeframe. A common idea is to multiply them by 30, .. in this case.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

BUY or SELLSHORT n CONTRACT AT MARKET


Platform Support: Charts, Data & Broker Setup

New Reply
Author
Summary

This topic contains 11 replies,
has 2 voices, and was last updated by Nicolas
9 years, 3 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 11/17/2016
Status: Active
Attachments: No files
Logo Logo
Loading...