fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Siggi12345
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 31
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by Siggi12345

    • My EA is using the Data from the Day before

      Hi, I want my EA to fetch the high and the low before the market opening, and then he should place Pending Orders there. It is working fine with MT5.

      But the same build in MT4 isn't working, he is always placing the Pending Orders at the high and low from the day before.

      Do you have any Idea how to fix this? Thanks in Advance!

      https://fxdreema.com/shared/XhCBvJNY

      posted in Questions & Answers
      S
      Siggi12345
    • Use the MACD Histogram

      Hello,

      I want to use the MACD Histogram for my EA. But you can only choose between Main Line and Signal Line.

      I want to check if the pillars (histogram) are rising or falling.

      I now that I can do it by taking and comparing the EMA values, since the Histogram is calculated by EMAs, but this is very complex.

      Long story short, can I find the Histogram Value somewhere else?

      Thanks in advance
      Siggi

      posted in Questions & Answers
      S
      Siggi12345
    • RE: DAILY TARGET

      @kestra you can do this with check profit. if check profit is successful it can change a variable to turn of trading. You need a condition before your trading block to check if trading is allowed.

      posted in Questions & Answers
      S
      Siggi12345
    • RE: No collor in lines

      @ontrade

      I have an Idea, but it is really dirty. You could let your EA draw a Rectangle at place where the Fibo is, the Rectangle must be in the same color as the fibo. Now you cant see it anymore. This could work but you have to make every object unselectable.

      posted in Questions & Answers
      S
      Siggi12345
    • RE: No collor in lines

      @ontrade

      Don't let your EA draw lines?

      posted in Questions & Answers
      S
      Siggi12345
    • RE: closed trade in Journal/Log File

      @l-andorrĂ  i think i got i, i dont need "For each" in my situation, I can just check for win/loss at certain time and thats it đŸ™‚

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Need help with Breakeven and Trailing Stop at a certain Percentage of Profit

      is it possible to set SL at the Current Price?

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Close trades manually

      @rolexguy strange... Can you share your Project?

      posted in Questions & Answers
      S
      Siggi12345
    • RE: How do I change variable Title? @miro1360

      @savagetrades you have made this values public by checking the box behind it, right? Unfortunately you can't change the name of this value in fxdreema. But you can export the source code and change there.

      I don't like this this method, because everytime you change something in your expert, you have to do the source code manipulation again.

      The more clean way would be to define constants. With constants you can choose the desired name.
      Click on "constants" and type in every value you want to make public.

      Hint: The Type of the Variable is important.
      double = numbers
      string = Text (and date if the format is HH:MM)
      bool = logic (true/false)

      Don't change everything in one turn, do it step by step and check with every change if everything is working

      Good Luck!

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Average of 2 values

      @tenfold

      Use Formula: Value 1 + Value 2 and store Result in a Variable
      Use Formula again, take the result variable and divide it by 2 and store the Result in another Variable

      ( Value 1 + Value 2 ) /2 = Average

      Edit: you don't need the second Formula if you type /2 in "adjust the result" in the first formula

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Closing all opened positions on defined profit in 1 tick.

      @ali-pahlawan I am trying to understand your situation.

      You have a EA running and you want to control the Trades with a EA you create in fxdreema?

      Is that correct? Could you share your current project please.

      posted in Questions & Answers
      S
      Siggi12345
    • RE: closed trade in Journal/Log File

      @l-andorrĂ  thanks for the fast reply. You mean like this:

      https://fxdreema.com/shared/Cvvi9CACb

      this doesnt work either, it looks almost the same.

      Sometimes it writes nothing, sometimes like a maniac and sometimes as desired

      posted in Questions & Answers
      S
      Siggi12345
    • closed trade in Journal/Log File

      Hi,

      My EA does 1 Trade per Day.

      I want it to print Win or Loss into the Journal at the end of the Day.

      This is the way I have tried it:
      https://fxdreema.com/shared/rt4Xosftc

      But I dont receive the information in the journal for the most days, and sometimes it writes win and loss like a maniac...

      I have no idea how to solve that. Can you help me please?

      Thanks in advance!

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Wick Size / Single Candle Template

      @seb-0 I am so stupid. Thanks!

      No there is a Block called "Single Candle Template" you can define your desired candle shape with it.

      I forgot that i can compare the wick and the body in the condition block. Thanks thanks!

      posted in Questions & Answers
      S
      Siggi12345
    • Check Wick Size / Single Candle Template

      Hi,

      I want to filter out candles with the size of the wick with more 50% of the BODY Size. (e.g. Body 10 pips = max Whick 5 pips)

      Unfortunately the "Single Candle Template" compares the Wick with the entire Candle size.

      I know I can use variables to store the open and the close of the candle, calculate the size, do the same with the wick and then compare the values, but:

      Is there an easier way to compare the wick to the body?

      Thanks in Advance!

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Candle 1-5 if Price was higher then MA

      @roar alright. Thank you very much. You are right, the Candle idvar was missing at one condition!

      Such a small mistake but still such a big difference. Thanks for the finding and everything!

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Candle 1-5 if Price was higher then MA

      @roar yes, he is doing "weird" trades and he is also doing correct trades:

      0_1601193652645_conditions.PNG

      link: https://fxdreema.com/shared/LgfUz4Uod

      Thanks!

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Candle 1-5 if Price was higher then MA

      @roar thank for this detailed answer, i think i have to try out more to get a full understanding.

      I have tried your code again, but unfortunetly I was wrong, it does not work as expected and I dont know how to fix it.

      0_1601044522621_conditions.PNG

      Candle 1-5 have not touched the EMA9 on this GBPUSD M15 Chart @ 5. Feb 2017 but as candle 0 crosses the EMA it should trigger the sell. I dont know why. The loops says:
      -candle 1-5 high below EMA
      and the Condition before the Sell:
      -candle 0 Crosses Above...

      This is exactly what happend here, right? So I have no idea how to fix it. Can you help me again please.

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Candle 1-5 if Price was higher then MA

      @roar wow! this is more complicated that i thought. Thank you very much!

      It works and i think i understand the most part.

      The first condition checks if idvar is below 5, if true it checks if candle idvar (currently 1, because of idvar+1) is below the MA. If true the Variable "success" stays true. but since the candle idvar stayed below the MA the yellow dot was not activated.

      I have one questios:

      0_1601027731662_conditions.PNG

      Thank you very much!

      Edit: I have just found out that the bool variables have to be in lower case in MQL5

      posted in Questions & Answers
      S
      Siggi12345
    • RE: Check Candle 1-5 if Price was higher then MA

      @l-andorrĂ  alright, i will ask him.

      Hello Mrs/Mr/Person @roar it would be very grateful if you could inform us how we could solve this with a loop. I would appreciate your generosity!

      posted in Questions & Answers
      S
      Siggi12345
    • 1
    • 2
    • 1 / 2