Liquidity_Predator/Structs/stGlobalVars.mqh

75 lines
1.8 KiB
MQL5
Raw Permalink Normal View History

2026-01-31 07:59:15 +01:00
#include "E_DIRECTION.mqh"
#include "E_STATEMACHINE.mqh"
struct stGlobalVars
{
double CurrentLiquidity;
datetime dtCurrentLiquidity_Time;
E_DIRECTION eCurrentDirection;
double BuyLiquidity[];
double SellLiquidity[];
double fMaxDiffTakeOut_Price;
double fMinSizeFVG_Price;
double fMaxSizeFVG_Price;
double fMinStopLossSize_Price;
double fMaxStopLossSize_Price;
2026-03-01 11:24:24 +01:00
double fMinDiffEMA_Price;
double fMaxDiffFVGEntry_Price;
2026-04-30 16:53:46 +02:00
double nS1MaxDiffTakeout_Price;
double nS1MaxDiffFVGLiquCross_Price;
2026-01-31 07:59:15 +01:00
double LastFVGTop;
double LastFVGBottom;
int LastFVGIndex;
MqlRates Candle[];
MqlRates Candle_HTF[];
2026-01-31 07:59:15 +01:00
datetime dtTimeCurrent_M1;
datetime dtTimeLast_M1;
datetime dtTimeCurrent_HTF;
datetime dtTimeLast_HTF;
2026-01-31 07:59:15 +01:00
datetime dtCurrentTime;
datetime dtCurrentDay;
datetime dtLastDay;
int nActualHour;
bool bSessionFilter;
int nNumberOfTrades;
E_STATEMACHINE nStateMachine;
E_STATEMACHINE nLASTStateMachine;
2026-01-31 07:59:15 +01:00
double BodyStopLoss;
double StopLoss;
double TakeProfit;
double Entry;
double LotSize;
2026-03-08 10:51:33 +01:00
int nNumberOfPositions;
2026-02-06 16:14:02 +01:00
MqlCalendarValue NewsValues[];
2026-02-09 19:57:29 +01:00
int rsiHandle;
double rsiBuffer[];
2026-02-11 17:37:48 +01:00
string Line_ActLiqu;
int Line_ActLiqu_Number;
2026-02-12 17:09:03 +01:00
bool bFilterActive;
string Rect_Background;
int Rect_ActBackGround_Number;
2026-02-16 18:37:16 +01:00
string Rect_FVG;
int Rect_ActFVG_Number;
2026-02-20 19:07:22 +01:00
double DailyStartingBalance;
2026-02-27 14:33:14 +01:00
int nSmallEMAHandle;
int nBigEMAHandle;
double SmallEMABuffer[];
double BigEMABuffer[];
int nSmallEMAHandle_CurrTF;
int nBigEMAHandle_CurrTF;
double SmallEMABuffer_CurrTF[];
double BigEMABuffer_CurrTF[];
2026-03-08 10:51:33 +01:00
bool MovedBE;
bool bRunnerPosition_CheckClose;
2026-03-16 19:35:17 +01:00
double fDistanceMoveRunnerSLTP1_Price;
2026-03-30 17:58:35 +02:00
datetime ServerTime;
datetime GMTTime;
2026-04-21 21:00:36 +02:00
bool bTPChecked;
2026-05-09 08:09:47 +02:00
bool bDemandKeepAccountAliveTrade;
2026-01-31 07:59:15 +01:00
};