Price to action especific

2020.06.29 Indikatoren Experten

Spezifikation

I already started doing it but I couldn't finish the EA. Need help. see the attachment


I want an EA with the following functions:


I want to determine that you buy or sell at a certain price: Example. I give a value (price line = R $ 12.10) If a 5min candle closes above the price line, example: $ 12.15 and the maximum for that candle was $ 12.20. In the next candle the EA will buy 200 lots, overcoming the highest price of the last candle + (price to active = $ 0.01) = $ 12.21 and placing the stop loss at the lowest price of the last candle - price to active. (example: lowest price of the last candle $ 11.90 - 0.01 = $ 11.89 stoploss).
The first partial, will be, the purchase price + the difference of the buy price from the stop price (12.21 - 11.89 = 32 cents = $ 12.53) so the takeprofit 50% of the lot. (sell 100/200 lots)
The second partial will be determined by fixed value or trailingstop or breakeneven

Main parameters
Trading strategy
1. Time Candle (m1, m2, m5, m16, m60, h1, h4, d, w)
1. PIP / Cents / Points (can use bond, forex and futures)
2. lot (200)
3. price line ($ 12.10)
4. price to active ($ 0.01)
4. buy / sell / buy and sell

5.% of the batch of the first stopgain (10%, 20%, 30%, 40%, 50, 60, 70, 80, 90, 100%)

6 second stop gain: ($ 15.50) or 0 (inactive) example

** breakeven withoutloss
movingwkuse - enable true / off
levelWloss - distance from the open price to profitable SL
LevelProfit - number of points gained by positions to use
UseMiddleBreakEven - common breakeven for all deals


** traillingstop
trailstopUSE - enable true / false
ifprofitTrail - only for profitable positions
traillingstop - distance trailing stop
TrailingStep - trailling stop modification step

** time trade opition
Enable work on time - true / false
open hour
open minute
close hour
close minute

*** Close all when profit or loss

type of close - dollar / point / pip
closeProfit - close all position when total profit - true / false
priftitesss- number of units for closing profit
Closeloss - true / false
lossss - the number of units for closing loss

*** Limiting loses profit
LimitFor - day / week / mouth / year
LimitType - dollars, point, pip
Limitforlosses - loss limit units

limitforprofit - Profit limit in units

Dateien:

MQ5
Hedley_EA.mq5
40.2 Kb

Bewerbungen

1
Entwickler 1
2020.06.30
Bewertung
4.76
(45)
Projekte
56
7%
Schlichtung
13
38% / 46%
Frist nicht eingehalten
3
5%
Überlastet
2
Entwickler 2
2020.06.30
Bewertung
5
(5)
Projekte
9
0%
Schlichtung
6
17% / 67%
Frist nicht eingehalten
3
33%
Beschäftigt
3
Entwickler 3
2020.06.30
Bewertung
0
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Entwickler 4
2020.06.30
Bewertung
0
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0