Flat marked code

Viewing 3 posts - 1 through 3 (of 3 total)
  • #106624

    Hi is there a code to calculate when the marked is “flat”?

    Eks: When the marked is not really moving but still crossing MA and other indikators causing false bye/sell orders to open.

    What I’m looking for is something that can calculate the X amount of bars and showing when there is a signifiant move up or down.

    I just need the basic and i think i can do rest.

     

    Thanks again for all your help.

    #106659

    You can use several strategies to tell a market is ranging, some:

    • when Bollinger Bands are inside the Kelter Channel
    • when there are multiple MA crossings within the last N bars
    • when the number of pips between the highest high and lowest low of the last N bars does not exceed X pips
    • when Adx is below X

    You can also take a look at:

    https://www.prorealcode.com/prorealtime-indicators/tma-slope/

    https://www.prorealcode.com/prorealtime-indicators/choppiness-index/

    https://www.prorealcode.com/prorealtime-indicators/flat-trend/

    https://www.prorealcode.com/prorealtime-indicators/trinity-impulse/

     

    1 user thanked author for this post.
    #106686

    Link to above entered – as Log No 168 – here

    Snippet Link Library

     

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

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