Thanks for clarifying.
Phil.
Thanks for clarifying.
Phil.
Thanks for your reply.
I have mad some progress using the "check profit (period of time)" block, I have grouped all my trades and then asked the block to check the sum of profits for that group and have just ignored the time portion of the block. This solution seems to be working very well, however, I have found another road block.
The "check profit" period of time block seems to be summing the profits as it says but is ignoring their relationship to the losses.I want to sum profits & losses, eg. total net profit, not just the profits in isolation. Is this block capable of summing profits & losses or should I look for another block to perform this function?
Phil.
Thanks for your reply. You are absolutely correct, check profit average is not the right block. Check profit period of time is the block I should use.
A couple quick question on using this block (check profit period):
If I use this block with no time period selected, but instead use the once per bar time filter to precede this block. Will the EA check the "total value (sum)" of all trades since the EA was initialized (once per bar)?
How does the time period section of this block work? And how do I reference the week day shift? do I reference Monday with a number or do I use the word?
I appreciate your help.
Phil
Hi,
I have attempted to program my EA to "once per bar" - "check profit average" and if the profit is greater than 100pips then to close all trades. 100 pips is my target for the week and by using the "once per bar" I essentially want the EA to wait for the bar to close, then check profit average, then close out.
This is currently not functioning for me and I suspect it has to do with the "check profit average" block. In the Trades pool field I have running & history trades selected. Now my thinking was that the EA would average my profit from when it was initialized (eg Monday) but this assumption looks to be wrong. Do you know, is the EA looking into my previous MT4 trade history? and therefore was including trades in the average from previous weeks?
Can you please provide me with some guidance on how I could check the average profit for the current week only?
Any ideas would be greatly appreciated.
Thanks Phil.