명시

close-function

The existing function in the EA (useBasketprofitpct) counts all closed position (closed by a EA function and stoploss and takeprofit). If the Profit of the closed positions + the floating profit of all positions reache a xx% from the balance, the function useBasketprofitpct closes all positions and restart counting.

I want:
the same function but splitet into the buy and the sell positions plus adding the the highest-open-long-position and the lowest-open-short-position. And close if the setted profit get reached, the all-open-buy-positions and the lowest-open-short-position or all open-sell-positions and the highest-open-buy-position.

New in the EA:
extern  useBasketprofitpct_Low_high=true;     //new function
extern basketprofitpct_Low_high=2;                    //new function

Buy-Positions:
- count-profit-closed-buy-position
- count-profit-open-buy-posistions
- count-profit-of-the-lowest-open-sell-position
- if (profit-closed-buy-positions + profit-open-buy-posistions + profit-of-the-lowest-open-sell-posistion >=(is bigger then…) basketprofitpct_low_high*0.01*AccountBalance()
                then close all open buy-posistions and the lowest-open-sell-position

Sell-Positions:
- count-profit-closed-sell-position
- count-profit-open-sell-posistions
- count-profit-of-the-highest-open-buy-position
- if (profit-closed-sell-positions + profit-open-sell-posistions + profit-of-the-highest-open-buy-posistion >=(is bigger then…) basketprofitpct_low_high*0.01*AccountBalance()
                then close all open sell-posistions and the highest-open-buy-position


파일:

응답함

1
개발자 1
등급
(53)
프로젝트
79
18%
중재
13
15% / 54%
기한 초과
5
6%
무료
비슷한 주문
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
hello good evening All professional programmers! I'd like to request a special services I need a Gold and Silver trading bot like the one in the video, one that works on real accounts. My only request is that I don't pay any money until the bot is built and tested. Thank you very much please contact me as soon as possible for more information
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
Auto trading system with hi probability win rate. Trades and auto trading system works well on gold and forex most important risk reward ratio. It must be 1:3 or more then that
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
I need an MT5 Expert Advisor for US100 and XAUUSD. The EA must use risk management and must not use martingale or grid. Main requirements: Platform: MetaTrader 5 / MQL5 Symbols: US100 and XAUUSD Timeframes: M15 and M30, with higher timeframe trend filter Trend filter: EMA 50 and EMA 200 Momentum filter: RSI 14 Stop loss: ATR-based or recent swing high/low Take profit: minimum 1.5R risk/reward Risk per trade
Gold Precision Pro 30 - 100 USD
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep

프로젝트 정보

예산
25+ USD
기한
에서 2  3 일