- Search Metals Mine
-
honestknave replied Oct 3, 2016Already built in to Metaeditor - explanation of Styler:
Tool to quickly find unmatched parentheses in MQL4 code
-
honestknave replied Sep 14, 2016You are getting orphaned orders because your close loop counts up not down. I know you are trying to comply with FIFO rules, but it will not work the way you have it coded. Imagine you have 4 orders to close: First loop (i=0) At the start of the ...
my LockInProfit() and CloseAll() fail to close everything
-
honestknave replied Sep 12, 2016void OnTick() { static uint TickCnt=0; if(TickCnt>=5) { // run your code here TickCnt=0; } TickCnt++; }
a break to an ea
-
honestknave replied Sep 11, 2016Look to optimize your code first. There may be no need to worry about skipping ticks or using Sleep(). Try using the profiling mode of Metaeditor to help you find the areas to focus on. HTH
a break to an ea
-
honestknave replied Sep 8, 2016Take a look at OnChartEvent(). Map some keys that hide/display your buttons. e.g. if(id==CHARTEVENT_KEYDOWN && lparam==77) // M key pressed
MT4 Question - Is there a way to access partial close function
-
honestknave replied Sep 1, 2016You can't try to place orders from an indicator. It must be from an EA or a script. HTH
OrderSend problem
-
honestknave replied Aug 30, 2016Just to be clear - the number is exactly the same... 0.00001==1e-05 It is only another way to write the same number and it won't affect calculations. Your zero divide error isn't because of this - MQL4 has always displayed point values on 5 digit ...
meaning of 1e-05
-
honestknave replied Aug 30, 2016It is just another way to write 0.00001 It means move the decimal place 5 places to the left (because it is negative) Start with 1.0 1 place left = 0.1 2 places left = 0.01 3 places left = 0.001 4 places left = 0.0001 5 places left = 0.00001 Try ...
meaning of 1e-05
-
honestknave replied Jul 5, 2016EU’s ideal standard for lavatory flushing (The Times)
BREXIT RULES! The Consequences
-
honestknave replied Jul 5, 2016It depends on how your alert is getting triggered, but a couple of common ways to deal with this problem are: 1. Check for change of state. Use a static variable to remember whether the previous run through OnCalculate() / OnTimer() resulted in an ...
How to play alert sound only once
-
honestknave replied Jul 5, 2016I'm glad everyone is getting on well with csDash
Version 1.25 Expiry date hard coded for 31 Dec 2016 (180 days)csDash (currency strength meter)
-
honestknave replied Jul 5, 2016I'm glad everyone is getting on well with MADdash
Version 1.32 Expiry date hard coded for 31 Dec 2016 (180 days) IMPORTANT As some of you may be aware, the latest builds of MetaTrader have had some issues. 
The latest compiler ...MADdash (Moving Average Distance)
-
honestknave replied Jun 26, 2016I'm sorry but I don't know that information. I imagine figuring out the criteria for such an allocation would be difficult and complicated. If it helps, HMRC tax receipts for 2014-2015 show a geographical split of England (86.4%), Wales (3.4%), ...
BREXIT RULES! The Consequences
-
honestknave replied Jun 26, 2016In 2015, the UK contributed £12,918,000,000 to the EU (after rebate). The UK's public sector got back £4,445,000,000 from the EU. The UK's net contribution to the EU was £8,473,000,000. Source: url
BREXIT RULES! The Consequences
-
honestknave replied Jun 21, 2016Yep, good spot. There was a bug but all fixed now: image Version: 1.08 Expiry: 17 December 2016 I recommend everyone who has 1.07 should upgrade to 1.08 (significant bug fix).
Multicolor Fibonacci Retracement Tool
-
honestknave replied Jun 20, 2016Version: 1.07 Expiry: 16 December 2016 Please check it carefully. The code has been mostly rewritten so please make sure everything is behaving as it should. I haven't had time to test it thoroughly. Alerts are operational again. image image For ...
Multicolor Fibonacci Retracement Tool
-
honestknave replied Jun 20, 2016Hello everyone - yes, I can confirm that the latest MT4 build has indeed killed FibTool3
As you all know, FibTool3 was a workaround for a feature that MT4 does not intend to implement (as per their service desk). I will try to find a fix for ...Multicolor Fibonacci Retracement Tool
-
honestknave replied Apr 26, 2016Hello gabsky, Do you mean the colored rectangles? If so, I can give that a look in a future release but it will be a while...
Multicolor Fibonacci Retracement Tool
-
honestknave replied Apr 26, 2016Hello profitkeeper, I'm glad you're getting on well with FibTool3. In the back of my mind I think I might have done something to the alerting module several months ago (I didn't use the alert feature myself)
So I'm going to take a good look at ...Multicolor Fibonacci Retracement Tool