- Search Energy EXCH
- 129 Results (26 Threads, 103 Replies)
- crusader1 replied Apr 24, 2014
Many THX and what about reset these string variables? Because with int or double variables when I put exampleTime = 0; after condition loop I know that after next tick calculation code will use fresh new variable and not old. Is there some way how ...
How to save currency pairs symbols and use them later?
-
How to save currency pairs symbols and use them later?
Started Apr 24, 2014|Platform Tech|4 repliesHi guys. I have problem to find solution how to save more currency pairs in one step and use ...
- crusader1 replied Apr 22, 2014
Hi guys. I worked on this code and have add next step. My Q is if it is correct. After first "if loops" when code is checking MinVolumeBull or Bear. How to save (best way if there is one) pairs which complete this first if loop step? Later I want ...
Candlestick Coding Question
- crusader1 replied Apr 16, 2014
OK. Looks to me that reset string variable it's not working same way like reset int or double variable. Because int and double variable I can reset always on end of "if" code. But string variable you are reset before "if" code start. Is there some ...
Candlestick Coding Question
- crusader1 replied Apr 16, 2014
FX I am trying
But it is not easy. I know that for you everything what I have asked here looks so easy and basic but for me it isn't and where to learn mql4 when not here?Candlestick Coding Question
- crusader1 replied Apr 15, 2014
ok I have add also that PairString="BULL PAIRS: ";//reset pairstring above this code if((bull(symbol1) + bull(symbol2) + bull(symbol3) + bull(symbol4) + bull(symbol5)) >= 2) and looks that it is working
But I must say that I don't have any idea ...Candlestick Coding Question
- crusader1 replied Apr 15, 2014
Houston we have a problem
I have used your code and try to implement to my code but I am getting very strange alert.... Please can you tell me what I am doing wrong or better what I am missing in my code. Looks to me that it can be something with ...Candlestick Coding Question
- crusader1 replied Apr 15, 2014
Great comment FX!! THX. If I will not reset that string PairString="BEAR PAIRS: ";//reset pairstring code will use old information and will never rewrite that "string memory" with actual pairs?
Candlestick Coding Question
- crusader1 replied Apr 15, 2014
Great it is now showing all pairs where conditions are met. I am trying to figure out now how you did that... I only see that it is on this part of code if((MinVolume(symbol1) + MinVolume(symbol2) + MinVolume(symbol3) + MinVolume(symbol4) + ...
Candlestick Coding Question
- crusader1 replied Apr 15, 2014
Hmmmmmmm. Why I am soo stup..
Will delete that part. ThanksCandlestick Coding Question
- crusader1 replied Apr 15, 2014
Nope FX. I am looking for one pair which is most bearish or bullish. Therefore I must compare more pairs and pick one from that group. I am looking to your latest code and also testing it but can't find where is code for that "pickup pairs" ...
Candlestick Coding Question
- crusader1 replied Apr 14, 2014
Amazing work FX!! THX. I am slowly adding more pairs and testing. If I will run all five pairs and more than 3 must have same conditions (>=3) How I can get info (in email or in comment) exactly which of these pairs met these conditions? Is there ...
Candlestick Coding Question
- crusader1 replied Apr 14, 2014
OK. I don't know what I am doing wrong but something in my code must be wrong because I am not getting any lines. Idea is that after two or more same conditions (candle formation and min volume) it will plot line. But no lines on 1M testing chart ...
Candlestick Coding Question
- crusader1 replied Apr 14, 2014
Wau I am stupid
Now I understand it very well. Many thanks FX!!!!Candlestick Coding Question
- crusader1 replied Apr 14, 2014
FX if I will know how to code I will not ask on this forum such a simple Q
I know that for you this Q is easy but for me is not
I haven't see this solution with two return in one if statement therefore I am asking... and thax for answer 
Candlestick Coding Question
- crusader1 replied Apr 14, 2014
FX I am not asking how this cpart is working if(iClose(sym,0,2) < iOpen(sym,0,2) && iClose(sym,0,1) > iOpen(sym,0,1)) but how will code know which number (0 or 1) return. Because this is first time when I see two return function in one if statement. ...
Candlestick Coding Question
- crusader1 replied Apr 14, 2014
Another Q what I have is about this part of code: int bull(string sym) { if(iClose(sym,0,2) < iOpen(sym,0,2) && iClose(sym,0,1) > iOpen(sym,0,1)) return(1); return(0); } I can't find out how the code will know which number it must return. Because ...
Candlestick Coding Question
- crusader1 replied Apr 13, 2014
ok. If I am understand your code correctly "int bull" function is giving me numerical value 1 or 0. If overall count is bigger than 3 in "int counted_bars" function it will trigger alert.... Am I right?
Candlestick Coding Question
- crusader1 replied Apr 12, 2014
Hi guys. Nobody can help with this cross pairs checking idea???
THXCandlestick Coding Question