MAGrid initial commit. First position and orders

This commit is contained in:
Nkondog Anselme
2021-11-23 02:04:41 +01:00
parent 46a2c49025
commit 8afa56f9cb
22 changed files with 698 additions and 42 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ void InitializeVariables()
void CheckSpread()
{
//Get the current spread in points, the (int) transforms the double coming from MarketInfo into an integer to avoid a warning when compiling
double SpreadCurr=Spread;
long SpreadCurr=Spread;
Print("Spread ", SpreadCurr);
if(SpreadCurr<=MaxSpread)
{