FOREX - Trends, forecasts and implications 2016 - page 722

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
1. how do i make a new candlestick control so that one iteration is at the first tick ?
I seem to have this code working to control triggering on the opening of a candle :(
2. Why not, it's about Kim's function to determine the bar of an open position ?
P / S Turned MT4 now all over again write ...
1.
if(iTime(Symbol(),PERIOD_H1,0)==prevTime) return(0);
datetime prevTime=iTime(Symbol(),PERIOD_H1,0);
Further your code
And that's it....
//This is for H1
Ah yes, the bar is looking there. Well, it'll work then.
And after int ticket=OrderSelect() - do you have an analysis - has the order opened or not? if(ticket<0)GetLastError() - is it?
1.
if(iTime(Symbol(),PERIOD_H1,0)==prevTime) return(0);
prevTime=iTime(Symbol(),PERIOD_H1,0);
Further your code
And that's it....
//This is for H1
Yeah ... I think you're not using void OnTick(), I mean 2014 syntax ?
yeah
Or you can substitute your own version, a more correct one, I have problems with compiling, I think you have brackets in Return, but I don't know ?
Это MT4
Without the parentheses, it kind of frowned upon compilation before. Why "<="? On the contrary, when equals "==" we kick it back. That is, if the current bar, we wait until the time becomes different. And the time is int, it should be datetime, right?
0
Without the parentheses, it kind of frowned upon compilation before. Why "<="? On the contrary, when equal (==) we kick it back. That is, if current bar, we wait until time becomes different. And the time is int, I think it was always datetime?
I did not go into details, somewhere here took some textbook or article, but it was in 2012 or earlier, maybe now is different, that's why it glitches sometimes in real time.
P.S. The product is crude for the market, I'll withdraw from approval, a strange problem has not noticed before.
It turns out after iteration I have not come out in Return and can work again ?
I did not go into details, somewhere here is taken from a textbook or article, but it was in 2012 or earlier, maybe now is different, that's why it glitches sometimes in real life.
All right, so...
Why can't it work? Run it in visual mode in the tester - these things will pop out and you'll fix it once. The next one won't be such a nuisance.
It wouldn't hurt to polish the demo afterwards either.
All right, so...
All right, so...
Why can't it work? Run it in visual mode in the tester - these things will pop out and you'll fix it once. The next one won't be so funny.