I robot di trading e gli indicatori tecnici più utilizzati, i segnali di notizie, i programmi MQL5 più recenti in CodeBase e pronti all'uso, gli argomenti del forum più popolari.
Programming Patters - Builder (classic)Separate the construction of a complex object from its representation so that the same construction process can create different representations.
Basic Rsi Template EAA ready made expert adviser template to use for further development or use 'as is'
Grid Template EAGrid Template EA - A ready made expert adviser template to use for further development or use 'as is'
ZigZag Based on Close PricesThe code is based on indicator ZigZag which is in-built in MT4.
I have changed it so that it isn't calculated on highest Highs and lowest Lows, but instead uses highest Close and lowest Close of chart price history.
See attached chart for differences: ZigZag (red) versus ZigZagClose (yellow).
Programming Patterns - Factory MethodDefine an interface for creating an object, but let subclasses decide which class to instantiate. Lets a class defer instantiation to subclasses.