Lower tf suggestions of consilidation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #141533 quote
    Machinelearning122
    Participant
    New

    Hi, I am a new member of this forum. And hopefully I can get some help from you guys.

    I have several lower tf bot mostly 3-5min. I need some suggestions for them to not take any trends in big consilidation, like this one today as it has consilidate for ~3 days.

    I want the bots to not take trades at all or keep the position until we have a break out.

    What do you think is best for this? Bollinger bands? Or ichimoku with chikou (lagging span).

    What is your suggestions? Do you have any finished codes I can put in and optimize?

    Thank you!

    #145415 quote
    robertogozzi
    Moderator
    Master

    The simplest way is to assume there’s a range going on when the difference from the highest to the lowest prices, in the last N bars, does not exceeds X pips:

    N       = 50
    X       = 30 * pipsize
    MyHI    = highest[N](high)
    MyLO    = lowest[N](low)
    IsRange = (MyHI - MyLO) <= X

    other ways:

    • two MA’s cross multiple times within the last N bars
    • Adx
    • Bollinger Bans (or just one of them) sit inside the Keltner Channel

    you can surely find more.

    paisantrader thanked this post
    #145417 quote
    GraHal
    Participant
    Master

    Above code added as Log 241 to here

    Snippet Link Library

    robertogozzi, paisantrader and Monochrome thanked this post
    #145438 quote
    Vonasi
    Moderator
    Master

    Also consider using the average MAE and MFE (distance between open and high and distance between open and low) in the last x candles. If it is below a longer term average of it or falling consistently then the market is consolidating/going sideways/less volatile.

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

Lower tf suggestions of consilidation


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

This topic contains 3 replies,
has 4 voices, and was last updated by Vonasi
5 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/13/2020
Status: Active
Attachments: No files
Logo Logo
Loading...