When I need to "buy EURUSD", I also need to "sell GBPUSD". Similarly, when closing the position of EURUSD, the position of GBPUSD will also be closed. What I need is to open and close these two positions simultaneously. How can I do this? When backtesting historical data, it has no effect. Why?
Posts made by jxlibin1987
-
Trade two currency pairs simultaneouslyposted in Questions & Answers
-
RE: Calculate Weight Average Open Priceposted in Questions & Answers
@biez6900 How to operate specifically? Can you be more detailed? I happen to need this too, thank you dear friend
-
How to get the total profit of all trades todayposted in Questions & Answers
How to get the total profit of all trades today?For example, the total profit of all transactions from 0:00 today to the present,For example, I have traded 10 times from 0:00 today, how to get the total profit of all these 10 trades
-
Is it okay to track transactions?posted in Questions & Answers
Can I follow the transaction? How do I need to program? For example, when my EA starts a buy order, other accounts will follow and trade at the same time. Can you help me?
-
RE: How to check the trading hours of the latest closed order?posted in Questions & Answers
Thank you very much i understand
-
How to check the trading hours of the latest closed order?posted in Questions & Answers
For example: there are already completed orders in history, I need to know the transaction time of the most recent buy order, but from new to old orders, there may be multiple sell orders in succession. I need to skip these sell orders to find the last buy order.
How do I do this? From my new record to my old order, I have the following orders: 1. Sell order, 2. Sell order, 3. Sell order, 4. Sell order, 5. Sell order, ... 6. Buy order. 7. Buy order. I need to know the trading time of the 6th buy order -
Long-term stable profitable EAposted in Questions & Answers
Is there really an EA that can make a long-term stable profit globally?
-
RE: I need help Control loss rateposted in Questions & Answers
@trader-philipps Yes, the first profit is 4%, the second profit is 6%, the third loss is 5%, then it is closed, if the third loss is 3%, the fourth loss is 2%, then it is closed after the fourth, today You can guarantee a profit of 5%, otherwise there will be a 10% profit today, and the final result is a loss of 5%.
-
RE: I need help Control loss rateposted in Questions & Answers
@trader-philipps Yes, I think the same. I need to control losses, control profits, and then continue to lose. For example, today I made 3% for the first time and 3% for the second time. The third time I lost 5%, I should stop trading, so I can still make 1% today, and not the fourth time I stop trading and lose 5%
-
RE: I need help Control loss rateposted in Questions & Answers
@roar Where do you set it, once a day, meaning you can only trade once a day? For example, I traded 4 times today, with a loss of 3% for the first time, a profit of 4% for the second time, a loss of 3% for the third time, and a loss of 3% for the fourth time. Then I need to stop trading at this time, or the first time 3 %, 3% for the second time, and 3% for the third time. At this time, you need to stop trading, and you can trade again at 0 o'clock the next day. What should I do?
-
I need help Control loss rateposted in Questions & Answers
I hope that the daily maximum loss of the account balance is 5%. If the loss reaches 5%, no more trading today, and the calculation will continue at 0 o'clock the next day.how do I need to set up an EA?
-
How to use EA to test multi-currencyposted in Questions & Answers
How to use EA to test multiple currencies
MT4 can only be tested separately, so it takes a long time to consume, and it is not possible to quickly select which currency the EA is suitable for. -
如何获得蜡烛ID号码?posted in Questions & Answers
How to get the candle ID number? When this number is a variable, for example, I ordered an order at 8:30 yesterday, I need to know the candle ID of the order. There may be 10 candles from the time the order is placed to the present, and there may be 15 candles or 20 candles. The candle ID may be 10 or 15 or 20. Please help me, thank you very much.
Start hour is equal to order transaction time
End hour equals current time
What should I do?


-
RE: Calculate the lowest point of the K line in the past period of time.posted in Questions & Answers
No, no, not an indicator, I need to get the lowest price in the past period of time.
-
Calculate the lowest point of the K line in the past period of time.posted in Questions & Answers
I now need to get the lowest price of all K lines from the time the order is placed to the present. What do I need to do? For example, I sold an order at 8:00 yesterday, then there may be 25 K lines in the middle from yesterday to now, I need to get the lowest price of these 25 k lines. Please help me!
-
Encrypted EAposted in Questions & Answers
Can I encrypt the EA Expert Advisor to prevent others from stealing it?
-
Data control transaction timeposted in Questions & Answers
I have an idea about the time control of the Expert Advisor. I hope that EA can stop trading when important meetings and major data come out or fluctuate greatly. Once the market stabilizes, it will start trading again. Is there a way to do this?