code for EMA, MACD and Stochastic strategy

Forums ProRealTime English forum ProOrder support code for EMA, MACD and Stochastic strategy

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by avatarrae.

Tagged: , ,

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

    Hi, I would like to generate a code for the EMA [34,89,144] crossings, MACD and Sto.

    Conditions for long:

    1. EMA34 crosses over EMA89
    2. MACD > 0
    3. Sto > 30
    4. Buy at EMA34 or half of previous candle

     

    Exit when:

    1. EMA34 crosses under EMA144
    2. sell at current price = EMA34
    #82414

    Try this (tested only for syntax errors):

     

    1 user thanked author for this post.
    avatar rae
    #82417
    rae

    thank you!! i will give it a try!

     

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