You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ok ok i give you that:
Onlyone of #define is considered. The Array HeureSH[] is correctly executed and if the time writed arrives, it's true, it's correct, this is only times[k] don't consider all the four #define.Ok ok i give you that:
Onlyone of #define is considered. The Array HeureSH[] is correctly executed and if the time writed arrives, it's true, it's correct, this is only times[k] don't consider all the four #define.The problem is pretty obvious . . .
string HeureSH[];
so this array has a size of 0 as you have declared it that way . . . so this loop . . .
starts at 0 and ends when k >= 0 ( 0 being the array size )
Ok, i writed that cause i thought:
Ok, i writed that cause i thought:
By the way, these are the string functions you have to work with, study them carefully, enjoy.
Hi
i work about it but i don't understand this:
The problem is pretty obvious . . .
so this array has a size of 0 as you have declared it that way . . . so this loop . . .
starts at 0 and ends when k >= 0 ( 0 being the array size )
Can you try to tell me with more details?
For HeureSH[] i used lines to cut this in 4 strings parts to have 4 differents hours.
Edite again:
I writed ArraySize(HeureSH) in a print function and it give me: 4
2013.01.19 13:57:21 2012.11.19 19:00 Tester EURUSD,H1: Open:1.27701 ArraySise=4
i tested again and it select only the last of this:
So the last "14400". Why don't it select others in the same order of the Array "HeureSH[]" ?
Is there a problem with the cycle "For"?Hi
i work about it but i don't understand this:
Can you try to tell me with more details?
For HeureSH[] i used lines to cut this in 4 strings parts to have 4 differents hours.
Edite again:
I writed ArraySize(HeureSH) in a print function and it give me: 4
2013.01.19 13:57:21 2012.11.19 19:00 Tester EURUSD,H1: Open:1.27701 ArraySise=4
Ok ok sorry.
So for example, when it's 09:00, the iBar is the bar of yesterday 23:00, 10 hours less than TimeCurrent. When it's 15:00, the iBar is the bar of today 09:00, ....... What i want: If selected hour comes, have a reference bar which is before Now (TimeCurrent). My problem is the program only take the last item of "times[]" no others. I want if HeureSH[0], use times[0] and continu. What can i do?
PS: it's all i have and i need.
Hi,
oh can anyone help me?
Hi,
oh can anyone help me?
You don't make it easy for anyone to help you, you post bits and pieces of your code here and there . . . I'm trying to understand your code, I can't run it to see what it does as I don't have the full code, you have a function the same name as your array, that is OK but it doesn't help readability.
When is UpdateHSeSpeciales() called ?
Sorry really,
I have only that but it's true i forget "UpdateHSeSpeciales".
It's called in "init" when program begin.