Files
EA_with_Python/.mql-auto-forwards/HIT-EA_refactor.9e7cffce.auto.mqh
T

96 lines
8.3 KiB
Plaintext

#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 &times[], 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 &times[], 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