Done! On backtesting stage

This commit is contained in:
Nkondog Anselme
2022-03-12 19:02:59 +01:00
parent 14ceb7afe6
commit 6f1689c152
5 changed files with 23 additions and 30 deletions
Binary file not shown.
+10 -1
View File
@@ -97,6 +97,11 @@ input int InpPeriods = 21; //Fast periods
input ENUM_MA_METHOD InpMethod = MODE_SMA; //Fast method
input ENUM_APPLIED_PRICE InpAppliedPrice = PRICE_CLOSE; //Fast price
input int InpHtPeriods = 21; //Higher TF periods
input ENUM_MA_METHOD InpHtMethod = MODE_SMA; //Higher TF method
input ENUM_APPLIED_PRICE InpHtAppliedPrice = PRICE_CLOSE; //Higher TF price
input ENUM_TIMEFRAMES InpHtTimeframe = PERIOD_CURRENT; //Timeframe
// Average True Range
input int InpAtrPeriod = 14; //ATR period
input int InpAtrMultiplier = 3; //ATR multiplier
@@ -110,9 +115,13 @@ input int InpNightTradingHourStart=1; //Night Trading Start Hou
input int InpNightTradingHourEnd=5; //Night Trading End Hour (Broker Server Hour)
input string InpComment = __FILE__; //Default trade comment
input int InpMagicNumber = 198901; //Magic Number
input ENUM_TIMEFRAMES InpTimeFrame = PERIOD_CURRENT;
input double InpMinCandleLenght = 25.0; //Min candle length
input int InpCandleWickPercent = 75; //Candle wick percent
string gSymbol = Symbol();
double gAtr, gMa;
double gAtr, gMa, gHtMa;
int gTotalSellPositions, gTotalBuyPositions, gTotalPositions;
bool gIsOperatingHours=false;
@@ -1,27 +0,0 @@
//+------------------------------------------------------------------+
//| TradeManager.mqh |
//| Copyright 2021, Nkondog Anselme Venceslas |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2021, Nkondog Anselme Venceslas"
#property link "https://www.mql5.com"
//+------------------------------------------------------------------+
//| defines |
//+------------------------------------------------------------------+
// #define MacrosHello "Hello, world!"
// #define MacrosYear 2010
//+------------------------------------------------------------------+
//| DLL imports |
//+------------------------------------------------------------------+
// #import "user32.dll"
// int SendMessageA(int hWnd,int Msg,int wParam,int lParam);
// #import "my_expert.dll"
// int ExpertRecalculate(int wParam,int lParam);
// #import
//+------------------------------------------------------------------+
//| EX5 imports |
//+------------------------------------------------------------------+
// #import "stdlib.ex5"
// string ErrorDescription(int error_code);
// #import
//+------------------------------------------------------------------+