Refactor MQL5 EA logic and sync documentation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_6F166A751A950DA3
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_6F166A751A950DA3
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/AccountInfo/AccountInfoSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_19FA7EF3A5C17005
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_19FA7EF3A5C17005
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/ArrayDouble/ArrayDoubleSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_3910007FE5A4066C
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_3910007FE5A4066C
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/BitonicSort.mq5
|
||||
|
||||
#line 24 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/BitonicSort.mq5"
|
||||
resource as string cl_program void QuickSortAscending(float &array[], int first, int last);
|
||||
#line 72 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/BitonicSort.mq5"
|
||||
bool QuickSort_CPU(float &data_array[], ulong &time_cpu);
|
||||
#line 88 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/BitonicSort.mq5"
|
||||
bool BitonicSort_GPU(COpenCL &OpenCL, float &data_array[], ulong &time_gpu);
|
||||
#line 149 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/BitonicSort.mq5"
|
||||
bool PrepareDataArray(long global_memory_size, float &data[], int &data_count);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_9CA2F4117B4FA02E
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_9CA2F4117B4FA02E
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/BitonicSort.mq5
|
||||
|
||||
#line 24 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/BitonicSort.mq5"
|
||||
resource as string cl_program void QuickSortAscending(double &array[], int first, int last);
|
||||
#line 72 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/BitonicSort.mq5"
|
||||
bool QuickSort_CPU(double &data_array[], ulong &time_cpu);
|
||||
#line 88 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/BitonicSort.mq5"
|
||||
bool BitonicSort_GPU(COpenCL &OpenCL, double &data_array[], ulong &time_gpu);
|
||||
#line 155 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/BitonicSort.mq5"
|
||||
bool PrepareDataArray(long global_memory_size, double &data[], int &data_count);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_84FF22BB352A811E
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_84FF22BB352A811E
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/CanvasSample.mq5
|
||||
|
||||
#line 207 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/CanvasSample.mq5"
|
||||
uint RandomRGB(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_B3A29339D5503F77
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_B3A29339D5503F77
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Comment_Test.mq5
|
||||
|
||||
#line 24 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Comment_Test.mq5"
|
||||
define PANEL_BODY bool EnsureRectLabel(const string name);
|
||||
#line 29 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Comment_Test.mq5"
|
||||
bool EnsureLabel(const string name);
|
||||
#line 35 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Comment_Test.mq5"
|
||||
void CreateInfoPanel();
|
||||
#line 92 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Comment_Test.mq5"
|
||||
void SetPanelText(const string title, const string body);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,27 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_179D8076AE6D13CF
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_179D8076AE6D13CF
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5
|
||||
|
||||
#line 1349 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
int OnInitEvent();
|
||||
#line 1375 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void OnDeinitEvent(const int reason);
|
||||
#line 1391 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
define MASK_RIGHT_MIDDLE 16 void CommonChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam);
|
||||
#line 1506 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void CreatePendingSetLine(color clr, double line_price);
|
||||
#line 1521 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void MovePendingSetLine(double line_price);
|
||||
#line 1530 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void DeletePendingSetLine();
|
||||
#line 1539 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void RecalculateValues(int position, double price_ref);
|
||||
#line 1598 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
bool CheckLots();
|
||||
#line 1616 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void OpenBuyPendingOrder(double order_price);
|
||||
#line 1654 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/Debug_Entry_Panel.mq5"
|
||||
void OpenSellPendingOrder(double order_price);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_161E94623585B981
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_161E94623585B981
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5
|
||||
|
||||
#line 28 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
define FFT_DIRECTION 1 void fft(const int N, float &x_real[], float &x_imag[], float &X_real[], float &X_imag[]);
|
||||
#line 40 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
void ifft(const int N, float &x_real[], float &x_imag[], float &X_real[], float &X_imag[]);
|
||||
#line 62 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
void fft_rec(const int N, const int offset, const int delta, float &x_real[], float &x_imag[], float &X_real[], float &X_imag[], float &XX_real[], float &XX_imag[]);
|
||||
#line 104 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
bool FFT_CPU(int direction, int power, float &data_real[], float &data_imag[], ulong &time_cpu);
|
||||
#line 131 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
bool ExecutionWait(COpenCL& OpenCL, int kernel_index);
|
||||
#line 155 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/FFT.mq5"
|
||||
bool FFT_GPU(int direction, int power, float &data_real[], float &data_imag[], ulong &time_gpu);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_2B43903CEDDD8F57
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_2B43903CEDDD8F57
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5
|
||||
|
||||
#line 28 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
define FFT_DIRECTION 1 void fft(const int N, double &x_real[], double &x_imag[], double &X_real[], double &X_imag[]);
|
||||
#line 40 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
void ifft(const int N, double &x_real[], double &x_imag[], double &X_real[], double &X_imag[]);
|
||||
#line 62 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
void fft_rec(const int N, const int offset, const int delta, double &x_real[], double &x_imag[], double &X_real[], double &X_imag[], double &XX_real[], double &XX_imag[]);
|
||||
#line 104 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
bool FFT_CPU(int direction, int power, double &data_real[], double &data_imag[], ulong &time_cpu);
|
||||
#line 131 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
bool ExecutionWait(COpenCL& OpenCL, int kernel_index);
|
||||
#line 155 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/FFT.mq5"
|
||||
bool FFT_GPU(int direction, int power, double &data_real[], double &data_imag[], ulong &time_gpu);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,45 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_0D006635EECD9565
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_0D006635EECD9565
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5
|
||||
|
||||
#line 390 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 405 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 415 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 423 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 469 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 517 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void ExecuteBatchTrend();
|
||||
#line 529 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void ExecuteBatchEntry();
|
||||
#line 542 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 561 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 581 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 599 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 621 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 659 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 702 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 774 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 787 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 799 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 851 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
#line 926 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA.mq5"
|
||||
int GetBarShiftByTime(datetime time, ENUM_TIMEFRAMES tf, int default_shift);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,95 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_9E7CFFCE7624C343
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_9E7CFFCE7624C343
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5
|
||||
|
||||
#line 168 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool GetTickContext(TickContext &ctx);
|
||||
#line 192 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void ManageExpiredTrades();
|
||||
#line 211 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void ProcessTrendUpdate(EAState &state);
|
||||
#line 238 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool IsTrendResultReady();
|
||||
#line 251 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void RefreshTrendState(EAState &state);
|
||||
#line 266 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void ProcessEntryUpdate(EAState &state);
|
||||
#line 297 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
string BuildStatusMessage(TickContext &ctx);
|
||||
#line 333 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void UpdateStatusComment(TickContext &ctx);
|
||||
#line 347 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool IsSpreadAllowed(TickContext &ctx);
|
||||
#line 360 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool IsEntryResultReady();
|
||||
#line 373 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void RefreshTargetPrices(EAState &state);
|
||||
#line 389 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void ProcessEntryDecisionIfNeeded(EAState &state, TickContext &ctx);
|
||||
#line 413 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool ShouldRunEntryDecision(EAState &state);
|
||||
#line 429 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool ValidateEntryPreconditions(EAState &state);
|
||||
#line 472 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
int SendAllowedEntryOrders(EAState &state, TickContext &ctx);
|
||||
#line 509 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool TrySendEntryOrder(const int orderType, EAState &state, TickContext &ctx);
|
||||
#line 553 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
string EntryTypeName(const int orderType);
|
||||
#line 580 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
double CurrentPriceForOrderType(const int orderType, TickContext &ctx);
|
||||
#line 601 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool IsTargetPriceOrderConditionMatched(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 633 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void UpdateEntryRetryState(EAState &state, const int sent_success);
|
||||
#line 662 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 682 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 698 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 720 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 774 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 829 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool ExecuteBatchTrend();
|
||||
#line 859 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool ExecuteBatchEntry();
|
||||
#line 889 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 922 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 956 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 981 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 1015 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 1060 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 1113 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 1191 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 1210 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 1229 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool IsOrderTypeAllowedByTrend(const int orderType, const int trend_state);
|
||||
#line 1251 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool HasValidTargetPrices(const double en, const double tp, const double sl);
|
||||
#line 1264 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
int CountMyPendingOrders();
|
||||
#line 1297 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
int CountMyPositions();
|
||||
#line 1327 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
int CountMyUsed();
|
||||
#line 1343 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 1402 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
#line 1487 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor.mq5"
|
||||
int GetBarShiftByTime(datetime time, ENUM_TIMEFRAMES tf, int default_shift);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,129 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_4914830B59E597AA
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_4914830B59E597AA
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5
|
||||
|
||||
#line 245 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool GetTickContext(TickContext &ctx);
|
||||
#line 269 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ManageExpiredTrades();
|
||||
#line 288 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ProcessTrendUpdate(EAState &state);
|
||||
#line 315 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsTrendResultReady();
|
||||
#line 328 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void RefreshTrendState(EAState &state);
|
||||
#line 343 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ProcessEntryUpdate(EAState &state);
|
||||
#line 374 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
string BuildStatusMessage(TickContext &ctx);
|
||||
#line 410 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void UpdateStatusComment(TickContext &ctx);
|
||||
#line 424 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsSpreadAllowed(TickContext &ctx);
|
||||
#line 437 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsEntryResultReady();
|
||||
#line 450 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void RefreshTargetPrices(EAState &state);
|
||||
#line 466 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ProcessEntryDecisionIfNeeded(EAState &state, TickContext &ctx);
|
||||
#line 490 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool ShouldRunEntryDecision(EAState &state);
|
||||
#line 506 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool ValidateEntryPreconditions(EAState &state);
|
||||
#line 549 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
int SendAllowedEntryOrders(EAState &state, TickContext &ctx);
|
||||
#line 586 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool TrySendEntryOrder(const int orderType, EAState &state, TickContext &ctx);
|
||||
#line 633 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
string EntryTypeName(const int orderType);
|
||||
#line 660 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
double CurrentPriceForOrderType(const int orderType, TickContext &ctx);
|
||||
#line 681 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsTargetPriceOrderConditionMatched(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 715 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool MeetsTradeDistanceRules(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 765 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void UpdateEntryRetryState(EAState &state, const int sent_success);
|
||||
#line 794 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 814 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 830 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 843 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void CreateRunningFile(const string name, const uint process_id);
|
||||
#line 864 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void DeleteRunningFile(const string name);
|
||||
#line 879 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
datetime LoadRunningStartedAt(const string name);
|
||||
#line 905 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
uint LoadRunningProcessId(const string name);
|
||||
#line 938 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsRunningFileTimedOut(const string name);
|
||||
#line 950 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ResetExternalProcessState(ExternalProcessState &process);
|
||||
#line 966 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool AttachRunningProcess(const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 994 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool UpdateExternalProcessStatus(ExternalProcessState &process, const string label);
|
||||
#line 1030 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsExternalProcessTimedOut(ExternalProcessState &process, const string running_file);
|
||||
#line 1044 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool StartBatchProcess(const string bat_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1100 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void PrepareDoneFileOnInit(const string done_file, const string running_file, const string label);
|
||||
#line 1133 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsProcessResultReady(const string done_file, const string running_file, const string result_file, const string label, ExternalProcessState &process);
|
||||
#line 1179 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsProcessStartAllowed(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1234 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void RecoverTimedOutPythonProcesses();
|
||||
#line 1262 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool RecoverTimedOutProcess(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1325 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 1380 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 1436 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool ExecuteBatchTrend();
|
||||
#line 1455 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool ExecuteBatchEntry();
|
||||
#line 1474 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 1508 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 1543 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 1568 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 1602 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 1647 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 1700 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 1779 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 1797 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
void ApplyPendingOrderExpiration(MqlTradeRequest &request);
|
||||
#line 1836 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 1855 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool IsOrderTypeAllowedByTrend(const int orderType, const int trend_state);
|
||||
#line 1877 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool HasValidTargetPrices(const double en, const double tp, const double sl);
|
||||
#line 1890 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
int CountMyPendingOrders();
|
||||
#line 1923 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
int CountMyPositions();
|
||||
#line 1953 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
int CountMyUsed();
|
||||
#line 1969 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 2028 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
#line 2113 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver2.mq5"
|
||||
int GetBarShiftByTime(datetime time, ENUM_TIMEFRAMES tf, int default_shift);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,141 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_9D52C52B2EF1E2BC
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_9D52C52B2EF1E2BC
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5
|
||||
|
||||
#line 267 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool GetTickContext(TickContext &ctx);
|
||||
#line 291 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ManageExpiredTrades();
|
||||
#line 310 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ProcessTrendUpdate(EAState &state);
|
||||
#line 337 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsTrendResultReady();
|
||||
#line 350 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void RefreshTrendState(EAState &state);
|
||||
#line 365 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ProcessEntryUpdate(EAState &state);
|
||||
#line 396 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ProcessM15EntryTimingUpdate();
|
||||
#line 426 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
string BuildStatusMessage(TickContext &ctx);
|
||||
#line 462 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void UpdateStatusComment(TickContext &ctx);
|
||||
#line 476 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
string MarketStateName(const int market_state);
|
||||
#line 508 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsSpreadAllowed(TickContext &ctx);
|
||||
#line 521 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsEntryResultReady();
|
||||
#line 534 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void RefreshTargetPrices(EAState &state);
|
||||
#line 550 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ProcessEntryDecisionIfNeeded(EAState &state, TickContext &ctx);
|
||||
#line 575 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool ShouldRunEntryDecision(EAState &state);
|
||||
#line 591 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool ValidateEntryPreconditions(EAState &state);
|
||||
#line 641 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsTargetCandidateExpired(EAState &state);
|
||||
#line 663 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
int SendAllowedEntryOrders(EAState &state, TickContext &ctx);
|
||||
#line 701 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool TrySendEntryOrder(const int orderType, EAState &state, TickContext &ctx);
|
||||
#line 754 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
string EntryTypeName(const int orderType);
|
||||
#line 781 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
double CurrentPriceForOrderType(const int orderType, TickContext &ctx);
|
||||
#line 802 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsTargetPriceOrderConditionMatched(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 837 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsM15EntryTimingConfirmed(const int orderType, TickContext &ctx, const double en);
|
||||
#line 880 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
double AverageM15Range(const MqlRates &rates[], const int count);
|
||||
#line 914 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsM15SignalAligned(const int orderType, const MqlRates &prev_bar, const MqlRates &last_bar, const double en, const double entry_zone);
|
||||
#line 959 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
double SafeBarRange(const MqlRates &bar);
|
||||
#line 981 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool MeetsTradeDistanceRules(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 1031 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void UpdateEntryRetryState(EAState &state, const int sent_success);
|
||||
#line 1061 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 1081 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 1097 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 1110 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void CreateRunningFile(const string name, const uint process_id);
|
||||
#line 1131 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void DeleteRunningFile(const string name);
|
||||
#line 1146 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
datetime LoadRunningStartedAt(const string name);
|
||||
#line 1172 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
uint LoadRunningProcessId(const string name);
|
||||
#line 1205 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsRunningFileTimedOut(const string name);
|
||||
#line 1217 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ResetExternalProcessState(ExternalProcessState &process);
|
||||
#line 1233 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool AttachRunningProcess(const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1261 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool UpdateExternalProcessStatus(ExternalProcessState &process, const string label);
|
||||
#line 1297 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsExternalProcessTimedOut(ExternalProcessState &process, const string running_file);
|
||||
#line 1311 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool StartBatchProcess(const string bat_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1367 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void PrepareDoneFileOnInit(const string done_file, const string running_file, const string label);
|
||||
#line 1400 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsProcessResultReady(const string done_file, const string running_file, const string result_file, const string label, ExternalProcessState &process);
|
||||
#line 1446 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsProcessStartAllowed(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1501 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void RecoverTimedOutPythonProcesses();
|
||||
#line 1530 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool RecoverTimedOutProcess(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1593 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 1648 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 1704 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool ExecuteBatchTrend();
|
||||
#line 1723 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool ExecuteBatchEntry();
|
||||
#line 1742 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 1776 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 1811 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 1836 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 1870 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 1916 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 1969 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 2048 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 2066 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
void ApplyPendingOrderExpiration(MqlTradeRequest &request);
|
||||
#line 2105 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 2124 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool IsOrderTypeAllowedByTrend(const int orderType, const int trend_state);
|
||||
#line 2157 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool HasValidTargetPrices(const double en, const double tp, const double sl);
|
||||
#line 2170 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
int CountMyPendingOrders();
|
||||
#line 2203 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
int CountMyPositions();
|
||||
#line 2233 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
int CountMyUsed();
|
||||
#line 2249 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 2308 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver3.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,145 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_9E59DBEED0735B14
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_9E59DBEED0735B14
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5
|
||||
|
||||
#line 267 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool GetTickContext(TickContext &ctx);
|
||||
#line 291 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ManageExpiredTrades();
|
||||
#line 310 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ProcessTrendUpdate(EAState &state);
|
||||
#line 337 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsTrendResultReady();
|
||||
#line 350 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void RefreshTrendState(EAState &state);
|
||||
#line 365 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ProcessEntryUpdate(EAState &state);
|
||||
#line 396 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ProcessM15EntryTimingUpdate();
|
||||
#line 426 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
string BuildStatusMessage(TickContext &ctx);
|
||||
#line 462 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void UpdateStatusComment(TickContext &ctx);
|
||||
#line 476 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
string MarketStateName(const int market_state);
|
||||
#line 508 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsSpreadAllowed(TickContext &ctx);
|
||||
#line 521 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsEntryResultReady();
|
||||
#line 534 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void RefreshTargetPrices(EAState &state);
|
||||
#line 550 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ProcessEntryDecisionIfNeeded(EAState &state, TickContext &ctx);
|
||||
#line 575 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool ShouldRunEntryDecision(EAState &state);
|
||||
#line 591 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool ValidateEntryPreconditions(EAState &state);
|
||||
#line 641 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsTargetCandidateExpired(EAState &state);
|
||||
#line 663 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
int SendAllowedEntryOrders(EAState &state, TickContext &ctx);
|
||||
#line 701 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool TrySendEntryOrder(const int orderType, EAState &state, TickContext &ctx);
|
||||
#line 754 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
string EntryTypeName(const int orderType);
|
||||
#line 781 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
double CurrentPriceForOrderType(const int orderType, TickContext &ctx);
|
||||
#line 802 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsTargetPriceOrderConditionMatched(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 837 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsM15EntryTimingConfirmed(const int orderType, TickContext &ctx, const double en);
|
||||
#line 882 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsTrendStopOrderType(const int orderType);
|
||||
#line 897 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
double AverageM15Range(const MqlRates &rates[], const int count);
|
||||
#line 931 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsM15SignalAligned(const int orderType, const MqlRates &prev_bar, const MqlRates &last_bar, const double en, const double entry_zone);
|
||||
#line 976 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
double SafeBarRange(const MqlRates &bar);
|
||||
#line 998 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool MeetsTradeDistanceRules(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 1048 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void UpdateEntryRetryState(EAState &state, const int sent_success);
|
||||
#line 1078 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 1098 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 1114 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 1127 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void CreateRunningFile(const string name, const uint process_id);
|
||||
#line 1148 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void DeleteRunningFile(const string name);
|
||||
#line 1163 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
datetime LoadRunningStartedAt(const string name);
|
||||
#line 1189 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
uint LoadRunningProcessId(const string name);
|
||||
#line 1222 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsRunningFileTimedOut(const string name);
|
||||
#line 1234 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ResetExternalProcessState(ExternalProcessState &process);
|
||||
#line 1250 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool AttachRunningProcess(const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1278 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool UpdateExternalProcessStatus(ExternalProcessState &process, const string label);
|
||||
#line 1314 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsExternalProcessTimedOut(ExternalProcessState &process, const string running_file);
|
||||
#line 1328 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool StartBatchProcess(const string bat_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1384 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void PrepareDoneFileOnInit(const string done_file, const string running_file, const string label);
|
||||
#line 1417 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsProcessResultReady(const string done_file, const string running_file, const string result_file, const string label, ExternalProcessState &process);
|
||||
#line 1463 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsProcessStartAllowed(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1518 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void RecoverTimedOutPythonProcesses();
|
||||
#line 1547 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool RecoverTimedOutProcess(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1610 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 1665 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 1721 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool ExecuteBatchTrend();
|
||||
#line 1740 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool ExecuteBatchEntry();
|
||||
#line 1759 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 1793 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 1828 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 1853 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 1887 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 1933 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 1986 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 2065 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 2083 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
void ApplyPendingOrderExpiration(MqlTradeRequest &request);
|
||||
#line 2122 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 2141 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool IsOrderTypeAllowedByTrend(const int orderType, const int trend_state);
|
||||
#line 2174 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool HasValidTargetPrices(const double en, const double tp, const double sl);
|
||||
#line 2187 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
int CountMyPendingOrders();
|
||||
#line 2220 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
int CountMyPositions();
|
||||
#line 2250 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
int CountMyUsed();
|
||||
#line 2266 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 2325 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
#line 2410 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/python_for_ea/work/HIT-EA_refactor_ver3_restore.mq5"
|
||||
int GetBarShiftByTime(datetime time, ENUM_TIMEFRAMES tf, int default_shift);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,141 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_CA569FC9DF595747
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_CA569FC9DF595747
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5
|
||||
|
||||
#line 267 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool GetTickContext(TickContext &ctx);
|
||||
#line 291 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ManageExpiredTrades();
|
||||
#line 310 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ProcessTrendUpdate(EAState &state);
|
||||
#line 337 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsTrendResultReady();
|
||||
#line 350 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void RefreshTrendState(EAState &state);
|
||||
#line 365 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ProcessEntryUpdate(EAState &state);
|
||||
#line 396 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ProcessM15EntryTimingUpdate();
|
||||
#line 426 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
string BuildStatusMessage(TickContext &ctx);
|
||||
#line 462 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void UpdateStatusComment(TickContext &ctx);
|
||||
#line 476 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
string MarketStateName(const int market_state);
|
||||
#line 508 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsSpreadAllowed(TickContext &ctx);
|
||||
#line 521 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsEntryResultReady();
|
||||
#line 534 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void RefreshTargetPrices(EAState &state);
|
||||
#line 550 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ProcessEntryDecisionIfNeeded(EAState &state, TickContext &ctx);
|
||||
#line 575 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool ShouldRunEntryDecision(EAState &state);
|
||||
#line 591 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool ValidateEntryPreconditions(EAState &state);
|
||||
#line 641 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsTargetCandidateExpired(EAState &state);
|
||||
#line 663 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
int SendAllowedEntryOrders(EAState &state, TickContext &ctx);
|
||||
#line 701 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool TrySendEntryOrder(const int orderType, EAState &state, TickContext &ctx);
|
||||
#line 754 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
string EntryTypeName(const int orderType);
|
||||
#line 781 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
double CurrentPriceForOrderType(const int orderType, TickContext &ctx);
|
||||
#line 802 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsTargetPriceOrderConditionMatched(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 837 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsM15EntryTimingConfirmed(const int orderType, TickContext &ctx, const double en);
|
||||
#line 880 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
double AverageM15Range(const MqlRates &rates[], const int count);
|
||||
#line 914 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsM15SignalAligned(const int orderType, const MqlRates &prev_bar, const MqlRates &last_bar, const double en, const double entry_zone);
|
||||
#line 959 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
double SafeBarRange(const MqlRates &bar);
|
||||
#line 981 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool MeetsTradeDistanceRules(const int orderType, TickContext &ctx, const double en, const double tp, const double sl);
|
||||
#line 1031 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void UpdateEntryRetryState(EAState &state, const int sent_success);
|
||||
#line 1061 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void CreateDoneFile(const string name);
|
||||
#line 1081 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void DeleteDoneFile(const string name);
|
||||
#line 1097 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool CheckDoneFile(const string name);
|
||||
#line 1110 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void CreateRunningFile(const string name, const uint process_id);
|
||||
#line 1131 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void DeleteRunningFile(const string name);
|
||||
#line 1146 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
datetime LoadRunningStartedAt(const string name);
|
||||
#line 1172 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
uint LoadRunningProcessId(const string name);
|
||||
#line 1205 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsRunningFileTimedOut(const string name);
|
||||
#line 1217 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ResetExternalProcessState(ExternalProcessState &process);
|
||||
#line 1233 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool AttachRunningProcess(const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1261 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool UpdateExternalProcessStatus(ExternalProcessState &process, const string label);
|
||||
#line 1297 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsExternalProcessTimedOut(ExternalProcessState &process, const string running_file);
|
||||
#line 1311 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool StartBatchProcess(const string bat_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1367 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void PrepareDoneFileOnInit(const string done_file, const string running_file, const string label);
|
||||
#line 1400 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsProcessResultReady(const string done_file, const string running_file, const string result_file, const string label, ExternalProcessState &process);
|
||||
#line 1446 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsProcessStartAllowed(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1501 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void RecoverTimedOutPythonProcesses();
|
||||
#line 1530 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool RecoverTimedOutProcess(const string done_file, const string running_file, const string label, ExternalProcessState &process);
|
||||
#line 1593 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool GetLatestOHLC(datetime ×[], double &open_prices[], double &high_prices[], double &low_prices[], double &close_prices[], ENUM_TIMEFRAMES tf, int bars_count);
|
||||
#line 1648 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool RecordOHLC(const string filename, const datetime ×[], const double &open_prices[], const double &high_prices[], const double &low_prices[], const double &close_prices[]);
|
||||
#line 1704 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool ExecuteBatchTrend();
|
||||
#line 1723 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool ExecuteBatchEntry();
|
||||
#line 1742 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Trend(EAState &state);
|
||||
#line 1776 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool RecordOHLCAndExecuteBatch_Entry(EAState &state);
|
||||
#line 1811 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool GetTrendState(EAState &state);
|
||||
#line 1836 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void LoadTrendState(int &trend_state);
|
||||
#line 1870 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool GetTargetPrices(EAState &state);
|
||||
#line 1916 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void LoadTargetPrices(double &target_prices[]);
|
||||
#line 1969 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool SendOrder(int orderType, double price, double tp, double sl);
|
||||
#line 2048 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 2066 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
void ApplyPendingOrderExpiration(MqlTradeRequest &request);
|
||||
#line 2105 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
string RequestComment(int orderType);
|
||||
#line 2124 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool IsOrderTypeAllowedByTrend(const int orderType, const int trend_state);
|
||||
#line 2157 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool HasValidTargetPrices(const double en, const double tp, const double sl);
|
||||
#line 2170 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
int CountMyPendingOrders();
|
||||
#line 2203 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
int CountMyPositions();
|
||||
#line 2233 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
int CountMyUsed();
|
||||
#line 2249 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool CancelExpiredOrders();
|
||||
#line 2308 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver4.mq5"
|
||||
bool CloseExpiredPositions();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_2B1E831B48ED62C8
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_2B1E831B48ED62C8
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5
|
||||
|
||||
#line 344 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5"
|
||||
string SLTPBoolText(const bool value);
|
||||
#line 349 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5"
|
||||
void LoadSLTPInputSettings(SLTPManagerPanelSettings &settings);
|
||||
#line 374 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5"
|
||||
bool ApplySLTPSettings(const SLTPManagerPanelSettings &settings, const bool print_summary);
|
||||
#line 420 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5"
|
||||
bool InitializeSLTPManager();
|
||||
#line 444 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver5.mq5"
|
||||
void ManageSLTPPositions();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,35 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_0606879F41E1B67C
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_0606879F41E1B67C
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5
|
||||
|
||||
#line 269 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string MQL5RootPath();
|
||||
#line 280 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string PythonAppDir();
|
||||
#line 291 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string PythonBatchPath(const string filename);
|
||||
#line 302 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
bool IsSafeFileTokenChar(const int ch);
|
||||
#line 316 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string SanitizeFileToken(const string value);
|
||||
#line 341 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string BuildMT5FilePrefix();
|
||||
#line 352 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string PrefixedMT5FileName(const string base_name);
|
||||
#line 366 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
void ConfigurePythonGatewayFileNames();
|
||||
#line 389 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
void ConfigurePythonGatewayPaths();
|
||||
#line 509 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
string SLTPBoolText(const bool value);
|
||||
#line 514 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
void LoadSLTPInputSettings(SLTPManagerPanelSettings &settings);
|
||||
#line 539 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
bool ApplySLTPSettings(const SLTPManagerPanelSettings &settings, const bool print_summary);
|
||||
#line 585 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
bool InitializeSLTPManager();
|
||||
#line 609 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/HIT-EA_refactor_ver6.mq5"
|
||||
void ManageSLTPPositions();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,35 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_A28FB657951C5DDB
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_A28FB657951C5DDB
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5
|
||||
|
||||
#line 250 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string MQL5RootPath();
|
||||
#line 261 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string PythonAppDir();
|
||||
#line 272 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string PythonBatchPath(const string filename);
|
||||
#line 283 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
bool IsSafeFileTokenChar(const int ch);
|
||||
#line 297 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string SanitizeFileToken(const string value);
|
||||
#line 322 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string BuildMT5FilePrefix();
|
||||
#line 333 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string PrefixedMT5FileName(const string base_name);
|
||||
#line 347 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
void ConfigurePythonGatewayFileNames();
|
||||
#line 370 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
void ConfigurePythonGatewayPaths();
|
||||
#line 487 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
string SLTPBoolText(const bool value);
|
||||
#line 492 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
void LoadSLTPInputSettings(SLTPManagerPanelSettings &settings);
|
||||
#line 517 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
bool ApplySLTPSettings(const SLTPManagerPanelSettings &settings, const bool print_summary);
|
||||
#line 563 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
bool InitializeSLTPManager();
|
||||
#line 587 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/HIT-EA_refactor_ver6.mq5"
|
||||
void ManageSLTPPositions();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_91C16B255C7E9289
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_91C16B255C7E9289
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/Charts/HistogramChartSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_59D6116AA23C57CE
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_59D6116AA23C57CE
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/Charts/LineChartSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_2E7990E38B74D88C
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_2E7990E38B74D88C
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/MatrixMult.mq5
|
||||
|
||||
#line 16 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/MatrixMult.mq5"
|
||||
define BLOCK_SIZE 10 bool MatrixMult_CPU(const float &matrix_a[], const float &matrix_b[], float &matrix_c[], const int rows_a, const int cols_a, const int cols_b, ulong &time_cpu);
|
||||
#line 44 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/MatrixMult.mq5"
|
||||
bool MatrixMult_GPU(const float &matrix_a[], const float &matrix_b[], float &matrix1_c[], float &matrix2_c[], const int rows_a, const int cols_a, const int cols_b, const int size_a, const int size_b, const int size_c, ulong &time1_gpu, ulong &time2_gpu);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_8863193ADB2FB42C
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_8863193ADB2FB42C
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/MatrixMult.mq5
|
||||
|
||||
#line 16 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/MatrixMult.mq5"
|
||||
define BLOCK_SIZE 10 bool MatrixMult_CPU(const double &matrix_a[], const double &matrix_b[], double &matrix_c[], const int rows_a, const int cols_a, const int cols_b, ulong &time_cpu);
|
||||
#line 44 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/MatrixMult.mq5"
|
||||
bool MatrixMult_GPU(const double &matrix_a[], const double &matrix_b[], double &matrix1_c[], double &matrix2_c[], const int rows_a, const int cols_a, const int cols_b, const int size_a, const int size_b, const int size_c, ulong &time1_gpu, ulong &time2_gpu);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_341E64FA398F3C31
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_341E64FA398F3C31
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/ObjectChart/ObjChartSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_C003532A3D198092
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_C003532A3D198092
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OrderInfo/OrderInfoSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_354D95DCD3828EA3
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_354D95DCD3828EA3
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/Charts/PieChartSample.mq5
|
||||
|
||||
#line 93 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Canvas/Charts/PieChartSample.mq5"
|
||||
uint RandomRGB(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_73CBA22BCFB6FEDB
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_73CBA22BCFB6FEDB
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/PositionInfo/PositionInfoSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_BB733E31A9114819
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_BB733E31A9114819
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/Remnant 3D/Remnant 3D.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,75 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_44EA2BBDE109222B
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_44EA2BBDE109222B
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5
|
||||
|
||||
#line 229 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ManageSltp();
|
||||
#line 239 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool CheckStopDistance(const ENUM_POSITION_TYPE type, const double new_sl);
|
||||
#line 262 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool CheckTakeProfitDistance(const ENUM_POSITION_TYPE type, const double new_tp);
|
||||
#line 285 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ManageStops(const ENUM_POSITION_TYPE side_filter);
|
||||
#line 351 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void AdjustTakeProfit(const double pips_adjust, const ENUM_POSITION_TYPE side_filter);
|
||||
#line 397 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ApplyFixedSLTP(const ENUM_POSITION_TYPE side_filter);
|
||||
#line 448 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool CollectSideInfo(const ENUM_POSITION_TYPE side, double &avg_price, ulong &tickets[]);
|
||||
#line 479 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ManageBuyBE(const bool show_line);
|
||||
#line 497 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ManageSellBE(const bool show_line);
|
||||
#line 515 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ExecuteSideBreakEven(const ENUM_POSITION_TYPE side, const double avg_price, ulong &tickets[]);
|
||||
#line 532 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void UpdateSideStopLoss(const double line_price, ulong &tickets[], const ENUM_POSITION_TYPE side);
|
||||
#line 563 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ApplyFixedSL(ulong &tickets[], const ENUM_POSITION_TYPE side, const double pips_from_open);
|
||||
#line 595 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool CreatePanel();
|
||||
#line 650 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void CreateLabel(CLabel &label, const string name, const int x, const int y, const string text);
|
||||
#line 668 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void CreateEdit(CEdit &edit, const string name, const int x, const int y);
|
||||
#line 685 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void CreateButton(CButton &button, const string name, const int x, const int y, const int width, const int height, const string text, const color background, const color border, const color text_color);
|
||||
#line 708 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void SetInitialValues();
|
||||
#line 720 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void UpdateInputValues();
|
||||
#line 732 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ApplyPanelValues();
|
||||
#line 753 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void ToggleInputLock();
|
||||
#line 777 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void SetInputsReadOnly(const bool read_only);
|
||||
#line 789 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool ReadPanelDouble(CEdit &edit, const string label, const double min_value, const double max_value, const double fallback, double &out_value);
|
||||
#line 811 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void UpdateToggleButton(CButton &button, const bool state);
|
||||
#line 829 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void UpdateSideLine(const ENUM_POSITION_TYPE side, const bool show_line, const bool has_position, const double avg_price);
|
||||
#line 852 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void DrawLineAndText(const string base, const double price, const color line_color, const string text);
|
||||
#line 883 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void DeleteBreakEvenLine(const string base);
|
||||
#line 889 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool PositionMatches(const ulong ticket);
|
||||
#line 904 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
int CountPositions(const ENUM_POSITION_TYPE side_filter);
|
||||
#line 920 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool TryModifyPosition(const ulong ticket, const double new_sl, const double new_tp, const string reason);
|
||||
#line 944 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
bool IsBetterStop(const ENUM_POSITION_TYPE type, const double current_sl, const double candidate_sl);
|
||||
#line 961 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void Push(ulong &items[], const ulong value);
|
||||
#line 968 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
double NormalizePrice(const double price);
|
||||
#line 975 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
double PipSize(const string symbol);
|
||||
#line 994 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/SLTP_Panel.mq5"
|
||||
void DisplayPanelStatus();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,139 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_FC92D045A9101619
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_FC92D045A9101619
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5
|
||||
|
||||
#line 545 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool EnsureSTHandle(const int slot, const ENUM_TIMEFRAMES tf);
|
||||
#line 581 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
int InitHandles();
|
||||
#line 621 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void UpdateAllSTHandles();
|
||||
#line 630 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool IsTradingTime();
|
||||
#line 667 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void HandleTradingTimeTransition();
|
||||
#line 704 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CreateDoneFlagFile(string fileName);
|
||||
#line 726 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DeleteDoneFlagFile(string fileName);
|
||||
#line 740 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CheckDoneFlagFile(string fileName);
|
||||
#line 751 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ResetPredictionFiles(const bool reset_last_time);
|
||||
#line 786 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool IsSpreadOK(const double limit_points);
|
||||
#line 803 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
TradeSide DecideEntrySide();
|
||||
#line 844 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ExecuteEntry(const TradeSide side);
|
||||
#line 920 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool IsOutOfRange(const string symbol, const ENUM_TIMEFRAMES tf, const int periods, const double max_range);
|
||||
#line 963 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool IsOutOfRangeShort(const string symbol, const ENUM_TIMEFRAMES tf, const int periods, const double max_range);
|
||||
#line 1002 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
double AdjustPoint(string Currency);
|
||||
#line 1032 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DisplayEAValues();
|
||||
#line 1064 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CheckStopDistance(ENUM_POSITION_TYPE type, double price_now, double new_sl);
|
||||
#line 1094 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ManageStops(const ENUM_STOPF_FILTER side_filter);
|
||||
#line 1276 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void HighVolatilityLimit();
|
||||
#line 1487 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
inline int SecToBars(long seconds);
|
||||
#line 1502 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool RunPythonBatch(const string bat_path, const int wait_sec);
|
||||
#line 1538 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void PredictFlg();
|
||||
#line 1643 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool LoadPredictionOutcome(string file_name);
|
||||
#line 1735 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ResetAfterTimeout();
|
||||
#line 1764 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void WriteIndicatorsToFile(string symbol, int timeframe, int count, string filename);
|
||||
#line 2148 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CheckPositions();
|
||||
#line 2188 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
int CountPositions(const ENUM_POSITION_TYPE type, const uint magic);
|
||||
#line 2219 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool PlaceEntryOrder(const TradeSide side, const int current_position, datetime &last_order_time, double limit_price);
|
||||
#line 2334 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool SendOrder(const TradeSide side, double limit_price, double sl, double tp);
|
||||
#line 2416 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CloseTimedPositions(const ENUM_POSITION_TYPE dir, const ENUM_ORDER_TYPE opos);
|
||||
#line 2477 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 2504 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void AdjustTakeProfit(const double pips_adjust, const ENUM_POSITION_TYPE side_filter);
|
||||
#line 2585 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
int EntryTrend(int &out_flag, double &out_st_now, double &out_hull_now, double ¤tOpen, double ¤tAsk);
|
||||
#line 2658 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool SuperTrendDirection(int &out_trend_flag, double &out_value, int buffer_num);
|
||||
#line 2695 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool SuperTrendDirection2nd(int &out_trend_flag, double &out_value, int buffer_num);
|
||||
#line 2734 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool DevBandFilter(double &devbndValue);
|
||||
#line 2769 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool ProcessPairChange(int &st_prev_flg, int &st_flg);
|
||||
#line 2858 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void SetInitialValues();
|
||||
#line 2876 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void UpdateInputValues();
|
||||
#line 3092 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CreatePanel();
|
||||
#line 3719 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void Push(ulong &a[], const ulong v);
|
||||
#line 3735 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DrawLineAndText(const string base, double price, color clr, const string txt, double offset, int shift_bars, bool del);
|
||||
#line 3787 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CollectSideInfo(const string sym, ulong magic, ENUM_POSITION_TYPE side, double &avg, ulong &tickets[]);
|
||||
#line 3819 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DrawSideBreakEvenLine(const string sym, double avg, double buf, ENUM_POSITION_TYPE side);
|
||||
#line 3841 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void UpdateSideLine(ENUM_POSITION_TYPE side, bool show_line, bool has_pos, double avg_price);
|
||||
#line 3867 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void UpdateSideStopLoss(const string sym, const double line_price, ulong &tickets[], const ENUM_POSITION_TYPE side);
|
||||
#line 3932 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ExecuteSideBreakEven(const ENUM_POSITION_TYPE side, const double avg_price, ulong &tickets[]);
|
||||
#line 3956 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ManageBuyBE(const bool show_line);
|
||||
#line 3993 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ManageSellBE(const bool show_line);
|
||||
#line 4029 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void ApplyFixedSL(ulong &tickets[], const ENUM_POSITION_TYPE side, const double pips_from_open);
|
||||
#line 4082 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CreateRangeLine(const string name, const double price, const color clr);
|
||||
#line 4100 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void EnsureRangeLines();
|
||||
#line 4119 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DeleteRangeLines();
|
||||
#line 4128 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool GetRangePrices(double &upper, double &lower);
|
||||
#line 4145 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
TradeSide HorizonLineRangeCheck();
|
||||
#line 4179 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
string TrainBatPath();
|
||||
#line 4217 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
string PredictBatPath();
|
||||
#line 4611 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CreateToggleButton(const bool state);
|
||||
#line 4636 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void RefreshButtonAppearance(const bool state);
|
||||
#line 4650 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void DebugCheck(bool buycheck);
|
||||
#line 4710 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CheckDevBandFilter(double &devbndValue);
|
||||
#line 4745 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
bool CheckPlaceEntryOrder(const TradeSide side);
|
||||
#line 4812 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CheckExecuteEntry(const TradeSide side);
|
||||
#line 4912 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CheckEntryTrend();
|
||||
#line 4926 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CheckSuperTrend(int buffer_num);
|
||||
#line 4944 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_153540.mq5"
|
||||
void CheckSuperTrendSecond(int buffer_num);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,139 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_6D58833B3F6D6F70
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_6D58833B3F6D6F70
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5
|
||||
|
||||
#line 545 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool EnsureSTHandle(const int slot, const ENUM_TIMEFRAMES tf);
|
||||
#line 581 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
int InitHandles();
|
||||
#line 621 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void UpdateAllSTHandles();
|
||||
#line 630 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool IsTradingTime();
|
||||
#line 667 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void HandleTradingTimeTransition();
|
||||
#line 704 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CreateDoneFlagFile(string fileName);
|
||||
#line 726 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DeleteDoneFlagFile(string fileName);
|
||||
#line 740 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CheckDoneFlagFile(string fileName);
|
||||
#line 751 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ResetPredictionFiles(const bool reset_last_time);
|
||||
#line 786 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool IsSpreadOK(const double limit_points);
|
||||
#line 803 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
TradeSide DecideEntrySide();
|
||||
#line 844 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ExecuteEntry(const TradeSide side);
|
||||
#line 920 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool IsOutOfRange(const string symbol, const ENUM_TIMEFRAMES tf, const int periods, const double max_range);
|
||||
#line 963 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool IsOutOfRangeShort(const string symbol, const ENUM_TIMEFRAMES tf, const int periods, const double max_range);
|
||||
#line 1002 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
double AdjustPoint(string Currency);
|
||||
#line 1032 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DisplayEAValues();
|
||||
#line 1064 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CheckStopDistance(ENUM_POSITION_TYPE type, double price_now, double new_sl);
|
||||
#line 1094 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ManageStops(const ENUM_STOPF_FILTER side_filter);
|
||||
#line 1276 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void HighVolatilityLimit();
|
||||
#line 1487 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
inline int SecToBars(long seconds);
|
||||
#line 1502 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool RunPythonBatch(const string bat_path, const int wait_sec);
|
||||
#line 1538 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void PredictFlg();
|
||||
#line 1643 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool LoadPredictionOutcome(string file_name);
|
||||
#line 1735 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ResetAfterTimeout();
|
||||
#line 1764 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void WriteIndicatorsToFile(string symbol, int timeframe, int count, string filename);
|
||||
#line 2148 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CheckPositions();
|
||||
#line 2188 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
int CountPositions(const ENUM_POSITION_TYPE type, const uint magic);
|
||||
#line 2219 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool PlaceEntryOrder(const TradeSide side, const int current_position, datetime &last_order_time, double limit_price);
|
||||
#line 2334 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool SendOrder(const TradeSide side, double limit_price, double sl, double tp);
|
||||
#line 2416 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CloseTimedPositions(const ENUM_POSITION_TYPE dir, const ENUM_ORDER_TYPE opos);
|
||||
#line 2477 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
ENUM_ORDER_TYPE_FILLING GetOrderFillingPolicy(string symbol);
|
||||
#line 2504 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void AdjustTakeProfit(const double pips_adjust, const ENUM_POSITION_TYPE side_filter);
|
||||
#line 2585 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
int EntryTrend(int &out_flag, double &out_st_now, double &out_hull_now, double ¤tOpen, double ¤tAsk);
|
||||
#line 2658 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool SuperTrendDirection(int &out_trend_flag, double &out_value, int buffer_num);
|
||||
#line 2695 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool SuperTrendDirection2nd(int &out_trend_flag, double &out_value, int buffer_num);
|
||||
#line 2734 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool DevBandFilter(double &devbndValue);
|
||||
#line 2769 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool ProcessPairChange(int &st_prev_flg, int &st_flg);
|
||||
#line 2858 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void SetInitialValues();
|
||||
#line 2876 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void UpdateInputValues();
|
||||
#line 3092 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CreatePanel();
|
||||
#line 3719 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void Push(ulong &a[], const ulong v);
|
||||
#line 3735 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DrawLineAndText(const string base, double price, color clr, const string txt, double offset, int shift_bars, bool del);
|
||||
#line 3787 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CollectSideInfo(const string sym, ulong magic, ENUM_POSITION_TYPE side, double &avg, ulong &tickets[]);
|
||||
#line 3819 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DrawSideBreakEvenLine(const string sym, double avg, double buf, ENUM_POSITION_TYPE side);
|
||||
#line 3841 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void UpdateSideLine(ENUM_POSITION_TYPE side, bool show_line, bool has_pos, double avg_price);
|
||||
#line 3867 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void UpdateSideStopLoss(const string sym, const double line_price, ulong &tickets[], const ENUM_POSITION_TYPE side);
|
||||
#line 3932 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ExecuteSideBreakEven(const ENUM_POSITION_TYPE side, const double avg_price, ulong &tickets[]);
|
||||
#line 3956 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ManageBuyBE(const bool show_line);
|
||||
#line 3993 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ManageSellBE(const bool show_line);
|
||||
#line 4029 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void ApplyFixedSL(ulong &tickets[], const ENUM_POSITION_TYPE side, const double pips_from_open);
|
||||
#line 4082 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CreateRangeLine(const string name, const double price, const color clr);
|
||||
#line 4100 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void EnsureRangeLines();
|
||||
#line 4119 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DeleteRangeLines();
|
||||
#line 4128 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool GetRangePrices(double &upper, double &lower);
|
||||
#line 4145 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
TradeSide HorizonLineRangeCheck();
|
||||
#line 4179 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
string TrainBatPath();
|
||||
#line 4217 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
string PredictBatPath();
|
||||
#line 4611 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CreateToggleButton(const bool state);
|
||||
#line 4636 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void RefreshButtonAppearance(const bool state);
|
||||
#line 4650 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void DebugCheck(bool buycheck);
|
||||
#line 4710 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CheckDevBandFilter(double &devbndValue);
|
||||
#line 4745 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
bool CheckPlaceEntryOrder(const TradeSide side);
|
||||
#line 4812 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CheckExecuteEntry(const TradeSide side);
|
||||
#line 4912 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CheckEntryTrend();
|
||||
#line 4926 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CheckSuperTrend(int buffer_num);
|
||||
#line 4944 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/.cache/SLTP_Panel_original_20260503_171108.mq5"
|
||||
void CheckSuperTrendSecond(int buffer_num);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_2803837B848A49C7
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_2803837B848A49C7
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Seascape/Seascape.mq5
|
||||
|
||||
#line 17 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Seascape/Seascape.mq5"
|
||||
bool ModelInitialize(int &cl_ctx, int &cl_prg, int &cl_krn, int &cl_mem);
|
||||
#line 76 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Seascape/Seascape.mq5"
|
||||
bool ModelResize(const int cl_ctx, const int cl_krn, int &cl_mem);
|
||||
#line 108 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Seascape/Seascape.mq5"
|
||||
void ModelShutdown(int cl_ctx, int cl_prg, int cl_krn, int cl_mem);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_5ACB5DC3B62295AE
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_5ACB5DC3B62295AE
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/ObjectSphere/SphereSample.mq5
|
||||
|
||||
#line 32 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/ObjectSphere/SphereSample.mq5"
|
||||
int Init(void);
|
||||
#line 55 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/ObjectSphere/SphereSample.mq5"
|
||||
void Deinit(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_913F84D0A480706B
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_913F84D0A480706B
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/SuperTrend_Custom.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_0091820D9801137D
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_0091820D9801137D
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/SuperTrend_CustomWithOffset.mq5
|
||||
|
||||
#line 91 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/SuperTrend_CustomWithOffset.mq5"
|
||||
double PipPoint(string Currency);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_A2FA19F2F2B00979
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_A2FA19F2F2B00979
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/SuperTrend_Custom_20251203.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_B7AE972329AA640F
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_B7AE972329AA640F
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/SymbolInfo/SymbolInfoSample.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,65 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_76E6C7C5F947CA70
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_76E6C7C5F947CA70
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
include <Generic\HashSet.mqh> bool TestAddRange_AsArrayList(const int count, const int add_length);
|
||||
#line 51 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestAddRange_AsArray(const int count, const int add_length);
|
||||
#line 90 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestAddRange_AsNULL(const int count);
|
||||
#line 121 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestAddRange(const string test_name);
|
||||
#line 143 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestBinarySearch_Validations(const int count);
|
||||
#line 177 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestBinarySearch_WithoutDuplicates(const int count);
|
||||
#line 201 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestBinarySearch_WithDuplicates(const int count);
|
||||
#line 227 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestBinarySearch(const string test_name);
|
||||
#line 249 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestIndexOf_NonExistingValues(const int count);
|
||||
#line 268 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestIndexOf_OrderIsCorrect(const int count);
|
||||
#line 300 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestIndexOf_Common(const int count);
|
||||
#line 336 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestIndexOf_OutOfRange(const int count);
|
||||
#line 361 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestIndexOf(const string test_name);
|
||||
#line 387 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc_BasicInsert(const int count);
|
||||
#line 449 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc_InsertRange(const int count);
|
||||
#line 526 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc_Contains(const int count);
|
||||
#line 545 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc_Remove(const int count);
|
||||
#line 568 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc_Clear(const int count);
|
||||
#line 594 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 624 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestRemove_Range(const int count);
|
||||
#line 680 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestRemove_Invalid(const int count);
|
||||
#line 747 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestRemove(const string test_name);
|
||||
#line 765 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestReverse_Range(const int count);
|
||||
#line 829 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestReverse_Invalid(const int count);
|
||||
#line 893 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestReverse(const string test_name);
|
||||
#line 911 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestSort_WithDuplicates(const int count);
|
||||
#line 941 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestSort_Invalid(const int count);
|
||||
#line 976 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
bool TestSort(const string test_name);
|
||||
#line 994 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestArrayList.mq5"
|
||||
void TestArrayList(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_7E6865B26226F42F
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_7E6865B26226F42F
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Alglib/TestClasses.mq5
|
||||
|
||||
#line 708 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Alglib/TestClasses.mq5"
|
||||
string GetElapsed(ulong microseconds);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,47 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_5FE06143237DE253
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_5FE06143237DE253
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5
|
||||
|
||||
#line 34 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
include <Math\Fuzzy\SugenoFuzzySystem.mqh> bool Test_NormalCombinationMembershipFunction();
|
||||
#line 67 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_GeneralizedBellShapedMembershipFunction();
|
||||
#line 91 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_SigmoidalMembershipFunction();
|
||||
#line 114 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_ProductTwoSigmoidalMembershipFunctions();
|
||||
#line 140 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_TrapezoidMembershipFunction();
|
||||
#line 173 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_NormalMembershipFunction();
|
||||
#line 196 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_TriangularMembershipFunction();
|
||||
#line 232 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_ConstantMembershipFunction();
|
||||
#line 254 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_P_S_Z_ShapedMembershipFunction();
|
||||
#line 277 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_Bisector();
|
||||
#line 295 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_Centroid();
|
||||
#line 322 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_Defuzzification();
|
||||
#line 374 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_TipingProblem();
|
||||
#line 439 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool Test_TypicalFuzzyControlSystem();
|
||||
#line 511 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
void AddSugenoFuzzyRule(CSugenoFuzzySystem *fs, CFuzzyVariable *fv1, CFuzzyVariable *fv2, CSugenoVariable *sv, const string value1, const string value2, const string result);
|
||||
#line 527 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool TestMembersipFunctions(const string test_name);
|
||||
#line 573 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool TestDefuzzificationMethods(const string test_name);
|
||||
#line 595 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
bool TestFuzzySystems(const string test_name);
|
||||
#line 613 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
void TestFuzzy(int &tests_performed, int &tests_passed);
|
||||
#line 643 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Fuzzy/TestFuzzy.mq5"
|
||||
void UnitTests(const string package_name);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_BE102765F52275B6
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_BE102765F52275B6
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5"
|
||||
include <Generic\HashMap.mqh> bool TestMisc_Constructor(const int count);
|
||||
#line 43 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5"
|
||||
bool TestMisc_Contains(const int count);
|
||||
#line 86 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5"
|
||||
bool TestMisc_Remove(const int count);
|
||||
#line 137 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 159 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashMap.mq5"
|
||||
void TestHashMap(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_93CEB4A9784F8D93
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_93CEB4A9784F8D93
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashSet.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashSet.mq5"
|
||||
include <Generic\HashSet.mqh> bool TestMisc_Constructor(const int count);
|
||||
#line 42 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashSet.mq5"
|
||||
bool TestMisc_TrimExpress(const int count);
|
||||
#line 102 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashSet.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 120 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestHashSet.mq5"
|
||||
void TestHashSet(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_1F0599A026B84EF4
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_1F0599A026B84EF4
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Alglib/TestInterfaces.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,49 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_F0EAFCB070990DCB
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_F0EAFCB070990DCB
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
include <Generic\ArrayList.mqh> bool TestAddAfter_Node(const int count);
|
||||
#line 213 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddAfter_Node_Negative(const int count);
|
||||
#line 256 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddAfter(const string test_name);
|
||||
#line 275 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddBefore_Node(const int count);
|
||||
#line 482 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddBefore_Node_Negative(const int count);
|
||||
#line 525 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddBefore(const string test_name);
|
||||
#line 544 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddFirst_Node(const int count);
|
||||
#line 678 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddFirst_Node_Negative(const int count);
|
||||
#line 733 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddFirst(const string test_name);
|
||||
#line 751 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddLast_Node(const int count);
|
||||
#line 872 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddLast_Node_Negative(const int count);
|
||||
#line 927 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestAddLast(const string test_name);
|
||||
#line 945 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestConstructor_Complex(const int count);
|
||||
#line 980 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestConstructor(const string test_name);
|
||||
#line 994 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc_Find(const int count);
|
||||
#line 1160 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc_FindLast(const int count);
|
||||
#line 1326 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc_RemoveNode(const int count);
|
||||
#line 1646 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc_RemoveFirst(const int count);
|
||||
#line 1770 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc_RemoveLast(const int count);
|
||||
#line 1899 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 1929 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestLinkedList.mq5"
|
||||
void TestLinkedList(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_9FBBF7ABE49E50A5
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_9FBBF7ABE49E50A5
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
include <Generic\ArrayList.mqh> bool TestConstructor_Valid(const int count);
|
||||
#line 49 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestConstructor_Invalid(const int count);
|
||||
#line 65 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestConstructor(const string test_name);
|
||||
#line 83 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestMisc_Dequeue(const int count);
|
||||
#line 105 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestMisc_Peek(const int count);
|
||||
#line 126 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestMisc_Complex(const int count);
|
||||
#line 160 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestMisc_TrimExcess(const int count);
|
||||
#line 198 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 224 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestQueue.mq5"
|
||||
void TestQueue(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,31 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_285A3D310E563F12
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_285A3D310E563F12
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5
|
||||
|
||||
#line 12 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
include <Generic\HashSet.mqh> bool TestMisc_Constructor(const int count);
|
||||
#line 48 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestMisc_Contains(const int count);
|
||||
#line 80 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestMisc_Add(const int count);
|
||||
#line 106 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 128 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestFind_Max(const int count);
|
||||
#line 153 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestFind_Min(const int count);
|
||||
#line 178 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestFind(const string test_name);
|
||||
#line 196 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestRemove_Node(const int count);
|
||||
#line 242 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestRemove_Max(const int count);
|
||||
#line 270 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestRemove_Min(const int count);
|
||||
#line 298 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
bool TestRemove(const string test_name);
|
||||
#line 320 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestRedBlackTree.mq5"
|
||||
void TestRedBlackTree(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_F0CDE49CD36EE893
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_F0CDE49CD36EE893
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5"
|
||||
include <Generic\SortedMap.mqh> bool TestMisc_Constructor(const int count);
|
||||
#line 43 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5"
|
||||
bool TestMisc_Contains(const int count);
|
||||
#line 86 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5"
|
||||
bool TestMisc_Ordering(const int count);
|
||||
#line 138 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 160 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedMap.mq5"
|
||||
void TestSortedMap(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_667F905F7001A8C2
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_667F905F7001A8C2
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedSet.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedSet.mq5"
|
||||
include <Generic\SortedSet.mqh> bool TestMisc_Constructor(const int count);
|
||||
#line 54 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedSet.mq5"
|
||||
bool TestMisc_GetViewBetween(const int count);
|
||||
#line 102 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedSet.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 120 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestSortedSet.mq5"
|
||||
void TestSortedSet(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_5271212BCF47E690
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_5271212BCF47E690
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5
|
||||
|
||||
#line 11 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
include <Generic\ArrayList.mqh> bool TestConstructor_Valid(const int count);
|
||||
#line 49 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestConstructor_Invalid(const int count);
|
||||
#line 65 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestConstructor(const string test_name);
|
||||
#line 83 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestMisc_Pop(const int count);
|
||||
#line 105 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestMisc_Peek(const int count);
|
||||
#line 126 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestMisc_Complex(const int count);
|
||||
#line 160 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestMisc_TrimExcess(const int count);
|
||||
#line 198 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
bool TestMisc(const string test_name);
|
||||
#line 224 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Generic/TestStack.mq5"
|
||||
void TestStack(int &tests_performed, int &tests_passed);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,57 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_C52E756923511659
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_C52E756923511659
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5
|
||||
|
||||
#line 690 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
int GetCorrectDigits(const double delta);
|
||||
#line 721 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestBinomialDistribution(string test_name, const double n, const double probability, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 905 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestBetaDistribution(string test_name, const double a, const double b, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 1089 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestGammaDistribution(string test_name, const double a, const double b, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 1273 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestCauchyDistribution(string test_name, const double a, const double b, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 1451 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestExponentialDistribution(string test_name, const double mu, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 1635 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestUnifromDistribution(string test_name, const double a, const double b, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 1819 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestGeometricDistribution(string test_name, const double p, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2003 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestHypergeometricDistribution(string test_name, const double m, const double k, const double n, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2187 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestLogisticDistribution(string test_name, const double mu, const double sigma, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2371 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestWeibullDistribution(string test_name, const double a, const double b, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2555 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestPoissonDistribution(string test_name, const double lambda, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2739 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestFDistribution(string test_name, const double nu1, const double nu2, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 2924 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestChiSquareDistribution(string test_name, const double nu, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 3108 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNoncentralChiSquareDistribution(string test_name, const double nu, const double sigma, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 3293 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNoncentralFDistribution(string test_name, const double nu1, const double nu2, const double sigma, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 3478 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNoncentralBetaDistribution(string test_name, const double a, const double b, const double lambda, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 3663 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNegativeBinomialDistribution(string test_name, const double r, const double p, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 3847 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestTDistribution(string test_name, const double nu, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 4031 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNoncentralTDistribution(string test_name, const double nu, const double delta, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 4215 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestNormalDistribution(string test_name, const double mu, const double sigma, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 4400 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
bool TestLognormalDistribution(string test_name, const double mu, const double sigma, const double &x_values[], const double &pdf_values[], const double &cdf_values[], precision_info &precision);
|
||||
#line 4584 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
void ShowPrecisionInfo(const string distribution, precision_info &precision);
|
||||
#line 4596 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
void TestDistributions(int &tests_performed, int &tests_passed);
|
||||
#line 4837 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStat.mq5"
|
||||
void UnitTests(const string package_name);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,55 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_A4CE858F6174B574
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_A4CE858F6174B574
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5
|
||||
|
||||
#line 71 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
define AverageCount 1000 void ShowBenchmarkInfo(const string test_info, benchmark_info &benchmark);
|
||||
#line 85 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
void CalculateStatisticalProperties(benchmark_info &benchmark, double &pdf_times[], double &cdf_times[], double &quantile_times[], double &random_times[]);
|
||||
#line 121 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkBinomial(benchmark_info &benchmark_binomial, int &tests_performed, int &tests_passed);
|
||||
#line 184 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkBeta(benchmark_info &benchmark_beta, int &tests_performed, int &tests_passed);
|
||||
#line 249 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkGamma(benchmark_info &benchmark_gamma, int &tests_performed, int &tests_passed);
|
||||
#line 314 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkCauchy(benchmark_info &benchmark_cauchy, int &tests_performed, int &tests_passed);
|
||||
#line 379 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkExponential(benchmark_info &benchmark_exponential, int &tests_performed, int &tests_passed);
|
||||
#line 443 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkUniform(benchmark_info &benchmark_uniform, int &tests_performed, int &tests_passed);
|
||||
#line 508 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkGeometric(benchmark_info &benchmark_geometric, int &tests_performed, int &tests_passed);
|
||||
#line 572 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkHypergeometric(benchmark_info &benchmark_hypergeometric, int &tests_performed, int &tests_passed);
|
||||
#line 638 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkLogistic(benchmark_info &benchmark_logistic, int &tests_performed, int &tests_passed);
|
||||
#line 703 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkWeibull(benchmark_info &benchmark_weibull, int &tests_performed, int &tests_passed);
|
||||
#line 768 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkPoisson(benchmark_info &benchmark_poisson, int &tests_performed, int &tests_passed);
|
||||
#line 832 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkF(benchmark_info &benchmark_f, int &tests_performed, int &tests_passed);
|
||||
#line 897 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkChiSquare(benchmark_info &benchmark_chisquare, int &tests_performed, int &tests_passed);
|
||||
#line 961 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNoncentralChiSquare(benchmark_info &benchmark_noncentral_chisquare, int &tests_performed, int &tests_passed);
|
||||
#line 1026 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNoncentralF(benchmark_info &benchmark_noncentral_f, int &tests_performed, int &tests_passed);
|
||||
#line 1092 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNoncentralBeta(benchmark_info &benchmark_noncentral_beta, int &tests_performed, int &tests_passed);
|
||||
#line 1158 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNegativeBinomial(benchmark_info &benchmark_negative_binomial, int &tests_performed, int &tests_passed);
|
||||
#line 1223 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkT(benchmark_info &benchmark_t, int &tests_performed, int &tests_passed);
|
||||
#line 1287 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNoncentralT(benchmark_info &benchmark_noncentral_t, int &tests_performed, int &tests_passed);
|
||||
#line 1353 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkNormal(benchmark_info &benchmark_normal, int &tests_performed, int &tests_passed);
|
||||
#line 1420 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
bool CalculateBenchmarkLognormal(benchmark_info &benchmark_lognormal, int &tests_performed, int &tests_passed);
|
||||
#line 1487 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatBenchmark.mq5"
|
||||
void CalculateBenchmarks(string package_name);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_BFB129A2D4624852
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_BFB129A2D4624852
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatPrecision.mq5
|
||||
|
||||
#line 80 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatPrecision.mq5"
|
||||
int GetCorrectDigits(const double delta);
|
||||
#line 101 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/UnitTests/Stat/TestStatPrecision.mq5"
|
||||
void TestPrecision(const string comment, const double pdf, const double cdf, const double pdf_calculated, const double cdf_calculated);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_C4D984B7A8F9E5BD
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_C4D984B7A8F9E5BD
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/TradingPanel.mq5
|
||||
|
||||
#line 219 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/TradingPanel.mq5"
|
||||
bool IsTradingTime();
|
||||
#line 256 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/TradingPanel.mq5"
|
||||
void HandleTradingTimeTransition();
|
||||
#line 292 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Files/temp/TradingPanel.mq5"
|
||||
void DisplayEAValues();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_F6A6A516F36ED9AC
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_F6A6A516F36ED9AC
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/TradingPanel.mq5
|
||||
|
||||
#line 219 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/TradingPanel.mq5"
|
||||
bool IsTradingTime();
|
||||
#line 256 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/TradingPanel.mq5"
|
||||
void HandleTradingTimeTransition();
|
||||
#line 292 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Experts/MyProject/TradingPanel.mq5"
|
||||
void DisplayEAValues();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_FE5807CDA84A867B
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_FE5807CDA84A867B
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/Wavelet.mq5
|
||||
|
||||
#line 294 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/Wavelet.mq5"
|
||||
double Weirstrass(double x, double a, double b);
|
||||
#line 311 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/Wavelet.mq5"
|
||||
void PrepareModelData(double &price_data[], const int datacount);
|
||||
#line 326 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/Wavelet.mq5"
|
||||
void PreparePriceData(const string symbol, ENUM_TIMEFRAMES timeframe, double &price_data[], const int datacount);
|
||||
#line 334 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Double/Wavelet.mq5"
|
||||
void PrepareMomentumData(double &price_data[], double &momentum_data[], const int momentum_period);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_FFD23185C8FA7332
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_FFD23185C8FA7332
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/Wavelet.mq5
|
||||
|
||||
#line 288 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/Wavelet.mq5"
|
||||
float Weirstrass(float x, float a, float b);
|
||||
#line 305 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/Wavelet.mq5"
|
||||
void PrepareModelData(float &price_data[], const int datacount);
|
||||
#line 320 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/Wavelet.mq5"
|
||||
void PreparePriceData(const string symbol, ENUM_TIMEFRAMES timeframe, float &price_data[], const int datacount);
|
||||
#line 336 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Scripts/Examples/OpenCL/Float/Wavelet.mq5"
|
||||
void PrepareMomentumData(float &price_data[], float &momentum_data[], const int momentum_period);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_66C47364059C2765
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_66C47364059C2765
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/MyProject/eATR.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_C83C4339A8613F40
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_C83C4339A8613F40
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/eSuperTrend.mq5
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_1FA3998C331B62BF
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_1FA3998C331B62BF
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/eSuperTrendWithOffset.mq5
|
||||
|
||||
#line 89 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/eSuperTrendWithOffset.mq5"
|
||||
double PipPoint(string Currency);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef MQL_AUTO_FORWARDS_INCLUDED_CCD19995C6662ABE
|
||||
#define MQL_AUTO_FORWARDS_INCLUDED_CCD19995C6662ABE
|
||||
// Auto-generated by MQL Clangd. Do not edit — regenerated by "MQL: Create Configuration".
|
||||
// Forward declarations for top-level functions in c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/eSuperTrendWithOffset2.mq5
|
||||
|
||||
#line 101 "c:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Indicators/eSuperTrendWithOffset2.mq5"
|
||||
double PipPoint(string Currency);
|
||||
|
||||
#endif
|
||||
Vendored
+20
@@ -23,5 +23,25 @@
|
||||
"editor.tabSize": 3,
|
||||
"C_Cpp.default.forcedInclude": [
|
||||
"c:\\Users\\new\\.vscode\\extensions\\l-i-v.mql-tools-2.2.0\\data\\mql5_en.mqh"
|
||||
],
|
||||
"clangd.fallbackFlags": [
|
||||
"-xc++",
|
||||
"-std=c++17",
|
||||
"-D__MQL__",
|
||||
"-D__MQL5__",
|
||||
"-includec:/Users/new/.cursor/extensions/ngsoftware.mql-clangd-1.1.55-universal/files/mql_clangd_compat.h",
|
||||
"-fms-extensions",
|
||||
"-fms-compatibility",
|
||||
"-ferror-limit=0",
|
||||
"-Wno-invalid-token-paste",
|
||||
"-Wno-unused-value",
|
||||
"-Wno-unknown-pragmas",
|
||||
"-Wno-writable-strings",
|
||||
"-Xclang",
|
||||
"-Wno-invalid-pp-directive",
|
||||
"-Wno-unknown-directives",
|
||||
"-Wno-language-extension-token",
|
||||
"-Ic:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5",
|
||||
"-Ic:/Users/new/AppData/Roaming/MetaQuotes/Terminal/5BDB0B60344C088C2FA5CA35699BAAFD/MQL5/Include"
|
||||
]
|
||||
}
|
||||
+3559
-3321
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user