Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

CWndContainer Replacement - library for MetaTrader 5

Published by:
Doerk Hilger
Views:
3277
Rating:
(30)
Published:
2015.08.26 10:54
Updated:
2016.11.22 07:32
\MQL5\Include\Controls\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

Original by MetaQuotes Software Corp. Modifications by Doerk.

This file replaces the WndContainer.mqh original file. One new function and two small modifications prevent the chart from being affected, when you click and hold the mouse inside a container window, i.e. when you press a button which is placed inside a dialogue, move a slider or anything similar. The replacement works also with the CDialog class and should not affect anything in a negative way.

The easiest way is to replace the original file, but please create a backup from the original, just in case if you encounter any problems which I currently could not find.

Recommendations:

  • Please backup your original WndContainer.mqh file first.
  • New function: VerifyMouseFocus() — private, called automatically.
  • Modified: OnEvent() and OnMouseEvent() which are used for any interactions.
DonchianChannels_HTF DonchianChannels_HTF

The DonchianChannels indicator with the timeframe selection option available in the input parameters.

FractalChannel_HTF FractalChannel_HTF

The FractalChannel indicator with the timeframe selection option available in the input parameters.

Fuzzy - library for developing fuzzy models Fuzzy - library for developing fuzzy models

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

CRect and CCanvas replacement (Standard Library - several bugs fixed) CRect and CCanvas replacement (Standard Library - several bugs fixed)

Bug fixed versions of CRect and CCanvas which are part of the standard library.