Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
4519
Note:
(33)
Publié:
2017.11.03 12:33
\MQL5\Include\fxsaber\ \MQL5\Scripts\fxsaber\SubWindow\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The library can be connected using

#include <fxsaber\SubWindow.mqh>

All other files on this page provide examples/scenarios of library application; they are not needed for the operation of the library.


Features

// Getting the index of the chart subwindow based on coordinates
int SUBWINDOW::Get( const long Chart_ID, const int X, const int Y );

// Deleting a chart subwindow
bool SUBWINDOW::Delete( const long Chart_ID, const uint Index );
  
// Deleting all chart subwindows
bool SUBWINDOW::DeleteAll( const long Chart_ID = 0 );

// Creating a copy of a chart subwindow
bool SUBWINDOW::Copy( const long Chart_ID, const uint IndexSrc, const uint IndexDst );
  
// Changing the positions of chart subwindows
bool SUBWINDOW::Swap( const long Chart_ID, const uint Index1, const uint Index2 );


Example

The library use examples/scenarios are attached to the description.

  • SubWindow_Copy.mq5

    // Creates a copy of the subwindow, to which the script is attached
  • SubWindow_Delete.mq5

    // Deletes the subwindow, to which the script is attached
  • SubWindow_DeleteAll.mq5

    // Deletes all chart subwindows
  • SubWindow_Manager.mq5

    // Manages chart subwindows

Help:

Drag&Drop - Swap SubWindows

Drag&Drop+CTRL - Copy SubWindows

SHIFT+Click - Delete SubWindow

DELETE - Delete All SubWindows

ESCAPE - Exit

For a better understanding of how to use the library, here is a short source code:

#include <fxsaber\SubWindow.mqh>

void OnStart()
{
  SUBWINDOW::Swap(0, 1, 2); // On the current chart (0) we swap the first (1) and the second (2) subwindows
}


Features

The use of the library on the zero subwindow (the chart) is unpredictable, because is a completely abnormal situation.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/19117

Multi Time Frame Trader Multi Time Frame Trader

The Expert Advisor trades based on the i-Regr indicator signals.

This is a cross-platform МТ45 Expert Advisor This is a cross-platform МТ45 Expert Advisor

The МТ45 Expert Advisor is based on the Martingale strategy. It is designed for trading in the МetaТrader 4 and МetaТrader 5 terminals.

Multi Stochastic Multi Stochastic

A multi-currency Expert Advisor based on the iStochastic (Stochastic Oscillator) indicator signals.

Vortex Vortex

An indicator from "Technical Analysis of Stocks & Commodities" (January, 2010).