Spezifikation
Hello
The code below is for moving stop loss to breakeven after price has moved a certain amount of pips past OrderOpenPrice.
i.e Sell trade - move stop to 4 pips below breakeven when price has moved 7pips + 4pips below breakeven.
My trade entry is set to open of a candle but due to slippage OrderOpenPrice is not always at candle open. I need the code below altered to include slippage or to move stoploss at candle open not OrderOpenPrice
void TrailingStopBE(int type, double profit, double add) //set Stop Loss to open price if in profit
{
int total = OrdersTotal();
profit = NormalizeDouble(profit, Digits());
for(int i = total-1; i >= 0; i--)
rderOpenPrice() + add, 0); {
while(IsTradeContextBusy()) Sleep(100);
if(!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue;
if(OrderMagicNumber() != MagicNumber || OrderSymbol() != Symbol() || OrderType() != type) continue;
RefreshRates();
if((type == OP_BUY && Bid > OrderOpenPrice() + profit && (NormalizeDouble(OrderStopLoss(), Digits()) <= 0 || OrderOpenPrice() > OrderStopLoss()))
|| (type == OP_SELL && Ask < OrderOpenPrice() - profit && (NormalizeDouble(OrderStopLoss(), Digits()) <= 0 || OrderOpenPrice() < OrderStopLoss())))
myOrderModify(OrderTicket(),O
}
TrailingStopBE(OP_BUY, 90 * myPoint, 0 + 40 * myPoint); //Trailing Stop = go break even + fixed value
TrailingStopBE(OP_SELL, 90 * myPoint, 0 - 40 * myPoint); //Trailing Stop = go break even - fixed value
Bewerbungen
1
Bewertung
Projekte
68
25%
Schlichtung
12
42%
/
42%
Frist nicht eingehalten
4
6%
Frei
2
Bewertung
Projekte
23
0%
Schlichtung
6
17%
/
83%
Frist nicht eingehalten
2
9%
Frei
3
Bewertung
Projekte
1392
67%
Schlichtung
117
32%
/
42%
Frist nicht eingehalten
215
15%
Frei
4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Bewertung
Projekte
2
0%
Schlichtung
3
0%
/
100%
Frist nicht eingehalten
0
Frei
6
Bewertung
Projekte
384
20%
Schlichtung
43
60%
/
23%
Frist nicht eingehalten
45
12%
Überlastet
7
Bewertung
Projekte
204
30%
Schlichtung
25
40%
/
44%
Frist nicht eingehalten
12
6%
Frei
8
Bewertung
Projekte
928
46%
Schlichtung
31
39%
/
29%
Frist nicht eingehalten
93
10%
Frei
9
Bewertung
Projekte
23
57%
Schlichtung
2
50%
/
0%
Frist nicht eingehalten
0
Frei
10
Bewertung
Projekte
37
24%
Schlichtung
0
Frist nicht eingehalten
0
Frei
11
Bewertung
Projekte
151
48%
Schlichtung
6
83%
/
17%
Frist nicht eingehalten
2
1%
Frei
12
Bewertung
Projekte
17
6%
Schlichtung
1
0%
/
100%
Frist nicht eingehalten
1
6%
Frei
13
Bewertung
Projekte
318
35%
Schlichtung
64
13%
/
56%
Frist nicht eingehalten
82
26%
Frei
14
Bewertung
Projekte
60
23%
Schlichtung
11
73%
/
9%
Frist nicht eingehalten
3
5%
Frei
15
Bewertung
Projekte
4
0%
Schlichtung
1
100%
/
0%
Frist nicht eingehalten
0
Frei
16
Bewertung
Projekte
49
47%
Schlichtung
1
100%
/
0%
Frist nicht eingehalten
1
2%
Frei
Ähnliche Aufträge
Life Creator
40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
Point and Finger Robot
40+ USD
I need ea that based on point and finger chart formula point and finger chart does not follow time frame only price based and point and finger chart has same functions as given below source > HL/close box size assignment method > traditional reversal > 1 or given as request box size > 0.00 lot size > 0.00 trailing stop in box > one box behind or as given must not follow time only price based X
RSD Candles ICT/SMC Completion
30 - 85 USD
I need the following modules as per this sample indicator, then integrated with RSD Candles. look into the sample input settings, ................................................. ......................................................................................................... .......................................................................................................... ................previous
You need to be able to convert the IBS Indicator which is written like this in ProRealCode: r = max(range,0.0001) ibs = (close-low)/r Also, you need to be able to convert the Momentum indicator written like this in ProRealCode: https://www.prorealcode.com/documentation/momentum/ Return value of the Momentum technical indicator of the Nth bar : (close – close of the N-th last bar). 1 Momentum [ N ] Calculation: It is
Hft live account
30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
All Crossovers ea
30+ USD
Hello [Programmer's Name], I hope this message finds you well. I am seeking your expertise to develop a forex Expert Advisor (EA) capable of identifying trading opportunities based on crossover signals from the following indicators: - MACD - RSI (including Connor RSI) - Stochastic RSI - Stochastic - Moving Averages (MA) with periods: 5, 10, 20, 50, 100, and 200 Key requirements for the EA include: - Integration of
Gold Trading (GC) autotrading robot
30 - 100 USD
Hello, i need a robot for gold trading being able to determine a trend or instant changes on a micro scale so its just going to scalp very fast but, for example lets say we have an equity of 500 bucks it needs to take profit at 5 and open a new position and just continiue going like that all day, but i also want it to determine buying opportunities based off of a very wide range of candlestick data of gold the day
CPI ROBOKING
30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Hello, I have an EA already created and what I require is a modification to the code so that when a backtest is executed, it generates a CSV file with custom data that I want to extract to perform an analysis of the backtest operations
Create mt4 ea
50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
Projektdetails
Budget
30+ USD
MwSt (23%):
6.9
USD
Insgesamt:
36.9
USD
Für die Entwickler
27
USD