Haha, I missed that. I was ready to answer 2 days ago but I had to leave in that moment.
I tested this, SL/TP is always updated, but it is exactly what the project says. When do you want to modify SL and TP? And then... they will be not modified, or they will?
Posts made by fxDreema
-
RE: Swing Trade EA using Heikin Ashiposted in Questions & Answers
-
RE: MetaTrader 4 Build 600 with Updated MQL4 Languageposted in Bug Reports
I uploaded 071, it can be tested

-
RE: MetaTrader 4 Build 600 with Updated MQL4 Languageposted in Bug Reports
Yes, some positives from MT5 are included.
I tried it on my Windows 8.1 and for some reason I was not able to make it work with it's own directories that can be found in the installation folder. Instead, it works with remote folder located somewhere in AppData/Roaming. In the same time on Windows 7 I can't make it use that remote folder and it uses it's own (I have UAC disabled). So, anyone, note this issue, and if you have SSD... I don't know

Anyway, I updated the web version to work with build 600. Now I guess it will not work with older builds anymore, so %(#FF0000)[please use MT4 build 600!]
In Global Options I added the ability to set data folder different than the one MT4 is installed, so if someone finds it's EAs somewhere in AppData/Roamind, he can set this specific folder.It's interesting to me that this step-up build is 600. I was thinking before that it will be very good idea if they let MT5 die and create new MT6... but 600 is also fine.
-
RE: MetaTrader 4 Build 600 with Updated MQL4 Languageposted in Bug Reports
Ahaaa, 03.02.2014 is the date. Then I will update things, but I noticed some annoying differences in the folders structure, so I will need to see what is going on

-
RE: MetaTrader 4 Build 600 with Updated MQL4 Languageposted in Bug Reports
Old MT4 started to self-update with this version already?
-
RE: Point format rulesposted in Questions & Answers
Tester gets this from MT, this message appears before the EA is loaded, this shows spread in points.
I have something like this: http://prntscr.com/2pnhue
If I set "0.01 = 0.1" then I have this: http://prntscr.com/2pnie0You can see that the spread meter shows something different, this is because it shows what is it after the "0.01 = 0.1" conversion. The tester says 25 poins, and in the comment section ask()-bid() confirms that.
Point format settings are there to trick the EA to do calculations in certain format, no matter what is the format that the broker uses. It does that for things like SL and TP, it basically adds or removes some 0 from the input parameters in the block.
-
RE: Resize option and modify variableposted in Bug Reports
I think I fixed this problem, it was about 2 months old.
Now I can see that the properties of "Modify Variables" looks weird and I will go to fix it. If you mean something else, tell me. -
RE: Formula does not work!posted in Bug Reports
I tried something with formula results, but it didn't worked. I reverted it now, or I believe that... can you try to reload the page and see if it's ok?
-
RE: Formula does not work!posted in Bug Reports
Well, in any case block that is not connected with another is not added to the final project, so that Formula block is not used, it does not modify "lots"

-
RE: Point format rulesposted in Questions & Answers
I can understand EURUSD better, so I will explain for it. You know all brolers say that their spread is lower than 2 pips, lower than 1 pip... whatever. In the same time they have 5 digits for EURUSD where if the spread is 2 pips, then it is 0.00020. Yes, this is 20 points, not 2 points! And the tester will say 20.
Normally for currencies 1 pip is equal to 0.0001. A point is something different, and note that MT4 does not work with pips, you will not see the word "pip" anywhere on it's interface! It says "points". So, this value 75 is the spread in points, and probably for this exact market 1 pip is considered as 100 points.
Set SL and TP with values you prefer, then try with different values in the point format until you got SL and TP at the desired distance.
-
RE: Formula does not work!posted in Bug Reports
Sorry guys, my fault! I think I fixed it. Thank you for the reports!
-
RE: Contained within the blocks are goneposted in Bug Reports
oh damn... something from the last update I made, I will go to fix it

Don't modify those blocks that contain constants or variables. -
RE: Trade statistics queryposted in Questions & Answers
There is a function that calculates statistics on every tick, but when they are not used, that function is not running. I just found that it is not running anyway, and this is maybe for weeks or months - I missed to do something in one of the past updates.
I will do 071 later, but because I just updated some important files I want to see if this will work and to fix problems if they appear. -
RE: maximum bid ask oo maximum over a period of timeposted in Questions & Answers
You can try with Candle -> Candle High, select some timeframe for the candle.
Or Market Properties -> Highest price, but the method above is better in your case I think. -
RE: too long varposted in Questions & Answers
Can you copy more lines of MQL code around this error here?
-
RE: paint a rectangleposted in Questions & Answers
A rectangle has 2 coordinates, each one with time and price as x and y.
price1, time1 - left side of the rectangle
price2, time2 - right sidetime1 should be a time older than time2.
price2 can be lower or higher than price2, but it should be different. In your project your price1 and price2 (left and right prices) are the same, so if you ever see some object, it will look as a line... if something appears at all. -
RE: Partially Close Trades Exampleposted in Questions & Answers
I'm not sure if this will work, but you can try it. Create a new custom block with this content:
if (FXD_BREAK==true) {return;} LoopedResume(); static int memory[]; bool next=false; int ticket=OrderTicket(); if (InArrayI(memory,ticket)==false) { ArrayValueI(memory,ticket); next=true; } if (next==true) {~next~} else {~inext~}This is modified "once per trade/order" that should work once per trade... really, I mean - once for each trade, even for those that are result from partial close.
If this works, I can add some option in "once per trade/order" that will make you choose to consider partial closed trades as a single trade or as independent.