automated trading – help with macd cross over 0 value

Forums ProRealTime English forum ProOrder support automated trading – help with macd cross over 0 value

  • This topic has 8 replies, 4 voices, and was last updated 6 years ago by avatarEric.
Viewing 9 posts - 1 through 9 (of 9 total)
  • #51883

    hope someone can help me. It is possible that when you work with automated trade, you can program the following. example when macd cross over value 0, buy but first 10 pips up. or more exactly put an order 10 pips up when macd cross over 0 value. thanks in advance

    #51927

    Here you go.

    1 user thanked author for this post.
    #51956

    Hi, im still trying to learn and was wondering what the buytrigger does?
    Not sure what this means: Close+10*pipsize

    also what does this do:

    buy 1 contract at buy trigger stop // Did u mean buy 1 contract at buytrigger? What does the “stop” on the end do?

    #51958

    There should of course be written “buytrigger” in one word. It was separated by the autocorrect function of my computer and I did not read through what I wrote before posting, sorry for that.

    Your other question I’m not sure about. The code does exactly what Amer asked for. When the MACD crosses over zero it put a buy order 10 pips above the close and keeps this level as buytrigger until the MACD crosses under zero again. I think all is correct besides the “buytrigger” which had a space in the middle. 🙂

    #52001

    This is it i think. I will test it and come back with results. Thank you very much.

    Regards Amer

    #52115
    #52127

    This is exactly what the code does. It set a buy stop 10 pips about the value of the close when the MACD crossed zero.

    #52233

    thanks again. will test it soon.

    #52262

    if it dont work try change the name “buytrigger”

     

     

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

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