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
相似订单
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
a gap between 1 pip opposite order open continue once tp hit ea change position and start from 1 everything is manually adjustable tp gap pip and pip all show start from 0.01
I have a mql4 license mql4 code,, there have a 1 error '( WebRequest' - no one of the overloads can be applied to the function call) fix this error,, and make sure it work properly,,{ it's bass on kernel32.dll } this license system Base on pc volume serial number. If you're a expert developer kindly contact with me ,, Write a text " License system devoloper " Telegram @Gw_rakib1
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi, i will provide a dll .use it's functions develop a backend code copy trading .it should a master accounts and slave accounts based of the mapping with the copy parametsrs it should start copy trades between the master and slave .one slave should be able to copy from Mutiple master and some basic fronted access to be created using the angular js
Bonjours, j’ai un EA avec des dossiers mqh à compiler ensemble pouvez-vous le faire ? les autres dossiers mqh pour ceux qui sont intéréssé Vous pouvez aussi me contacter via whatsapp +33766393794, télégramme « Doxa Man »
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed