Expert advisor for MT4 that trades gap.
Long positions when the opening price of the market is under the closing price of the previous period (see attachment)
Short positions when the opening price of the market is above the closing price of the previous period (see attachment)
Variables of the indicator that i would like to set/optimise
- minimum range of gap
this should consider the last number in the prices of the market i am studying
for instance in DAX30 7705.0, if i set mimimum range 20, it means the minimum gap should be 20 points, so from 7705 to 7707.
in EURUSD 1.34500, if i set mimimum range 20, it means the minimum gap should be 20 points, so from 1,34500 to 1.34520.
in stocks, same thing so always last number in the price
- Maximum range of gap, same settings above
So if a gap is below the minimum range do not trade, if it is above the maximum range do not trade.
If a gap is betwenn minimum and maximum, trade.
- Take profit
It should be set as a percentage of the gap width
So if i have a 100 points gap, and i set TP at 80%, target should be 80 points
if Dax closes at 7500.5 and opens at 7490.5, and i set 80%, target should be 7498.5
Stop loss
It should be set as Reward/Risk ratio, so if the take profit is 100 points and i set
Reward/Risk 1 --> stop loss is 100 points
Reward/Risk 2 --> stop loss is 50points
Reward/Risk 0.5 --> stop loss is 200 points
- Nominal Value of position
The volume of operation should be set condiering the nominal value of exposition i would like to have.
Consider i would like to have 10.000€ exposition.
If i trade EURUSD volume should be 0,10, easy.
If i trade DAX, based on my contract specs on my broker i shuold buy 1,3 more ir less, volume is 1,3
if i trade a stock whose price is 7,5€ i have to buy 10.000/7.5 --> 1333, here volume is 1333 circa.
So contract specifications should be considered.
- Martingale
starting from 10.000, if the trade is a loss,
next trade i would like to have a martingale but not an aggressive one, so for instance
1trade --> 10.000, Loss
2trade --> 14.000, Loss
3trade --> 17.000, Loss
4trade --> 19.500, Loss
5trade --> 21.500, Loss
6trade --> 23.000, Win
7trade --> 10.0000,
It should be similar to a logarithmic curve.
(i found on the web an EA that is very very similar , it is attached).
End of EA
Than i would like to have an indicator apart from the EA that send me an alarm and a mail when i have a gap in one of my charts.
Except for martingaleand nominal value it should work exactly like the EA,
so i can congifure:
- min/max range, take profit, stop loss
So The message should be
Gap UP (or GAP down) on "name instrument"; Sell@price (or Buy@price) TP @"price"; SL@"price"
Buongiorno, ho 5 hanni di esperienza e realizzo trading system sulle seguenti piattaforme: MetaTrader 4, Trade Navigator e ProRealTime. Sono italiano come Lei e la comunicazione sarà indubbiamente più immediata. Le offro tutta la mia esperienza professionale e l'assistenza necessaria. Le scrivo maggiori dettagli in privato. Cordiali Saluti e buona giornata.
Hi, I am ready to work with you.
Please choose me and i will start to work anytime you want.
Project will be completed as the details that you requested.
I have been trading forex and also involve in coding EAs using MQL4 for the Metatrader Platform. I am confident about completing your job with efficiency. I have provided more information in your personal message.