Codes

ATR without iATR() with smoothing Wilder by William210.mq5 for MetaTrader 5

The goal is to show a code that shows the calculation of the ATR with Wilder smoothing

CCI beginner tutorial by William210 for MetaTrader 5

Beginner tutorial on CCI to learn to code in MQL5

ATR classic therefore without iATR by William210 for MetaTrader 5

This code does not trace the iatr() because the iatr() or this code is a more modern version. This code uses original smoothing, a kind of SMA and not wilder smoothing. The analysis of the two smoothings can suggest opportunities elsewhere

MovingAverages.mqh Part II for MetaTrader 5

MovingAverages.mqh Part II A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available

MovingAverages.mqh Part I for MetaTrader 5

MovingAverages.mqh Part I A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available

Envelopes beginner tutorial By William210 for MetaTrader 5

Envelopes beginner tutorial to learn how to code in MQL5

Donchian Channel for beginners by William210 for MetaTrader 5

Donchian Channel for traders or young developers by William210

Keltner Channel code for beginners by William210 for MetaTrader 5

Keltner Channel for traders or young developers by William210

ATR - Average True Range - code for beginners by William210 for MetaTrader 5

ATR - Average True Range - beginner tutorial to learn how to code in MQL5

AO - Awesome Oscillator - without iAO() code for beginners by William210 for MetaTrader 5

AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5

Forum

The prerequisites in the codes

It is always necessary to check in the codes whether the prerequisites have been met. It can take many forms For example, do you have all the handles of an indicator that would be used multiple times, therefore multiple handles? Have you implemented all the set_symbols if your code uses multiple

static values in methods

hello I'm told that static values in class methods should absolutely be avoided, because if the class is instantiated multiple times, the values of these static values will be shared between all instances... a real bug to find. Therefore, the only way to do this is to re-upload this static element

How do I stop this warning from appearing?

Hello. How do I stop this warning from appearing? Resource indicator 'Fractal_Range.ex5' is compiled for debugging. That slows down performance. Please recompile the indicator to increase performance. I'd like to compile it without these options, but where are they? Thanks

What is Csymbol used for?

This code works in the tester, but not in the terminal I can go through iclose and the rest, but this was unexpected behavior

input ( name)

Good morning I tried the new possibility for inputs It works. That's already good news. input ( name = "Other symbol than the current one" ) string gu_symbol = "" ; input ( name = "Timeframe to apply the MA" ) ENUM_TIMEFRAMES gu_TF = PERIOD_CURRENT ; input ( name =

MetaEditor: autocompletion displays

Good morning, I'm encountering an annoying limitation in MetaEditor. In one class, I declare a pointer to another class: Check_Historical_Data * Pointer_Check_Data; When I write this.Pointer_Check_Data. in the editor, auto-completion offers me the private members and methods of Check_Historical_Data

Remove debug options

Hi I have this message on my version 5120: "Resource indicator .. is compiled for debugging. That slows down the performance. Please recompile the indicator to increase performance." I'd like to, but I can't find the option to remove to avoid compiling with debugging. Could you help me? Thanks

SymbolInfoSessionTrade - session_index,

Good morning I see in the doc SymbolInfoSessionTrade - Market Info - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5 What is it for? uint [in] Ordinal number of a session, whose beginning and end time we want to receive. Indexing of sessions starts with 0

Impossible to log in to mql5 forge

Impossible to log in to mql5 forge with my mql5.com credentials. I wonder if some characters are not forbidden in the password or if it is necessary to have a max or min length

#resource

Good evening Are there any limitations with #resource? In an indicator I have two resources #resource "\\Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF.ex5" ; string g_Path_Stoc = "::Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF" ; #resource