[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 266
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
If you have experience, look here and figure it out. You will find a lot for yourself, and then you can optimise it for yourself.
thanks
It's a very large forum, you can't find it all at once.
what the lines mean: 1) if (Volume [0]>1) return;
2) if (Open [1]>ma) ; ?
thank you!
what the lines mean: 1) if (Volume [0]>1) return;
2) if (Open [1]>ma) ; ?
thank you!
1) If volume on zero candle is more than 1, then return.
2) If the opening price of the first candle is higher than the value in the variable ma. The construct
has no right to exist, since nothing follows from the condition. It is not clear to the processor what it will have to do, if the condition is fulfilled or not.
what the lines mean: 1) if (Volume [0]>1) return;
2) if (Open [1]>ma) ; ?
thank you!
That's a bit of a misnomer. The question is how to prescribe in an EA, not in an indicator. But thanks anyway, although the question remains open.
That's not quite the point. The question is how to write it in an EA, not in an indicator. But thanks anyway, although the question remains open.
You asked for the code - I gave you the code.
This is also doable in an EA. You need to declare an array, fill it with RSI values, and then you can process this array however you want. Including the iMAOnArray() function
You asked for the code - I gave you the code.
This is also doable in an EA. You need to declare an array, fill it with RSI values, and then you can process this array however you want. Including using the iMAOnArray() function
It is the subtleties in declaring and filling the array with values that cause difficulties, i.e. they don't work in the graph. Maybe I'm filling the array on the wrong side or the spelling is crooked. It works in the indicator. It is not in an EA.
Code Transfer of an Indicator to Code of an Expert Advisor. Construction of an indicator.
Transferring of the indicator code to the Expert Advisor code. General schemes of construction of an Expert Advisor and indicator functions
It is the subtleties in declaring and filling the array with values that cause difficulties, i.e. they don't work in the graph. Maybe I'm filling the array on the wrong side or the spelling is crooked. It works in the indicator. It is not working in the EA.
And now, the opposite: 2012.07.20 07:51:13 '*****': order buy 0.10 EURUSD opening at 1.2258 sl: 0.0000 tp: 0.0000 failed [Trade context is busy]
What could this be about?