Consecutive UP/DOWN bar buy/sell EA

MQL5 전문가

명시

Hi - I have a 90% finished EA that needs to be fixed (the last coder did not finish it), below is the description and I will send bidders the MQ5 file so they can look at it.


I want an EA that opens a buy trade after "x" consecutive negative day closes; or enters a sell after "x" consective positive previous bars.. e.g. if I entered "x=5" into the parameter, the EA would buy after 5 negative bars (at the open of the 6th bar) and sell after 5 positive bars (at the open of the 6th bar).


Also the EA continues to open trades until it wins e.g. if "5" consecutive positive bars occured, the EA would Sell, then if the next bar was Positive it would sell again - The EA carries on selling until the next bar is negative and the EA wins.


The EA wil have a "first order lot" system and then a "Secondary multiple order system" - this is for any new orders that are opened after the first trade if the trend continues e.g. if "1" is entered for the "first order lot" parameter and "2" is entered into the "Secondary multiple order system", this means the EA will "x2" every further order. So if there was 3 orders before winning, the order lots would be: 1lot, 1x2=2lots, 2*2=4lots.


The EA continues selling with all orders open and closes all open trades in the martingale once a daily close is positive


The EA will have two  TP/SL systems.

1. The TP = the close of the first positive bar, no SL is used

2. the SL= the close of the CURRENT bar so the SL will not be active until the "now" bar has closed e.g. after 3 consecutive up bars close at $110, the sell order is executed at the open of the 4th bar, if the 4th bar rises and closes at 120, the SL for the order will be 120.

the TP = % retracement of the consecutive up/down candles e.g. if 3 consecutive up bars close at up at $100 (from $90), a sell is entered at the open of the 4th bar at $100 and the TP is a % of the $10 gains that the symbol has made. For example, if the TP = 50%, the sell position at $100 would have a TP of $95 - as 50% of $10 (the gains from the consecutive wins) is $5. So the TP is 5%. And there is an "open price" TP that sets the TP to a % of the open price e.g. if the trade is opened at $100 and the TP is 10% then it means the TP = $110.#



Attached is the code.

파일:

응답함

1
개발자 1
등급
(13)
프로젝트
24
42%
중재
3
33% / 0%
기한 초과
4
17%
무료
2
개발자 2
등급
(54)
프로젝트
64
42%
중재
5
20% / 60%
기한 초과
4
6%
무료
비슷한 주문
I am currently seeking the expertise of a skilled MQL5 developer to assist with a custom trading bot project tailored to specific requirements. The project entails the development of a versatile trading bot capable of implementing both manual and automated strategies, with flexibility to switch between strategies seamlessly. Additionally, the bot should be designed to convert profits automatically into USDT, allowing
PRESQUE PAREIL QUE L’AUTRE ROBOT AVEC QUELQUE PETIT CHANGEMENT. IL N’Y AURA PLUS DE SL; SI TU PEUX M’ENVOYER TON MAIL, JE T’ENVOIE LE DOCUMENT QUI EXPLIQUE LE MODELES DU ROBOT QUE JE VEUX. @page { size: 8.27in 11.69in; margin: 0.79in } p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
Hello I need an indicator edited . So I need the ichimoku indicator edited to show when the kijun -Sen and tekan- Sen are both pointing up and the chikou have to be above candles and Senkou span A have to also be pointing up I need an up arrow vice versa for sell. I will need a alert when that happen as well
Mt4 EA 30+ USD
Would it be possible to get a reasonable quote for an MT4 EA with multiple trade entry criteria. With the help of chatgpt I've got a code that compiles without errors or warnings that I have attached in a zip file, it is simply not taking valid trade signals. Not sure if it's of any use to you or if it's better to start from scratch. talk soon
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
I trade in future indices of a Brazilian brokerage via MT5 and would like to import the data of another future index (djia future - which does not exist at the brokerage where I operate) into a new window, showing its price and volume variations in the shortest possible time. This new Symbol should also have the capability to be displayed in candlestick mode and adjustments in its timeframe. I will use an indicator
I have an EA with the sourse code but instead of using an FX blue copier to invert the trades i want the EA to reverse its Strategy. For example if the EA wants to buy it will sell. And the stop loss and take profit will be inverted also
Hi I'm looking for a developer who can improve on an existing basic EA that isn't quite working correctly due to a lack of comprehension from the previous coder on the logic. It's a hedging system that trades in the opposite direction to a bad entry by entering every x pips until the average of all the bad trades and the good trades are in profit. It then closes all of them at the same point which is in profit by x
Hello everybody I would like to modify an existing indicator. I want to create a Dashboard that will display alerts created by my personal indicator called TREND. It will have to display alerts created on several timeframes and for several currencies. Each currency will need to be able to modify its own TREND indicator settings. The TREND indicator settings will be accessible by double-clicking on the currency name
Trading bot 100 - 500 USD
I need an MQL4 trading bot with this features : 1. Trading 24/7 2. hedged for any unexpected trade reflection or losses 3. connected to the news 4. pauses during the news only if needed , because already it has a footprint tool 5. Always aims for a higher profit 6. Has a footprint tool for an accurate signals 7. never miss any opportunity 8. has turtle trading strategy 9. capable to start trading 1000$ capital 10. it

프로젝트 정보

예산
20- USD
기한
 5 일