Files
EA_with_Python/.mql-auto-forwards/SLTP_Panel.44ea2bbd.auto.mqh
T

76 lines
6.8 KiB
Plaintext

#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