Simple EA to calculate History W/L

MQL4 Experts

Spécifications

Looking for a simple EA with open code with the oppertunity to put custom code, like a custom indicator into it and make a history Backtest.
Something like
Vars
StartTime =6;//0 means all
EndTime=20;//0 means all
maxbars =0; //0 means all
Target_Type=1; // can be 1 for fixed values or 2 for Fibonacci Values
Move2BE=1; // 0/1 0=means after tp1 hit not to BE, 1 means after TP1 move to BE
//Fixed Targets
TT1_TP1=10;
TT1_TP2=20;
TT1_SL=10;


//Fibonacci Tagets
TT2_TP1=61.8;
TT2_TP2=100;
TT2_SL=138;
_________
Custom Part will be insert later something like
var 1 = iCustom(myindi1....)
var 2 = iCustom(myindi2....)
var 3 = iCustom(myindi3....)
if (var1==1 && var2==1 && var3==1){ start HistoryCalculation;}
At this point i will deliver the Fib Target, its the only point which is missing to calc the fibonacci values. Also Trade direction UP/Dn.
Then HistoryCalculation() is called and Current Price is used for all Calcs.
_________
HistoryCalculation{
done by you:

Show Arrow on EntryPoint. which is also Current Price


Fixed Calculation-> make routine to get the values
use TT1_TP1=10;TT1_TP2=20;TT1_SL=10;
    or
Fibonacci Calculation-> make routine to get the values
use TT2_TP1=61.8;TT2_TP2=100;TT2_SL=138;

TP1 hit or SL1 -> Save in Array or something.
if Move2BE=1;  change SL to BE for TP2

TP2 hit or SL2 -> Save in Array or something.
--------------------------------------------------------------------------

After all History is done there should be a simple output in the Comment Section like

TP1hit =30
TP2hit=15

SL1hit=10


Needed Values for saving in CSV:
Startdate / Starttime
Enddate / Endtime
TT=1 or 2 //just the cal of fixed or fib targets
TP1hit=1; // just 0 or 1
TP2hitz=0;// just 0 or 1
SLhit=0;// just 0 or 1
SLneeded=?= // how much SL was needed to reach TP1
TP1max=? // what was tp1 max reachable with the SL.
}
Write History2File{
Write the above data to csv.
}

Répondu

1
Développeur 1
Évaluation
(9)
Projets
18
28%
Arbitrage
2
50% / 50%
En retard
6
33%
Gratuit
2
Développeur 2
Évaluation
(182)
Projets
342
42%
Arbitrage
118
12% / 73%
En retard
104
30%
Gratuit
3
Développeur 3
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
Commandes similaires
1. Add Feature For (SPREAD) Normal trading Hours Spread or User set trading Hours Spread True or false Set to true or False When set to true EA will only create or develop a trade if spread is in this window allowing it to and EA will follow a window in which it can trade based on spread so if spread is to high and outside of this window it will not create a trade It
I would like to create a basic Expert Advisor for MetaTrader 4. The purpose of the Expert Advisor is simple: to load a template file. Understanding why I want this in an Expert Advisor: I have a template saved with an indicator saved to it. The indicator itself suffers from painting issues. If I reapply the indicator to the chart I am using, it paints properly. What I'm looking for is to have the Expert Advisor
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
Hi, I have a working MQ4 EA (With a few warnings but works fine), I need the warnings cleared and converted to MQ5. But I would also like a few improvements first. Firstly: Fix warnings in MT4 code (return value of 'OrderSelect'/'OrderModify' should be checked). Add following features: Magic number modifiable variable (It's currently hard coded) Is it possible to have a stop loss dollar amount instead of lots if
i create a robot which help with order blocks and detection of spikes ....simply it analyses the market for you and if you are using it you wont need much skill to start operating it well you just need to know and understand how it works
I need an experienced programmer to create an automated EA that will open trades based on different candle stick formation strategies and indicators. The EA will first scan the market, find a current market trend and define area of support and resistance. On ranging market the EA doesn’t place trades . (1) EA should use a straddle strategy from either the S/R level, (2) indecision Doji candle from the S/R area, (3)
Order of EA trading only Arrow signals of my indicator in MT4 This EA should trade only the BUY and SELL Arrow signals after 1 added candle AND only if the bricks (blue for blue and red for sell) are in same direction Arrow + a brick Indicator is here attached. Arrow up + 2 Bricks Blue is BUY Arrow down + 2 Bricks Red is SELL Important is to check ONLY CLOSED candels. Sometimes it maybe occur ,that arrow apperase
Je souhaite un Ea advisor, possédants des stratégies combinés tels que : RSI+BB, Stoch+ATR, Fibonacci pattern harmonics, Keiltner+Canal Donchian, EMA+SMMA, support et résistance,zizag Min lots : 0.1 Je rechargerai mon solde une fois qu’un bon robot me sera présenté Je 'ai qu’une centaine d’euro entre mon investissement en votre EA et mon solde métatrader je ne veux pas de calcul de lots en fonction de mon
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link

Informations sur le projet

Budget
10 - 150 USD
TVA (19%): 1.9 - 28.5 USD
Total: 11.9 - 178.5 USD
Pour le développeur
9 - 135 USD
Délais
à 7 jour(s)