- Search Metals Mine
- crusader1 replied Dec 13, 2013
Thx but I am not looking for Highest of last X-candles... I am looking how to find from last X-candles two, three or more candles with highest price!!! for example I have set of 20 candles and each candle has some volume. I want find three candles ...
How to select last four candles with Highest price or Volume?
- crusader1 replied Dec 6, 2013
I have change all my extern variables to "intern" and looks that it is working. Thanks for great tip. Gurmai I have another Q. How you will do this? Average value of Volume from last 12 candles??? I can pick highest or lowest but how to average some ...
Bug in MT4 Compiler?
- crusader1 replied Dec 5, 2013
OK and when I will delete extern and use without that then I will not have this problem? It is only because of that extern "setup"? THX
Bug in MT4 Compiler?
- crusader1 replied Nov 17, 2013
Problem is that I must run Every Tick model because I have 15/5M combo EA which first looks on 15M conditions and then it switch to 5M conditions. If I run only open candle model it is not working correct because it will give me only alerts when ...
How to run Strategy Tester faster in MT4?
- crusader1 replied Oct 21, 2013
OK. Looks to me that I found where was problem with that Zero value Variables

Please Help - How to reset Variables in indicator
- crusader1 replied Oct 21, 2013
Gumrai can I have another Q from this code? I have add some more conditions later but never received Alert Line... I was thinking why because logic looks ok... After while thinking I add Alert info Commentt... something like this: Alert(Symbol() + ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 21, 2013
Gumrai you are telling me that if I will run that indi on 1M chart instead of 5M this can maybe help? I understand it correctly? Because if this can help there is no problem for me to switch TF to that lower TF... But then that 4066 error is not ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Ok Gumrai. Markets are open I will run more timeframes combo for more examples and see it there will be again some bad. Because whole problem is that sometimes it is working correct and after that white line I am not receiving that dotted lime line ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Gumrai this is really great and important point!! Ok do you think that it will help if I change DrawLine1(White, Time[1]); to correct time that is for 1M chart? Can I use something like this? DrawLine1(White, iTime(NULL,1,1)); But on that last ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Yes I am sure because I am also running 15/5M combo but didn't received alert on this time combo yep. Therefore this example was from combo 5/1M where 5M is timeframe on charts and only when I want check results I am switching to 1M to see what ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Ok sorry. Yes this attached pic is from 5M TF and I have only switched to 1M to see better each line. But answer is YES

Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Thanks hanover. Do you have also some link where is some tutorial how to use this DebugView correctly ? Thx
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 20, 2013
Hi Gumrai. This indi works for two TFs. First part of code (red colored code) is for conditions that must happen on Upper TF for example on 5M and if this conditions are there then indi swicth to Lower TF on this example it was 1M and then continue ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 19, 2013
Sorry Gumrai my bad. Here is the correct code I have little mess in this indicator too much examples
.Please Help - How to reset Variables in indicator
- crusader1 replied Oct 19, 2013
Yep you are right Gurmai that if is not important there... But it is not also wrong or? - this was answer to your Q about if(iTime(NULL, 0, 0) > mStoredTimeBearish)//What is the point? Must be true My point is why on that code section that I have ...
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 19, 2013
Yep you are right Gurmai that if is not important there... But it is not also wrong or? My point is why on that code section that I have posted up "if" can be skipped
Can you help me with that part? I can explain you whole code each line what ...Please Help - How to reset Variables in indicator
- crusader1 replied Oct 18, 2013
but this is mCheckingTime int mCheckingCandle = 5; int TF = 5; int mCheckingTime = mCheckingCandle * 60 * TF; which is only few sec against what I am compering iTime(NULL, 1, 0) which is huge huge number. THX for help
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 18, 2013
ooo Sorry MaxDoom you are right. I have attached whole code that you can see what exactly is mCheckingTime
Please Help - How to reset Variables in indicator
- crusader1 replied Oct 7, 2013
Hi Gumrai Your Idea is working but I have one Q. I added Vline to see exactly which candle on Lower TF is that specific (because I am watching chart on Upper TF) but it is not working correctly. I received Alert but no Vline. After I switch from ...
How to pick specific 5M candle from higher TF