Add max open position function and reset counter when these trades have closed.

MQL4 Indicatori Esperti Forex

Specifiche

NEEDS TO BE DONE TODAY WITHIN 1/2 HOURS


I need a option to put in a number. Max numbers open until close no new orders


input int MaxOpenTrades = 8; // Maximum number of open trades
input True or False for using this otherwise it will just use the max trades on a day

When closed new orders can open again till the input number of open trades has been reached and when closed reset the counter to 0 again so it can start trading again till a maximum of 8 open trades.

I now already have a integration max orders on a day total and max hedge orders

A day function is already integrated in the code

Monday till sunday TRUE or FALSE trading days. Only the developer didn't get the close the end of the day function with TRUE OR FALSE

There needed to be 2 functions TRUE is trading FALSE not trading on the day.

If trades from monday are still running without closing on monday keep running on the FALSE day after until close

If TRUE close end of the day it should just close the trades before the nex day. This function doesn't work properly hasn't been integrated correctly by the developer that dit it.

EXTRA INFORMATION:
The version I want you to edit has a hedgefunction function in it but this doesnt work anymore cause some changes. But got the fixed code myself and will implement it after. So no worries about that

Max total trades is for the whole day for propfirms like FTMO avoid maximum flagging. Max Hedge for the hedges. 

Con risposta

1
Sviluppatore 1
Valutazioni
(20)
Progetti
19
11%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(177)
Progetti
237
45%
Arbitraggio
17
82% / 12%
In ritardo
35
15%
In elaborazione
3
Sviluppatore 3
Valutazioni
(323)
Progetti
471
42%
Arbitraggio
77
12% / 64%
In ritardo
76
16%
In elaborazione
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
5
Sviluppatore 5
Valutazioni
(4)
Progetti
4
25%
Arbitraggio
0
In ritardo
0
In elaborazione
6
Sviluppatore 6
Valutazioni
(16)
Progetti
17
12%
Arbitraggio
1
0% / 100%
In ritardo
0
In elaborazione
7
Sviluppatore 7
Valutazioni
(10)
Progetti
25
28%
Arbitraggio
2
0% / 0%
In ritardo
1
4%
Caricato
8
Sviluppatore 8
Valutazioni
(471)
Progetti
533
33%
Arbitraggio
28
39% / 43%
In ritardo
8
2%
Caricato
9
Sviluppatore 9
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
who can make a mql5 indicator using tickprice to creat desired second time frame candles... and then make macd and rsi with bollinger bands and ichimoku and bollingerbands for desired second timeframes to plot buy and sell signals based on them
I want to modify my indicator to make it a scanner so it will be easier and not missed the signal alerted by the indicator for all the available currency no settings will be changed just adding the time frame selection. time frame selection has to have an option to select all timeframe or just the timeframe selected. the job is to make the indicator: 1. make it a scanner (window or table to show all signal produces
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
Trendline expert 40 - 200 USD
My project is to put my strategy on the VCrush indicator. I already have the indicator, I just need to add the entry methods, take and stop rules. There are 5 lines in total, when these lines are aligned, the robot makes the entry. Below are two images of what the buy and sell entries would look like with the lines aligned
Description of the ScriptThis script is designed for MetaTrader 4 (MT4) to execute a Buy order based on a re-entry strategy using the BBMA (Bollinger Bands Moving Average) approach. The main timeframe used is H1 (1-hour), and the script employs the Classic Bullish Engulfing pattern as a validation criterion before placing a Buy order.Key Components of the Script:Input Parameters:Lots: Defines the lot size for the
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
I have an indicator with two lines | want an EA the buy when the fast line crosses the slow line from below one important thing> the slow line must at least a specific distance below the last cross through the fast line from above take profit is between 1 or 3 times more than stoploss the stop loss is the last low the sell order is the opposite for buy Thanks
**Project Title:** Development of a Complex High-Performance EA for Step Index **Project Overview:** I need an advanced Expert Advisor (EA) for trading the Step Index on MetaTrader 5. The EA should use multiple indicators and advanced risk management techniques to enhance profitability and manage risks effectively. **Trading Strategy Details:** Indicators: - 50-period EMA - 200-period EMA - RSI with 14 periods - MACD
Hi, I am looking to purchase a pre-built trading strategy specifically tailored for trading AUXUSD. Before committing to the purchase, I require the following detailed information: 1. **Type of Trading**: - Clearly define the trading style this strategy is designed for (e.g., scalping, swing trading, day trading, position trading, etc.). - Provide an explanation of why this trading style is suitable for AUXUSD
Fx Kidds 80 - 120 USD
Can l have a EA that can run 24/5 on gold and GBPUSD and stocks. Trilling stop loss. No expireing date. Must make 5% minimum in returns. It can take losses but it must not blow the account minimum deposit must be 35usd

Informazioni sul progetto

Budget
30+ USD
IVA (21%): 6.3 USD
Totale: 36.3 USD
Per lo sviluppatore
27 USD