Compressed candle, an Andrea Unger strategy

Forums ProRealTime English forum ProOrder support Compressed candle, an Andrea Unger strategy

Viewing 4 posts - 1 through 4 (of 4 total)
  • #47120

    After having “borrowed” a lot of strategies from this forum, I though it only appropriate that I try to participate/contribute with something of my own. This is my first strategy that I am sharing, so pleas go easy on me.

    I got the idea from

    https://blog.ungeracademy.com/?s=the+sooner+you+start

    My understanding of the idea is that you take a position when the market is in a “compressed” mode.

    Unfortunately there is no way to exit on the close in PRT, if my understanding is correct. So pleas take a look at the code and give me some feedback on how to get better exits, or even how to improve on the code in general.

    Thank you in advance

    4 users thanked author for this post.
    #47286

    Thanks Yngve, I moved you post to the forums. I did not look at your code but you are right about the description you made of the strategy. So all the variables are optimized over the whole data? and there are a lot of them.. from candlesticks sizes to moving average period to filter the trend. Unger propose the strategy as a part of a portfolio, so I assume this is how it should be traded?

    About exit on Close, it should be possible by using an intraday timeframe and make your calculations with the Daily OHLC.

    #47411

    Hi Nicolas

    Thanks for the reply!

    Yes, this is a portfolio strategy originally. So, I assume it would be most suited for a portfolio of securities, rather than an index.

    I guess to many indicators increases the risk of curve fitting, and that I should try and reduce the amount of indicators?

    I am not sure I follow you with regards to exiting on the close. Can you direct me to a link on the PRT where I can find the code for this?

    Regards

    Yngve

    #47458

    Exit on Close should be possible by using the 5 minutes timeframe for instance: Close all orders @ 235500 (or whatever time adjusted to the instrument).

    To calculate the Daily timeframe candlestick size (which is the major part of the trading strategy), you could use the Dopen / Dhigh / Dlow and Dclose keywords (instead of Open High, Low and Close).

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

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