Auftrag beendet
Spezifikation
Hey guys, i'm looking for someone who can help me find out where i made mistakes in coding.
First at all i'm gonna explain how mine expert "TONY VIP V2 2.05 new multi.mq5" works:
i have custom indicator which thanks to Dll gives levels (supports and rezistences) on daily base.
it is paid indicator which i don't have a source code, so i decided to create mine own indicator "Antonio-V4.mq5" which can makes new indicator with levels my expert can work with in backtest and run it on actual chart same time.
For backtesting i have to make manually data file (txt) with levels(suports and resistences for each day in history with date and time from 9am first day to 9am second day to simulate "original indicator" which gives levels every 24 hours)for example "AUD-USD.txt" and my indicator create new indicator which my expert can trade). Indicators makes levels from text, finding theese words from data file: "nabídka" = resistence, "poptávka" = support. i copy data in Czech language.
"i had to create that indicator because i want to have a possibility to optimize my expert"
so my problem is that in strategy backtester expert works good, but if i want to run expert i am getting ERROR INIT out of array !!!!! or it does not open trades even with created indicator with actual data levels.
data file (txt) has a format for levels to simulate real"original indicator" levels has date and time from first day 9 am to 9am second day and so on. Probably somewhere here is the biggest problem, because expert in backtesting trying to trade future data( today it trades "tomorrow's levels" :D)
-it is picture of original paid indicator with levels.
-it is picture of data levels created by mine indicator
How mine indicator " Antonio-V4" works : Put data files with levels to MQL5 folder " Files" (AUD-USD.txt) , than put indicator to chart and fill name of data file (write exactly how it's named, even capital letters and special signs"AUD-USD") and than write name of new indicator ( it is important for expert)
after that Indicator creates new indicators and you can find them in MQL5 folder "Files" than you have to move them to MQL5 folder "Indicators" and compile them all.
How to set input for backtest: important it is just write symbol "AUDUSD" because it is multicurrency expert.
and than you have to writte name of created indicator.
other inputs are not important.
All Library:
TONY VIP V2 2.05 new multi.mq5 MQL5/Experts
Antonio-V4.mq5 MQL5/Indicators
AUD-USD.txt MQL5/Files
Simple 1.mqh MQL5/Include
Simple 2.mqh MQL5/Include