fxDreema

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

    Posts made by Darekl

    • News Indicator

      I'm using the FXSSI News Feed indicator. It draws vertical lines on the screen. I'm trying to have FXDreema detect the vertical line and if the candle and the vertical line are on the same CANDLE ID (0), to not take any trades during that time by disabling the main trading block.

      This is what I got so far but it's not working.

      https://fxdreema.com/shared/PgrTVjZMc

      posted in Questions & Answers
      D
      Darekl
    • RE: Check for consecutive losses for a pair within last 15 seconds

      @TipsyWisdom the issue with this is that I'm okay if the losses occur naturally over time, even if they are consecutive. What I'm really trying to figure out is how to identify consecutive opens and closes within a short time frame. I've had this happen a few times when I missed something in my logic/blocks with how the trades open based on specific signals, and then immediately close because they're triggered by my blocks triggering closing of trades. This is why I want to build in safeguards to terminate the EA in such circumstances.

      Any thoughts on how to add the time component to your solution?

      posted in Questions & Answers
      D
      Darekl
    • Check for consecutive losses for a pair within last 15 seconds

      I would like to add a safety net to my EA by building in logic that checks for consecutive opening/closing of trades within a specified times. This is to ensure that once the EA is on a live account, if issues arise that weren't apparent during testing, I can put a block to either delay the trading by x amount of time or terminate the EA.

      I know how to do the latter, delaying additional trades and terminating the EA, what I can't figure out is how to check for consecutive opening and closing of trades within a short span of time (2 mins).

      I tried using the Check age block, but that doesn't seem to be working right.

      https://fxdreema.com/shared/6viqlj7Zd

      Any and all help would be greatly appreciated.

      posted in Questions & Answers
      D
      Darekl
    • Calculate Pip Distance between a channel indicator and put that into a Variable

      All,

      I'm trying to wrap my head around this and don't know if this is something that can be done.

      I have a channel indicator that is drastically different in pip size for each currency pair. As such, a general setting does not work. I need to be able to calculate the size of the channel (in pips) for each currency pair chart and then put that value into a variable.

      Could someone tell me if this is possible please? And maybe show me how?

      Thank you.

      Darek

      posted in Questions & Answers
      D
      Darekl
    • RE: Wait X Bars before opening another trade

      Thanks for the help!

      posted in Questions & Answers
      D
      Darekl
    • Wait X Bars before opening another trade

      Hello,

      I'm working on a project that consists of an initial trade based on specific conditions and a Continuation trade in the same direction if the same conditions are met again. What I'm trying t figure out is how to set it so that after the initial trade, the system waits until 2 bars before it considers opening the continuation trade.

      Is there a function I'm overlooking where you can set for the system to wait for X bars after the initial trade is placed before the continuation trade is considered. I don't want this to be a time-based restriction because it would be complicated when working with different time frames. I would prefer for it to wait for at least to bars after the initial trade.

      Thanks for the help in advance.

      posted in Questions & Answers
      D
      Darekl
    • Yes, Another Trailing Stop and Break-Even Question

      Sorry all, I know that these keep coming up but I'm at my wits end with trying to make this work. I've researched different posts on this topic but nothing seems to work. So, I need your help.

      Here is what I am trying to achieve.

      I am testing a scalping strategy.

      Stop Loss: 4 pips
      Take Profit: 8 pips

      I need the stop loss to move to break-even when price moves to 1.5 pips in profit. From there, I need the trailing stop to kick in and continue to move at a distance of 1.5 pips. For some reason when I try this, various things keep happening that I can't explain, such as the stop loss moving back and forth while the price moves, etc.

      I'm including the example file here:
      https://fxdreema.com/shared/poS7XwNxc

      Thank you for your help.

      Darek
      0_1593455836004_98268e21-55cf-4a26-ab83-aa1b9ae66724-image.png

      posted in Questions & Answers
      D
      Darekl
    • RE: Scale Out with Partial Close and Trailing Stop

      Maybe this will help to describe it more visually. Thanks.

      0_1591417122458_73975549-6681-4f6c-b375-1a2125a0eb0a-image.png

      posted in Questions & Answers
      D
      Darekl
    • RE: Scale Out with Partial Close and Trailing Stop

      Thanks for the reply. I have tried this method already where I used 50 pips for the first partial close (where you show 30) and 100 pips for the second partial close (where you show 60). What ended up happening is that the first partial close would continue to repeat every time the price moved above 30 pips from open price, and if it fell below it again, it would initiate the 30 pip partial close again. That's the issue. This leads me to believe that this first partial trade continues to get reset every time it fires and when the 30 pip mark gets hit, it initiates it again looking at it as a brand new trade. That's what I am trying to stop so that it only runs once and not repeatedly.

      posted in Questions & Answers
      D
      Darekl
    • Scale Out with Partial Close and Trailing Stop

      Hello,

      I'm fairly new to FXDreema but am absolutely impressed with it's capabilities and the potential. I'm trying to figure out how to properly scale out my trades.

      Here is what I am trying to do:

      For each POSITION (BUY or SELL)
      Step 1: After opening a trade, wait until price is 50 pips away from PARENT Trade Open, then partially close 25% of the trade volume ONCE.

      Step 2: After first partial trade is closed, wait until price is 50 pips away from PARTIAL Trade CLOSE, then partially close another 25% of that trade volume ONCE.

      Step 3: After Step 2 partial close, initiate trailing stop. The way I currently have trailing stop set is to set it at 50 pips, with 100 pip step. This way, it doesn't initiate until the culmination of the first two steps is triggered past the 100 pip mark.

      ISSUES:
      The issues I am facing is that even though I used the FOR EACH TRADE and ONCE PER TRADE/ORDER blocks as recommended in this situation, once the STEP 1 first 50 pips are reached and partial close is activated, if afterwards the price falls below 50 pips from Parent open, it runs step 1 again, and does another partial close. I need it to literally only run ONCE per position. For instance, if a SELL position is opened, only run STEP 1, STEP 2, and STEP 3 once. If the indicator changes to create a BUY Position, I also want STEPS 1-3 to run ONCE. I'm good on the trailing stop, it's the first two steps that are giving me trouble and I cannot figure out how to make it work only once, and not continue to repeat with the partial closes.

      I would appreciate the community's feedback as you guys are way more knowledgeable about the innerworkings of FXDreema than my current capabilities. Thank you in advance.

      LINK TO PROJECT: https://fxdreema.com/shared/C0vLpXeab

      posted in Questions & Answers
      D
      Darekl
    • 1
    • 2
    • 2 / 2