Initial commit: MQL5 Scripts Collection (MetaTrader 5)

This commit is contained in:
GeneralTradingSarl
2025-06-24 00:33:04 +01:00
commit 60a549d89c
1959 changed files with 31907 additions and 0 deletions
@@ -0,0 +1,19 @@
# 🚀 Unlock the Power of Trading!
Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring ⭐, sharing, or donating to support further development!
---
**Support the project:**
- Star this repository on GitHub
- Share it with your trading friends
- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow!
---
![Screenshot](script.png)
## Source Files
- `tester4define.mq5`
---
> Made with ❤️ for the trading community.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@@ -0,0 +1,54 @@
//+------------------------------------------------------------------+
//| tester4Define.mq5 |
//| Copyright 2024, MetaQuotes Ltd. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property strict
// declare variables used in the DEFINET_statement.mqh file
// User may change them as needed.
MqlRates g_rates[];
MqlTick g_tick;
double g_MA20_arr[];
double g_MA40_arr[];
double g_MA50_arr[];
double g_MA200_arr[];
double g_atr_arr[];
// Next, programmer selects the level of debugging.
//#define DEBUG_LEVEL0
//#define DEBUG_LEVEL1
#define DEBUG_LEVEL2
// include DEFINE statements:
#include <DEFINE_statements.mqh>
void OnStart(){
//+------------------------------------------------------------------+
// this is demonstration on how to use the DEFINE statements
//+------------------------------------------------------------------+
// here you insert rates for g_rates[];
// here you insert values for moving average indicator, ATR, etc.
double x=1;
double y,z;
y=EVALLINE(x,-10,-10, 20,40,0,5);
PRINTVAR(EVALLINE(x,-10,-10, 20,40,0,5));
PRINTVAR(y);
z=CONVEXCOMB(0.5, 10,20);
PRINTVAR(z);
datetime dt=TimeCurrent();
PRINTVAR1(dt);
VPRINTVAR(ASK);
return;
}
//+------------------------------------------------------------------+