Questions from Beginners MQL5 MT5 MetaTrader 5 - page 960
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
You should put a flag to check if the value has changed, so you don't have to yankOnInit on every tick
Like this:
Thank you it worked.
As far as I understand, I need to doIndicatorRelease
Because old calculation is still hanging on the chart? At least in the tester.
Then the code is like this?
Thank you it's working.
As far as I understand, I will also need to performIndicatorRelease
Because the old calculation is still hanging on the chart? At least in the tester.
Then the code is like this?
And add to the code:
How to make my custom MA be drawn from RSI indicator instead of price?
I receive data of custom MA throughiCustomGet.
I want to makea compound indicator (indicator from indicator).
Examples for mt4
https://www.mql5.com/ru/forum/110186
https://www.mql5.com/ru/code/22638
How to make my custom MA be drawn from RSI indicator instead of price?
I receive data of custom MA throughiCustomGet.
I want to makea compound indicator (indicator from indicator).
Examples for mt4
https://www.mql5.com/ru/forum/110186
https://www.mql5.com/ru/code/22638
How about this:iMA
How about this:iMA
Thank you, just what I need
To this:
The compiler responds: possible loss of data due to type conversion
Question: What's the right way to do this? (so the compiler doesn't swear)
To this:
The compiler responds: possible loss of data due to type conversion
Question: what's the right way to do it? (so that the compiler won't swear)
The compiler doesn't swear but warns you that you are trying to put double into int.
To this:
The compiler responds: possible loss of data due to type conversion
Question: What's the right way to do this? (so the compiler doesn't swear)
The compiler does not swear, but warns that you are trying to put double into int.
I was just perplexed by almost the same thing.
That's because of this int ... As I remember SymbolInfoInteger used to return int type and now it suddenly returns long
I've just been perplexed about pretty much the same thing.
that's because of this int ... As I remember SymbolInfoInteger used to return int type and now it suddenly returns long
It always returns long - look at SymbolInfoInteger() property identifiers