EMA close to lows and Highs

Forums ProRealTime English forum ProBuilder support EMA close to lows and Highs

  • This topic has 6 replies, 3 voices, and was last updated 9 months ago by avatarJS.
Viewing 7 posts - 1 through 7 (of 7 total)
  • #217109

    Goodmnorning to everyone,

    I need a help about an indicator I’m trying to build.I’d like to code two EMAs that are the closest possibile to the lows and the highs of X candles before (that don’t overlap the price), and a middle line between this two. How can I do?

    thank’s in advance

    Alessio

    #217112
    JS

    Hi,

    Something like this…

     

    #217140

    A little tip… try using open and close instead of high and low. 😉

    #217162

    Hi JS, thank you for your answer. I’m looking for a different approach. I’d like to consider the argument of the EMA as something to calculate, for example, every 5 or 10 bars, not an input at the beginning. The goal is to stay closer possible to the lows (or highs, it depends on the case) of X bars, without crossing the price ( keeping the lowest distance between EMA and Price, the leastest possible). my idea is , on a high number of bars it’ll stay close to the swing lows (for example 500 bars), on short number of candles it’ll stay close to the lows. Hope to be clear

    Alessio

    #217164
    JS

    Hi,

    You could try something with the EMA plus the standard deviation…

    #217273
    JS

    I meant, of course:

    SCL=ExponentialAverage[10](Low) – Std[10](Low)

    (not +)

     

    #217275
    JS

    You can turn this into a “CounterTrend” trading system…

     

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