@l-andorrà I can't find any support page on the website. Any idea how to contact support?
Posts made by PipTheRipper
-
RE: Array out of rangeposted in Questions & Answers
-
RE: Array out of rangeposted in Questions & Answers
@l-andorrà I cant't share the project.. Was hoping the admin would have an idea how to solve it..
-
Array out of rangeposted in Questions & Answers
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?!


-
RE: trade comment and comments on chart (two questions)posted in Questions & Answers
@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!
-
Basket TP based on money profitposted in Questions & Answers
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?
-
RE: strategy tester slows down over timeposted in Questions & Answers
@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.
-
strategy tester slows down over timeposted in Questions & Answers
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.
-
RE: Close position in $ pfoit including trading feesposted in Questions & Answers
You are welcome. Pay attention that this only calculates commissions and not swap fees..
-
RE: Close position in $ pfoit including trading feesposted in Questions & Answers
@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
-
RE: Close position in $ pfoit including trading feesposted in Questions & Answers
@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.
-
RE: Disable algo trading globallyposted in Questions & Answers
@fxdreema Thank you for your reply.
I have looked into it a bit, and I think the easiest would be to close all charts. That would also stop other EA's in the same terminal from opening more positions until the user intervenes.
So for example, after the event trigger, the EA on a single chart will close all open and pending positions on all charts and afterwards close all charts.
If you have any suggestions how to do close all charts with a custom code block, I would love to hear your thoughts. Otherwise I will post the solution here when I find it if other FXD users should be interested.
-
Disable algo trading globallyposted in Questions & Answers
Hi, Is there a way to disable algo trading globally for the mt4/5 terminal using fxdreema?
Alternatively, is there a way to terminate all EA's on all symbols in the same terminal?
-
RE: Close position in $ pfoit including trading feesposted in Questions & Answers
@ontradingx I will post the solution here once I find it:)
-
RE: Close position in $ pfoit including trading feesposted in Questions & Answers
@ontradingx Thanks for your inputs. That block will not work for my project, as I will close a basket of trades with a total sum profit, but not all of the positions will be in profit. It is a martingale type system..
-
Close position in $ pfoit including trading feesposted in Questions & Answers
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? -
RE: "pips away from open price" alternativeposted in Questions & Answers
@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
-
"pips away from open price" alternativeposted in Questions & Answers
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.
-
RE: comments on top of objectposted in Questions & Answers
@jstap ok, thanks anyway. Happy weekend!
-
comments on top of objectposted in Questions & Answers
Hi, I am trying to make a filled rectangle as a background for comments. I cant find a good way to "force" the comments to be on top of the rectangle.
If I set the rectangle to be "in the background" all other chart objects like pending orders, bars etc are visible on top of the background panel/rectangle. However, if I set the rectangle to be "not in thge background" then the comments are not visible, since the rectangle is on top.
Any ideas?