AnotherQuotes

Author: Copyright 2021, ANO IDS
0 Views
0 Downloads
0 Favorites
AnotherQuotes
ÿþ#property service

#property copyright "Copyright 2021, ANO IDS"

#property link      "https://www.mql5.com"

#property version   "1.0"

#include <Symbol.mqh>//free lib from "fxsaber"

//+------------------------------------------------------------------+

//| Service program start function                                   |

//+------------------------------------------------------------------+

MqlRates rates[];

const SYMBOL Symb("USDRUBnew"); // Create custom symbol



#include"anotherquotes.mqh"



void OnStart()

  { 

    Symb.DeleteHistory();       

    Symb.Delete(true);          

    Symb.Create(NULL, "USDRUB"); 

    

  if (Symb.IsExist() && Symb.On()) 

  {

    Symb.SetProperty(SYMBOL_CURRENCY_PROFIT, AccountInfoString(ACCOUNT_CURRENCY));

    Symb.SetProperty(SYMBOL_CURRENCY_MARGIN, AccountInfoString(ACCOUNT_CURRENCY));

    ChartOpen(Symb.Name, PERIOD_M1); 

   

  }

  

  anotherquotes();//run infinite service for obtain another quotes

  

}  

Comments