Disliked{quote} Examples of ma crossover in mql4 and mql5, and macd with chart arrows in mql5, note additional and different things that are done with mt5. Use the current event handlers that are given to you when you start a new indicator. Prevcalculated is the number of bars on the previous call of oncalculate, ie on first loading or chart has updated it's history, prevcalculated is 0, on the next tick it will be equal to ratestotal which is the number of bars on the chart. Indicator styling should be set in properties so that every time the indicator...Ignored

They are good indicators for losing money...
But...
They are the best sample code I could have
It seems very clean and simple and logical to me
I looked very quickly, I could understand the code very simply and it is exactly what I was looking for
You have helped me a lot in learning Metatrader 5 coding
You made my day
I am very grateful
Theory of Everything is Liquidity...https://www.youtube.com/@FxArt.Trader