going long on macd line cross over

Forums ProRealTime English forum ProOrder support going long on macd line cross over

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

    hi,

    how to code if i want to go long when there’s a bull candle just before macd line crosses over macd signal line?

     

    thank you

    #161442

    You can only know that a bar is the one before a crossover occurs AFTER the next one has crossed over.

    Which is late according to your conditions, so there’s no way to code them.

     

     

    #161453

    But by using a simple comparison between previous value to the current one, it is actually possible to test the crossing of these 2:

    no tested, but that’s the idea ^^

    #161466

    sorry i mean bull candle after macd cross over.

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