ScalerByLeo/Test/FileTest.mq5

24 lines
985 B
MQL5
Raw Permalink Normal View History

2025-12-23 12:36:39 -05:00
//+------------------------------------------------------------------+
2025-12-23 15:48:28 -05:00
//| File1.mq5 |
//| Copyright 2025, MetaQuotes Ltd. |
//| https://www.mql5.com |
2025-12-23 12:36:39 -05:00
//+------------------------------------------------------------------+
2025-12-23 15:48:28 -05:00
#property copyright "Copyright 2025, MetaQuotes Ltd."
#property link "https://www.mql5.com"
2025-12-23 12:36:39 -05:00
#property version "1.00"
#property strict
2025-12-23 16:00:49 -05:00
#include "..\\Src\\ScalerBase.mqh"
2025-12-23 12:36:39 -05:00
2025-12-23 15:48:28 -05:00
#define FILE_NAME "TestScalerFiles\\file.csv"
2025-12-23 12:36:39 -05:00
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//---
2025-12-23 15:48:28 -05:00
MaxMinScaler scaler;
Print(scaler.fit_transform_file(FILE_NAME, ',', FILE_COMMON, true));
2025-12-23 12:36:39 -05:00
}
//+------------------------------------------------------------------+