69 lines
No EOL
4.6 KiB
MQL5
69 lines
No EOL
4.6 KiB
MQL5
//+------------------------------------------------------------------+
|
|
//| Defines.mqh |
|
|
//| Copyright 2026, Niquel Mendoza. |
|
|
//| https://www.mql5.com/es/users/nique_372 |
|
|
//+------------------------------------------------------------------+
|
|
#property copyright "Copyright 2026, Niquel Mendoza."
|
|
#property link "https://www.mql5.com/es/users/nique_372"
|
|
#property strict
|
|
|
|
#ifndef THESMCICTINDEX_SRC_DEFINES_MQH
|
|
#define THESMCICTINDEX_SRC_DEFINES_MQH
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| Buffers index |
|
|
//+------------------------------------------------------------------+
|
|
#define ICTSMCIND_BUFFER_BULLISH_OB (0) // Price 2 of nearest bullish order block
|
|
#define ICTSMCIND_BUFFER_BEARISH_OB (1) // Price 2 of nearest bearish order block
|
|
#define ICTSMCIND_BUFFER_BULLISH_FVG (2) // Price 2 of nearest bullish fair value gap
|
|
#define ICTSMCIND_BUFFER_BEARISH_FVG (3) // Price 2 of nearest bearish fair value gap
|
|
#define ICTSMCIND_BUFFER_BEARISH_GAP (4) // Price 2 of nearest bearish gap
|
|
#define ICTSMCIND_BUFFER_BULLISH_GAP (5) // Price 2 of nearest bullish gap
|
|
#define ICTSMCIND_BUFFER_BULLISH_IMBALANCE (6) // Price 2 of nearest bullish imbalance
|
|
#define ICTSMCIND_BUFFER_BEARISH_IMBALANCE (7) // Price 2 of nearest bearish imbalance
|
|
#define ICTSMCIND_BUFFER_SWING_HIGH (8) // Last swing high price
|
|
#define ICTSMCIND_BUFFER_SWING_LOW (9) // Last swing low price
|
|
#define ICTSMCIND_BUFFER_BULLISH_CHOCH (10) // Last bullish CHoCH price (broken swing high)
|
|
#define ICTSMCIND_BUFFER_BULLISH_BOS (11) // Last bullish BOS price (broken swing high)
|
|
#define ICTSMCIND_BUFFER_BEARISH_CHOCH (12) // Last bearish CHoCH price (broken swing low)
|
|
#define ICTSMCIND_BUFFER_BEARISH_BOS (13) // Last bearish BOS price (broken swing low)
|
|
#define ICTSMCIND_BUFFER_BSL (14) // Current BSL price
|
|
#define ICTSMCIND_BUFFER_SSL (15) // Current SSL price
|
|
#define ICTSMCIND_BUFFER_HH (16) // Highest recorded swing high (Higher High)
|
|
#define ICTSMCIND_BUFFER_HL (17) // Highest recorded swing low (Higher Low)
|
|
#define ICTSMCIND_BUFFER_LL (18) // Lowest recorded swing low (Lower Low)
|
|
#define ICTSMCIND_BUFFER_LH (19) // Lowest recorded swing high (Lower High)
|
|
#define ICTSMCIND_BUFFER_BULLISH_RDRB (20) // Second closest bullish RDRB pattern price
|
|
#define ICTSMCIND_BUFFER_BEARISH_RDRB (21) // Second closest bearish RDRB pattern price
|
|
#define ICTSMCIND_BUFFER_BULLISH_OB_HEIGHT (22) // Nearest bullish order block height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BEARISH_OB_HEIGHT (23) // Nearest bearish order block height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BULLISH_GAP_HEIGHT (24) // Nearest bullish gap height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BEARISH_GAP_HEIGHT (25) // Nearest bearish gap height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BULLISH_FVG_HEIGHT (26) // Nearest bullish FVG height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BEARISH_FVG_HEIGHT (27) // Nearest bearish FVG height (points/USD)
|
|
#define ICTSMCIND_BUFFER_BULLISH_CIDS (28) // Nearest bullish CIDS price
|
|
#define ICTSMCIND_BUFFER_BEARISH_CIDS (29) // Nearest bearish CIDS price
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| Defines |
|
|
//+------------------------------------------------------------------+
|
|
#define ICTSMCIND_VOID_BUFFER_VALUE (0.00000)
|
|
#define ICTSMCIND_BLOCK_GEN_BEARISH_EMPTY_VALUE (10000000000.00)
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| Resources |
|
|
//+------------------------------------------------------------------+
|
|
#resource "ICT-SMC Concepts.ex5"
|
|
#define ICTSMCIND_NAME_RES ("::ICT-SMC Concepts.ex5")
|
|
|
|
//--- ES
|
|
// Nota: esta es mi ruta local en caso de ud como clientes, deberan de usar la siguiente ruta:
|
|
// #resource "\\Indicators\\Market\\The Smc Ict Indicator.ex5"
|
|
// #define ICTSMCIND_NAME_RES ("::Indicators\\Market\\The Smc Ict Indicator.ex5")
|
|
|
|
//--- EN
|
|
// Note: this is my local path. If you are using this as a client, you should use the following path instead:
|
|
// #resource "\\Indicators\\Market\\The Smc Ict Indicator.ex5"
|
|
// #define ICTSMCIND_NAME_RES ("::Indicators\\Market\\The Smc Ict Indicator.ex5")
|
|
|
|
#endif // THESMCICTINDEX_SRC_DEFINES_MQH |