if touched

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

    Is it possible to code “buy at market if indicator x is touched”?

    Thanks for the help

    #5166

    As for as I know, if is touched buy inmediatly is not possible at the moment, system will wait until current candle finish.

    I found other ways to get similar or better price sometimes when this occours, just let us know wich indicators should be touched to code your premise.

    Cheers.

    #5168

    Thanks for replying Adolfo.  The MA[5](high) of the previous bar.

    #5184

    Yes it’s possible. You have to test the OHLC values (at least 2 of them) of the previous period if it were above or below the indicator you’d like to test.

    #5196

    Thanks Nicolas.

    Something like this?

    a = MA[5](high)

    b = L<=a AND H>=a

    What do I do next please?

    #5201

    Almost good! Something like this :

     

    #5215

    Great …thank you.

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