I am trying to make an EA which can help me when the market goes against me, but I am not able to calculate it properly to code, please need help with this from the community here.
so the IDEA is to take the
1 trade manually and for example the TP is 35 pips, but if the market goes against me 100 pips EA should take one more trade 0.02 to come out on BE of the average price of both trades so that we dont lose any money, so technically market should retrace 50 pips to come of it.
now lets say the market goes further against the trade 100 pips more so the total 200 pips from the original trade, now the total money losing here is 10+10+20 = 40 dollars.
now the market should retrace 25 pips to come out of the trade so what should be the LOT size here?
so the IDEA is to take the
1 trade manually and for example the TP is 35 pips, but if the market goes against me 100 pips EA should take one more trade 0.02 to come out on BE of the average price of both trades so that we dont lose any money, so technically market should retrace 50 pips to come of it.
now lets say the market goes further against the trade 100 pips more so the total 200 pips from the original trade, now the total money losing here is 10+10+20 = 40 dollars.
now the market should retrace 25 pips to come out of the trade so what should be the LOT size here?
Attached File(s)
ronz_auto_sl_n_tp.ex4
7 KB
|
88 downloads
|
Uploaded May 14, 2019 2:40am
RSI EA.ex4
24 KB
|
87 downloads
|
Uploaded May 14, 2019 2:40am
rsi_ea.ex4
14 KB
|
110 downloads
|
Uploaded May 14, 2019 2:40am
Allergic to bullshitters, never argue with fools