fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. PipTheRipper
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 55
    • Posts 145
    • Best 6
    • Controversial 1
    • Groups 0

    PipTheRipper

    @PipTheRipper

    5
    Reputation
    787
    Profile views
    145
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    PipTheRipper Unfollow Follow

    Best posts made by PipTheRipper

    • RE: exit trade on next candle close

      I figured out a way, I share it here in case anyone in the future needs something similar: https://fxdreema.com/shared/qgX8pwIbe

      I created a variable called "bar counter"
      on init i set the bar counter to 5 (just needs to be a number higher than 2 in this case)
      once per candle i add 1 to bar counter
      once per position i set bar counter to 1
      when bar counter is 2 -> close trade

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: horizontal line - store price in a variable

      I got it now. Here are the settings in case anyone else needs it. Thanks!0_1634486565401_line working.png

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: "pips away from open price" alternative

      @fxdreema Your tip solved the issue. Thank you for your help!

      In case anyone else has the same question, here is a link to solution: https://fxdreema.com/shared/DzTm72CYc

      posted in Questions & Answers
      P
      PipTheRipper
    • Close position in $ pfoit including trading fees

      Hi guys,
      I am trying to make an EA close all positions when a certain money amount is reached. I want to include trading fees (swap and commissions) in the calculation. I cant get my head around why the EA does not close positions when the variable called "As_Money_Sum" (profit+fees) is above the money amount. Can anyone see what I am doing wrong?

      https://fxdreema.com/shared/rXEuVLJhe

      posted in Questions & Answers
      P
      PipTheRipper
    • "pips away from open price" alternative

      Hi guys, do any one you know an alternative block to the "pips away from open price" block. I find that sometimes this block misses to take action when price is actually at the distance wher it is supposed to do something.

      I would like to make it so that;

      when price is currently at x pips or more from the entry price of last opened order -> do something.

      I tried with the "check distance" block and use the inloop function, but it does not do as intended.

      https://fxdreema.com/shared/k61ZrUHrc

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: Max and miniumum stop loss / take profit

      i found a way to do it, if anyone else looks for the same type of max/min stop loss values, you can and example of how the max stop loss works. https://fxdreema.com/shared/2iS0KTZwc

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: close open orders at specific time

      Hmm, cant really get it to work. I tried to set the settings of the "close trades" block, to 240 minutes, so the ea should close the position after 4 hours, but it does not work wither.. 0_1618752789975_Screen Shot 2021-04-18 at 15.31.26.png

      posted in Questions & Answers
      P
      PipTheRipper

    Latest posts made by PipTheRipper

    • RE: Array out of range

      @l-andorrà I can't find any support page on the website. Any idea how to contact support?

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: Array out of range

      @l-andorrà I cant't share the project.. Was hoping the admin would have an idea how to solve it..

      posted in Questions & Answers
      P
      PipTheRipper
    • Array out of range

      Hi, I am trying to upload an MT4 EA made with fxdreema to the mql5 marketplace. During the validation process I get an error: array out of range. It seems to have to do with the "once per bar block". The metaeditor compiler does not give any errors.

      I have attached two screenshots. On the first screenshot you can see the error message from the automatic validation tool on mql5 market and the second screenshot highlights the line in the code that causes the error.

      Does anyone know how to solve this issue?!

      0_1644919508814_mql5 error.png

      0_1644919520658_line with error.png

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: trade comment and comments on chart (two questions)

      @jjtrader I actually never pursued this any further. Guess I got side tracked with other things:) Will have a look at your solution. looks promising:) Thanks for sharing!

      posted in Questions & Answers
      P
      PipTheRipper
    • Basket TP based on money profit

      Hi, I know this has been discussed before, but so far no one seems to have found a solution. I am trying to place a TP for a basket of orders with different entry prices and different lot sizes. The TP should be placed at the price level where the accumulated profit of all the orders will reach x money profit.

      I am aware of the solution with using "check profit unrealized" block and then close all positions when x money profit is reached. But I am trying to find a way to place a TP order at that price level.

      Does anyone have a solution or an idea how to do this?

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: strategy tester slows down over time

      @xyon126 Thank your for your reply! I kind of understand the logic in that, but I find it strange that this does not effect all EA's in the same way. Some EA's that take 1 second to test on one day of data also take roughly 300 seconds to test on 300 days of data, while other EA's slows down the strategy tester significantly depending on the duration of the testing period. I am trying to figure out if there is a way to structure the the code blocks to optimize the EA for testing faster, other than the usual things such as only running blocks when needed.

      posted in Questions & Answers
      P
      PipTheRipper
    • strategy tester slows down over time

      Hi, has anyone else experienced that the mt5 strategy tester slows down over time. If I test 30 days on every tick it takes about 2-3 minutes to complete a test. If I use the same Ea with teh same settings and test 300 days it can take several hours to complete.

      I wonder why this happpens, and if there is a way to sove it?

      I am already structuring my EA's to run as fast as possible and only running code blocks when needed.

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: Close position in $ pfoit including trading fees

      You are welcome. Pay attention that this only calculates commissions and not swap fees..

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: Close position in $ pfoit including trading fees

      @piptheripper Noticed an error. I forgot to set the divider to 2 if half commission is payed when opening and second half is payed when closing.. Just change it from 1 to 2

      posted in Questions & Answers
      P
      PipTheRipper
    • RE: Close position in $ pfoit including trading fees

      @ontradingx Here is a solution that works: https://fxdreema.com/shared/3Ltd8y7jc

      Pay attention that some brokers charges half the commission when you enter a deal and the second half when you exit a deal. Most brokers charges half in and half out.

      There are inputs where the user has to manually insert the commission his/her broker charges and how they are charged

      Let me know if you have any questions.

      posted in Questions & Answers
      P
      PipTheRipper