[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 402
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
Can you advise how to write a correct condition for the Expert Advisor to trigger 1 time with the opening of a new bar at a specified timeframe? :(
I wrote it like this, but it looks distorted:
time = (TimeCurrent()-Time[1])-3601;
if( 1>time>0 )
{
// -------
}
Zhunko and costy thanks for the answers)
I just had to increase the maximum number of bars in the stories to be happy))
iCustom();
Thank you! I don't seem to be able to work with it. Here's a question. If I don't pass parameters to this function, how should its call look like.
Here is the function call int x = iCustom(NULL,0, "RLB_High",0,1,8); I try to read the value of the eighth bar from the first(non-zero) buffer here. At the same time I don't pass any parameters so I don't pass 0. Is it correct?
Thank you! I cannot seem to work with it. Here is a question. If I don't pass parameters to this function, how should its call look?
Here is the function call int x = iCustom(NULL,0, "RLB_High",0,1,8); Here I try to read the eighth bar value from the first(non-zero) buffer. At the same time I don't pass any parameters so I don't pass 0. Is it correct?
Right, if the indicator has only one parameter, which is equal to zero (which I doubt)
Correct if the indicator has only one parameter which is zero (which I doubt)
That is, if there is no parameter transfer, then:
Thank you for your answers !
Good afternoon!!! In fact, it's evening. Tell me why testing starts for the timeframe ash one not earlier than July 11, 2011?
Can I see an example?
I support splxgf, as an option the Flag of the USSR could be used.
I understand correctly:
1. if condition1is fulfilled, then Flag_SSSR1is assigned a true value and we immediately start checking condition2
2. if condition2 is satisfied , then flag_USSR2 is assigned atrue value, and if not - a false one, and at the next tick
we don't check condition1, we pass directly to condition2 and this way until condition2is fulfilled and thetrue valueis assigned to it .
3. next we check condition3 and Flag_USSR2(and what exactly in USSR2 we check is true or false; or what?)