- Search Energy EXCH
- 129 Results (26 Threads, 103 Replies)
- 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
-
Please Help - How to reset Variables in indicator
Started Oct 18, 2013|Platform Tech|30 repliesHi guys can anybody tell me how can I reset all variables that I have make in my coding? ...
- 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
- 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
-
How to pick specific 5M candle from higher TF
Started Oct 7, 2013|Platform Tech|10 repliesHi guys I am looking for best code for selecting specific 5M candle from higher TF. What I ...
- 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