fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. CaesarCrypto
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 30
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by CaesarCrypto

    • RE: How to code a condition where the value of the ATR has to be added to price

      @l-andorrĂ  thank you very much for all the help! It works perfectly!

      posted in Questions & Answers
      C
      CaesarCrypto
    • How to code a condition where the value of the ATR has to be added to price

      Hi all,

      I've been trying to figure this out for some days now but I don't get very far.

      I want to have a condition that looks like this:
      "If value of the ATR on candle 1 < distance between price on candle 1 and Moving Average on candle 1"

      Can anyone put me on the right track on how to do this in fxdreema?

      Thanks in advance!

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Useful "Buffers explorer" indicator find :)

      Hi everyone,

      I'm trying to add an .ex4 indicator to my system, so I can't see the code to determine the buffers. Then I found this thread and I downloaded this buffers explorer indi but it doesn't seem to work for me.
      It open an empty indicator window nothing more as you can see in the image below.

      These are my settings:

      0_1574374755734_9dcda6f2-22a1-45a4-85f0-b9c6dfcf4d98-image.png

      The indicator's filename is "Trend direction + force index - smoothed 4_3"

      Am I doing something wrong?

      Thanks!

      posted in Tutorials by Users
      C
      CaesarCrypto
    • RE: Problem with opening trade when current candle crosses below MA

      Hi everyone,

      I've also sent an email to the admin about this problem since I can't get it solved and it is vital to my EA.
      Is it normal that it takes several days before the admin answers, perhaps on vacation I don't know? I don't want to spam but it has been more than 5 days now since I sent an email.

      Cheers

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Problem with opening trade when current candle crosses below MA

      @roar Yes indeed and it also doesn't take the trade on 2017.02.10 when it should make a sell trade..

      And could the time filter be the problem as it seems odd to me that by using 2 different time filters the ea does take the trade, as I have shown in my previous posts?

      0_1573510360772_d01efa00-de74-466b-bb8a-21f21ccfb7cb-image.png

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Problem with opening trade when current candle crosses below MA

      @roar Thanks again for the effort. I notice the ea runs much smoothers with your logic!

      I have done what you supposed and used the logic you sent me and adjusted the indicators to standard ones:

      • didi has been changed to the MACD and I have tweaked the settings so the MACD gives a signal on the same candle as the didi did.
      • I removed the WAE because it wasn't in play for this issue
      • I switched the average to the standard Linear Weighted MA also with settings so candles cross at the same place as my EA

      Unfortunately this hasn't solved the issue. This is the ea with the standard indi's: https://fxdreema.com/shared/ua3G60bzb

      As you can see below it still doesn't make the trade while the MACD makes a cross on candle ID1 and price crosses MA on ID0:
      0_1573393401376_9243a366-fa82-4301-a60b-07f8062d0f6d-image.png

      I haven't got time to change the indicators in this one: https://fxdreema.com/shared/8Kndpuzib
      In that one it did work like I sent in my previous post.

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Problem with opening trade when current candle crosses below MA

      @roar Thanks for the tip!

      I went through my blocks and apparently it was my time filter that seemed to cause the problem. I have tried different things but the strange thing is that I only seem to get it to work when I use different kinds of time filter for different rows. For the normal cross the "once a day" works best (if I change that I see strange things happen) but when the cross happened on candle ID1 it only works when i use the "time filter" block.

      Isn't that strange? I just want all blocks to run once from the last 20 minutes of the candle so I would think I could use the same time block for everything?

      I'm just trying to understand the logic here.

      Thanks in advance

      https://fxdreema.com/shared/dm0Eg9NF

      posted in Questions & Answers
      C
      CaesarCrypto
    • Problem with opening trade when current candle crosses below MA

      Hi guys,

      I'm having a problem that doesn't seem to get resolved so I hope this new topic helps.
      Like my subject says I'm having problems with a trade opening upon a candle MA cross on the current candle.

      My aim is the following:

      I need my EA to open a trade when the current price is above/below an MA while another indicator also gives a signal. This works when both events happen on the same candle. But I also want my EA to open a trade when my indicator gave a signal on yesterday's candle but price only crossed above/below the MA today.

      To make it visible I have a picture below of how it should work. So the indicator cross happened on candle 1 but price was still above MA so no trade. On candle 0 price drops below MA and on the indicator the green line is still below the red line so a trade has to open. (When this would happen 2 candles later no trade should be opened so only if MA cross happen max 1 candle after indicator cross)

      0_1573251208479_8eabafd1-862b-4222-a35e-47f5008fa02b-image.png

      I tried a lot of thing combining ID1 and ID0 but nothing works. Below I have a share of what I already have tried for this:
      https://fxdreema.com/shared/q7TU2IDwb

      FYI: My EA is programmed so that it checks only every day at 23:40 PM and this is essential for my system.

      I hope someone can help me with this because to me it seems a pretty straight forward condition but I can't seem to get it to work.

      Thanks already!

      Cheers

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      I changed the position of the once per day candle but it gave the exact same results as before.
      Only now the backtest took 10 times longer to complete

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @CPxiom I think that will give another problem because during a whole day candle price can drop below the MA and back above it towards the end of the candle. I want the EA to do the check only at 23:40 GMT and not before that time and only want a trade when the current price is below the MA at 23:40 GMT while the candle close of the previous day was above the same MA.

      I think thats a pretty logical requirement and it thaught it would be a very simple condition but the opposite seems to be true đŸ™‚

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @CPxiom Even when I remove block 29 completely out of the system the same issue persists..

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @CPxiom I thaught that should be a problem because that one is of buy trades and this example is about sell trades. But I can try

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @CPxiom I tried that but that doesn't solve the problem as you can see below still no trade. Btw for me it is candle ID1 and ID0 because I work in the close on the candle.

      0_1573211176065_fe9c5731-f145-4938-990f-171d68877ae3-image.png

      This is the shared file:
      https://fxdreema.com/shared/4ymVZJxoe

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @caesarcrypto said in Custom trade entry for limited amount of candles:

      @roar I tried what you said but I think i'm still doing something wrong because it isn't working in the backtest.

      0_1573078465463_d0c55afe-1ece-4f71-97d5-559a3b2cf315-image.png

      So I need a cross on my indicator at the bottom (didi) + red volume line above the orange line in the 2nd to last indi (wae) + price to have closed below the MA for a sell order. On Candle 1 the cross on the bottom indi (didi( has happened + volume (wae) is ok but price has not yet closed below the MA. So no trade is correct.

      But on current candle 0 the price has crossed below the MA and still bottom indi (didi) green line is below red and volume is ok. So on candle 0 a sell trade should open but this is not working. So I used the candle ID1 for the didi indicator cross and candle ID 0 for the other indicators as you can see in my shared project below.

      Can you see what I am doing wrong?

      Thanks already for all the help!

      This is a share of my project:

      https://fxdreema.com/shared/UD2eAPmue

      I repost this hoping someone can help me with this.

      Thanks!

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      I have a specific indicator that counts down the time based on the NY close time and that way i checked that the ea runs exactly at 20 minutes before candle close.

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @CPxiom yes I know that can happen, thats why my ea only runs and does the check on the last minutes of the daily candle. So the chances of a retrace are minimal.

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @roar I tried what you said but I think i'm still doing something wrong because it isn't working in the backtest.

      0_1573078465463_d0c55afe-1ece-4f71-97d5-559a3b2cf315-image.png

      So I need a cross on my indicator at the bottom (didi) + red volume line above the orange line in the 2nd to last indi (wae) + price to have closed below the MA for a sell order. On Candle 1 the cross on the bottom indi (didi( has happened + volume (wae) is ok but price has not yet closed below the MA. So no trade is correct.

      But on current candle 0 the price has crossed below the MA and still bottom indi (didi) green line is below red and volume is ok. So on candle 0 a sell trade should open but this is not working. So I used the candle ID1 for the didi indicator cross and candle ID 0 for the other indicators as you can see in my shared project below.

      Can you see what I am doing wrong?

      Thanks already for all the help!

      This is a share of my project:

      https://fxdreema.com/shared/UD2eAPmue

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: EA not closing out trades on MA crossover

      @l-andorrĂ  If you still want to check, this is the link: https://fxdreema.com/shared/UD2eAPmue
      Perhaps you see other mistakes or inefficiencies that I made đŸ™‚

      posted in Questions & Answers
      C
      CaesarCrypto
    • RE: Custom trade entry for limited amount of candles

      @roar thank you for the reply.

      But I thought that the current candle is ID0, candle ID1 was the previous candle and candle ID2 the candle before that?
      I think I read it somewhere on this forum or is this not correct?

      posted in Questions & Answers
      C
      CaesarCrypto
    • Custom trade entry for limited amount of candles

      Dear all,

      For my system I'm looking to implement a rule based on 2 indicators. So my 2 indicators need to give a signal before i take a trade. When the 1st indicator gives a signal and the 2nd not I only wait 1 candle for the 2nd indi to catch up. So when the 2nd indi also gives a signal on the next candle I take the trade, but not if it takes more than 1 candle to catch up.

      Is there a block that I can use to accomplish this? To make it more clear, it should work like below:

      Situation 1

      Candle 1:

      • 1st indicator gives signal
      • 2nd indicator gives signal

      open trade

      Situation 2

      Candle 1:

      • 1st indicator gives signal
      • 2nd indicator no signal

      no trade

      Candle 2:

      • 1st indicator gives signal
      • 2nd indicator gives signal

      open trade

      Situation 3

      Candle 1:

      • 1st indicator gives signal
      • 2nd indicator no signal
        => no trade

      Candle 2:

      • 1st indicator gives signal
      • 2nd indicator no signal
        => no trade

      Candle 3:

      • 1st indicator gives signal
      • 2nd indicator gives signal
        => no trade

      Thanks already for all the help you gave me!

      Cheers

      posted in Questions & Answers
      C
      CaesarCrypto
    • 1
    • 2
    • 1 / 2