- Search Metals Mine
- crusader1 replied Oct 7, 2013
understand thx Gurmai I am testing that code now
I will let you know how it works for me 
How to pick specific 5M candle from higher TF
- crusader1 replied Oct 7, 2013
thx Gumrai. in this line datetime closecandle = opencandle + (Period()*60)-1; Why did you add also that -1?
How to pick specific 5M candle from higher TF
- crusader1 replied Oct 7, 2013
Thx Gumrai I was thinking to use exact "data window" but problem is if I know open&close time of that 30M how I select Lowest 5M candle for only this time window? I will only use something like this???: iLowest(NULL, 5, MODE_LOW, CloseTime, ...
How to pick specific 5M candle from higher TF
- crusader1 replied Sep 19, 2013
I attached two examples. one on EURNZD where code worked perfect... I received alert exactly on that second aqua dotted line which is correct because also all conditions were there. second is GBPAUD where code worked wrong... I received alert on ...
Please help me with an alert bug
- crusader1 replied Sep 19, 2013
Thanks Gumrai ok here is that problem. I am getting alert without getting also red line with width 3 which is on exact same section like alert... I don;t get it how it is possible that it will trigger only alert part and no line part. But sometimes ...
Please help me with an alert bug
- crusader1 replied Aug 27, 2013
Raptor Thanks!!! Looks that iBarShift will do this work!!! int iBarShift( string symbol, int timeframe, "HERE I WILL PUT MY STORED TIME", bool exact=false) I need also that last info bool exact=false? Or I can ignore it? Again many thanks!!
How to get exact Price from Time?
- crusader1 replied Aug 16, 2013
Max What I want is that IF first is TRUE do cond1 then move to second IF and if it is TRUE do cond2 and move to last IF and if also this is TRUE then to the last cond...... What you have write me and what I have changed on last code is what I don;t ...
Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
Ok. Tested this code but I am again getting on each 1M candle alert.... and also that Gold Vline
Whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy :'( If I understand it correctly what you are saying me then if first IF is not true.... then there ...Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
ok then correct code will be like this? I have select with {} each code after if statement. Then if first IF is true it will do what is in {} and go to second etc.... Am I correct or I am again wrong
? if((iVolume(NULL, 0, 2) < (iVolume(NULL, 0, ...Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
Sorry Max I am learning mq4 and looks that it is really bad one
first arrow You mean that mStoredTime=Time[1]; is only code that is activated from that first if statement? all code below that (code for drawing line) is not taken? second arrow I ...Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
here is what I have change... I am storing now not Time[0] but Time[1] after that first conds... Then I add to this stored time next 300sec which is on 1M 5 more candles and then I am waiting if current Time will be bigger than that and next indi ...
Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
that is end of the code.... What I need there? I don't understand

Bug in Indi? Please help
- crusader1 replied Aug 16, 2013
Thanks Gumrai for your points!! Will change it and let you know. Again many thanks
Bug in Indi? Please help
- crusader1 replied Aug 13, 2013
Wau Mayn Thanks Max!!!! I am going to test and learn how to use that print right now!!!!! Again many thanks!!
Wrong "else" statement? Please help!
- crusader1 replied Aug 13, 2013
Ok then only what I can think is to move that if statement to that first section... Then it will check that != only for Fib area 50 -62%. Looks tooo easy .. to be true
OK tested these but don;t work correctly... I have commented mPriceRange but ...Wrong "else" statement? Please help!
- crusader1 replied Aug 13, 2013
Max can you tell me little more how this Print function work? Where to put it and what to check because this function is new for me... thx
Wrong "else" statement? Please help!
- crusader1 replied Aug 13, 2013
Hmmmmmmm. Ok now I see.... Then "esle" statement will never be actioned because if(mPriceRange != mPriceDistance) // only if mPriceDistance is not same then cont will be always true
Ok.How then I will write these ifs and else statements that it ...Wrong "else" statement? Please help!
- crusader1 replied Aug 13, 2013
Then you think that overall Logic can work but only there was bad writing in that else section?
Wrong "else" statement? Please help!
- crusader1 replied Aug 13, 2013
How did you do this? With Snipping tool? I am testing you changes
Let's see if I wiil get also email when 62% level will be broken. thxWrong "else" statement? Please help!