fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. dummy2dummy
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    dummy2dummy

    @dummy2dummy

    0
    Reputation
    109
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dummy2dummy Unfollow Follow

    Latest posts made by dummy2dummy

    • RE: "complex" formula

      Hi and thanks for the responses. My problem isn't really solved however, perhaps because i may not have been clear about what exactly i want my EA to do.

      So if i have an open position, i want it to look at the stochastic oscillator: when it reaches a certain threshold, look for the highest close in the last 10 candles. Then if for instance candle 4 had the highest closing value, i then want to subtract the average true range (ATR) of candle 4. If it was candle 6 i would subtract the ATR of candle 6 and so on.

      So i can't seem to find the correct block to achieve this goal. If there is no block that can do this, i'd have to think of something else as i am no programmer and have no programming experience whatsoever... 😞

      Again, thanks for the help and looking forward to any responses.

      posted in Questions & Answers
      D
      dummy2dummy
    • RE: "complex" formula

      Hello,

      i'm trying to create an EA with the trigger to close a position being based on the following rules: when the stochastic oscillator crosses above 20, then take the highest close of the previous 10 candles and subtract 3*average true range OF THAT CANDLE and use the resulting value as the trigger. So in formula form:

      S>20 --> C= H-(3*ATR)

      Where:
      S = Stochastic oscillator
      C = trigger to close the position
      H = highest close of previous 10 candles
      A = Average True Range of candle H

      How would i put something like this in fxdreema?

      Thanks a lot in advance.

      posted in Questions & Answers
      D
      dummy2dummy