CSV > MT4 HistFile Export

MQL4 专家

工作已完成

执行时间1 一天

指定

Hi there,

the perfect Task for Sunday.

I have a simple Task. I am looking for a converter from CSV to a MT4 hist file.

The Format of the CSV File:

Symbol | Date (dd/MM/yyyy) | Time (HH:MM:SS) | Open | High | Low | Close | Volume

The filename of the Offline should be: Symbol & M2 or M3 that should be specified as parameter of the EA.

A code snip for creating the Hist-File can be found in the RenkoLiveChart_v3.2.mq4 code:

void DoWriteStruct(datetime dtTime, double dOpen, double dHigh, double dLow, double dClose, double dVol)
{
   iRcdCnt++;
   static int iErr = 0;
   static int iBWritn = 0;
   //static int iLastFPos = 0;
   MqlRates rate;
   rate.time = dtTime;
   rate.open = dOpen;
   rate.high = dHigh;
   rate.low = dLow;
   rate.close = dClose;
   rate.tick_volume = (long)dVol;
   rate.spread = 0;
   rate.real_volume = (long)dVol;
   iBWritn = FileWriteStruct(HstHandle,rate);
   if(iBWritn == 0)
   {
      iErr = GetLastError();
      Print("Error on write struct at cntr: " + iRcdCnt + ", errdesc: " + ErrorDescription(iErr));
      bStopAll = true;
   }
   //FileFlush(HstHandle);
   //iLastFPos = FileTell(HstHandle);
   //Print(iRcdCnt + ", last pos: " + iLastFPos + ", Bwritn: " + iBWritn);
   return;
}

The time must have the second resolution.

Regards

Michael



附加的文件:

ZIP
CSV_files.zip
91.7 Kb

反馈

1
开发者 1
等级
(98)
项目
134
64%
仲裁
6
17% / 67%
逾期
32
24%
空闲
相似订单
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
Trade Manger EA 30+ USD
Hello Programmer! I am looking to build an EA that will place my trade and manage it. Once i have manually found my setup, I will want an EA to open the trade, set the R:R and manage it according to my specifications. please take a look at the attached to get an Idea of what I would like. I will require the source code once completed
Hello there i need someone who will create a robot that will calculate the movement between buy/sell and show where to take profit the robot should work with all currency and indices including stock
EA to send account history to web request. It should send every 5 mins or when there is an update. It then sends the json to a web request where gain, drawdown, balance, equity will be displayed
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable

项目信息

预算
30- USD
截止日期
 1 天