test003/test003.mq5
super.admin 2dc751ad5d convert
2025-05-30 16:29:12 +02:00

47 lines
2 KiB
MQL5

//+------------------------------------------------------------------+
//| test002.mq5 |
//| Copyright 2024, PG |
//| free01.homepc.it |
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
#property copyright "Copyright 2024, PG"
#property link "free01.homepc.it"
#property version "1.00"
#include <Trade\Trade.mqh>;
#include "miei\MyClasses.mqh";
CTrade trade;
//+------------------------------------------------------------------+
//| Expert initialization input parameters |
//+------------------------------------------------------------------+
input int TakeProfit = 150;
input int StopLoss = 100;
Initialize Inizializzazione;
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
void OnInit()
{
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
Logic Logica();
//Logica.EseguiLogica(Inizializzazione);
//Logica.Candles();
Logica.TestaFunzioni();
}
//+------------------------------------------------------------------+