I had an ea coded, to 'open a new position when the terminal floating equity is at certain negative levels', but it does not work very well.
I am including it here, as some of the code may be useful.
I will first explain how I currently trade for clarity. Its not too complicated :)
1. I open 2 positions at the same time. ( I call this a SET; I currently use an EA to open the positions, and it works pretty well )
2. When terminal drawdown gets to a specific equity drawdown level ( -$ 10 for example) > I open the SAME SET again. I do this manually
* ( I cannot monitor the dd all the time so this is the main reason why I need an EA > to open a new SET at the specific equity drawdown level ( of terminal)
4. If the terminal drawdown goes down more ( to $ -20 for example) > the EA ( or me) must open the SAME SET again.
This carries on unlimited,,,until step 5 below.
5. If the floating equity goes into profit , I have a ea that closes it.This EA can also disable autotrade once all positions are closed.
6. If the disable function is not used, no1 ( 2 position = a SET) starts again
I need the EA for the reason at * above.
I need to know what will work the best in terms of the logic , to get everything to work the way it should:
For example : The EA must know the values of the SET it must open ; The SET is always 2 pairs
SET = Pair ; Buy or Sell ; Lot size
Example : of a SET :
Pair 1 : USDCAD , sell , 0.1 lot
Pair 2 AUDUSD, buy , 0.1 lot.
I have a separate ea hat opens the trade on launch, Currently I attach the ea to a chart of each pair and switch on autotrade to open 2 positions at the same time.
Maybe ONE EA should do this ?
Why I say this : Point 2 above refers: The SAME 2 positions, with the same values ( buy / sell ; lot size) must open at the specified DD level of the MT4 terminal
So to me its logical that the EA that opens the first SET (2 pairs) , must also open the 2nd SET ( same 2 pairs with same values) on trigger ( - negative DD level reached) agian
....and I guest one EA could also close ALL open trades at a certain floating equity PROFIT level ; and disable any further trading
How I used the EA attached :
I attached the EA to 2 charts ( the 2 pairs trade) . It is suppose to monitor the floating equity and open another position( of each pair) when the Floating P?L reaches the levels on the INPUTS. But it does not work correctly. EA on chart 1 sees dd of $-10 and same EA on chart 2 sees $-10 dd > so 2 positions are opened at that dd level.
If you can advise what the best way would be to do this I will appreciate it ; to me there are the following options:
A Fix the EA attached so it can execute point * 2 above effectively
B-Build one EA that 'does it all'
- Open 2 position with on launch at the same time;
- open the 2nd, 3rd, 4th etc SETs ( same 2 pairs with same trade values as opening pairs )- when equity drawdown reaches ... minus $ ...; and again when equity reaches ..- minus ,,,, etc
- Close all open positions when floating Equity profit reaches $ ....;
- True / false option to disable all further trading when all positions close at specified profit , (if NOT not selected EA must start a new cycle ( as per point 1)
above)
note : The ea should only open the 2 positions ONCE at the specified level ( Example : if the level to open a SET is -$10 and the 2 positions is opened ; if price then turns and goes to - $8 and the back to -10 , it must not open the same 2 positions again , it must only open the 2 positions at the next specified level again ( $- 20 for example)
I appreciate your advice on best way to do this
Regards,Mike
Commandes similaires
2. Scope of Work 2.1 Debugging: - Code Review:Comprehensive review of existing EA code to identify and resolve bugs, inefficiencies, and any potential issues. - Testing:** Conduct thorough testing on historical data to evaluate the performance and reliability of the AI HFT Bot. - Performance Optimization:** Fine-tune algorithms for improved execution speed and accuracy. 2.2 Installation: - System Setup: Configure the
For Metatrader5 Strategy Overview Timeframe: 15-minute Condition to Enter Short: the close of the last candle( called LC_) is smaller than the lowest low of the previous 3 candles THE VOLUME OF THE last CANDLE IS BIGGER THAN THE AVERAGE volume OF THE PREVIOUS 19 CANDLES Order Details: Short Entry at the close value of LC_ Volume: 0.01 lots. Stop Loss: 1.025*( close value of LC_ ) Take Profit: 99.75% *( close value
We're looking for multilingual support representatives with extensive experience in Forex trading, MT5, and MQL5 to provide support our customers on MT5, answer their inquiries, and help them with EA installation if needed. Languages: English fluency is a must in addition to one of the following languages: 1- Arabic 2- Spanish 3- Italian 4- Portuguese 5- French If you believe you're a good fit, please reach out and
Sure! Here’s a brief script on Forex trading, focusing on strategy, indicator debugging, and strategy optimizations: --- Title: Mastering Forex Trading: Strategies and Optimization [Scene 1: Introduction] [Host speaking directly to the camera] Welcome to our Forex trading guide! Today, we’ll explore effective strategies, the importance of debugging indicators, and how to optimize your trading approach for better
Good day, its my first time on this platform, I'm in need of an EA to built me at trading robot or a profitable signaling indicator with specifications of my choosing or the agreed upon. I'm based in South Africa so i would need to be trading from that 09;30AM (after Tokyo session) Johannesburg time zone GMT+2 up until18:30. Myself i like trading Gold, EURJPY and EURUSD. Furthermore if possible to use EMAs and or RSI
Project goal To develop scripts or expert advisors facilitating communication between two MetaTrader 5 terminals on the same machine. Scope of work - Development of scripts or expert advisors for MetaTrader 5 to enable communication between two terminals. - Implement a feature where the slave terminal sends its equity to the master terminal. - Master terminal evaluates the equity and sends a command back to the slave
hi there, Id like to turn 'Machine Learning: kNN-based Strategy by capissimo' indicator on trading view into a trading bot, i've attempted to convert this into MT5 EA Biot however i've recently discovered that its possible to trade from trading view which would make life a lot easier. kind regards Alexander
Hello, I want to create a script that prevents me from canceling an ATM strategy on an active trade? I scalp and sometimes cancel my Take Profit (TP) to let my trades run, as I prefer to trail my stop loss. However, this also cancels my stop. I know I can move the TP, but due to the speed of trading, I sometimes remove it automatically. An ATM lock on active trades so they can be modified but not removed. On NT8
Remember: this is the best robot in the world you must never think you are being scammed, but let's let it make you a lot of money and get rich so you can look like other traders
I'm looking for best strategy which works on all forex and crypto market.EA must be work with low balance accounts and generate good profit daily/weekly basis depend on market.Drawdown will be very less.if anyone having this type of strategy send me demo first i will back test it .if it meets my requirements code the same EA for me and adding extra inputs if necessary