Feedback loop of prevailing market conditions

Forums ProRealTime English forum ProOrder support Feedback loop of prevailing market conditions

Viewing 7 posts - 1 through 7 (of 7 total)
  • #192009

    Hi,

    Within a strategy I wish to capture the prevailing market conditions at the time that a trade is open, such as volatility, volume and so on, with a view to feeding this back into the algo to identify the current prevailing market cylcle or change thereof.  From this an algo could recognise what cycle the market is entering into (eg strong bull, range bound) and use a different set of stored parameters for the next trade.

    For example, an algo goes long and after the position is opened the volatility begins to increase and the volume reduces.  The next trade the aglo should take would use a more cautious set of parameters (a tighter stop loss, a smaller target profit, a shorter linear regression lookback period etc.)

    Is this type of monitoring and feedback possible?   The code I am currently using monitors Standard Deviation up to the point a position is opened.  If volatility spikes during an open position then the same STD calculation used for the next trade should be on a shorter lookback period.

    Thanks very much

    #192024

    What speaks against it, simply starting several algos with different settings such as: large/small SL, large/small TP, faster/slower trailing stop, etc., in parallel and thus dividing the risk?

    #192028

    Hi phoentzs

    Thanks for your suggestion.   To do as you suggest I believe that I would need to run 3x the risk.  Might work but am ideally looking for a loopback.

    Alternatively I could manually run a re-optimise on a regular basis, but you need to stop and re-start.

    Thanks

     

    #192029

    need to stop and re-start.

    I do this and record  – in the ‘Notes for the System’ – a brief summary of performance up to when I stopped to reoptimise (over a weekend usually).

    1 user thanked author for this post.
    #192034

    @samsampop

    why triple risk? Spread the position size across all systems. So it’s basically the same risk as having the full position size in just one system. That’s why I like to use SP500, small margin, small spread.

    1 user thanked author for this post.
    #192065
    JS

    Hi @samsampop

    You can normalize the standard deviation (NormSTDPerc = Std[20](Close) / Close * 100) and when the normalized standard deviation falls between certain boundaries, link these boundaries to, for example, the LookBackPeriod…

     

    #192086

    Hi JS

    Thank you, it gives me an idea of solving this a different way.  Much appreciated.

Viewing 7 posts - 1 through 7 (of 7 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login