x axis is time. y axis is price. Is the concept of angle valid in this way?
It is like a children growing taller day after day. How do you measure the angle?
x axis is time. y axis is price. Is the concept of angle valid in this way?
It is like a children growing taller day after day. How do you measure the angle?
Backtest is often slower in MT5 but the result seems more accurate
@Pheaktra-Capo
Intuition is intuition. Maybe you can re-check yours with reality.
@Yaserjafarnia
It's the double click issue for chrome in android. An issue for years, you can goggle it.
But there is a workaround solution:
Pre-requisite:
PC with Windows Pro.
The PC is always on
Enable remote desktop management. (rdp)
On your phone, install Microsoft rdp from Play Store.
Remote connect to you PC whenever you want and do whatever you want.
I do this all day!
@Pheaktra-Capo
Really? Put it in another way:
Buy average: 1846.83 0.06 lot
Sell average: 1859.25 0.12 lot
Let x be the balance price, i.e.
0.06(x - 1846.83)=0.12(1859.25 - x)
(0.06-0.12)x = 0.06(1846.83)-0.12(1859.25)
x = 1871.67
You really need such a higher price to get break even!
@Pheaktra-Capo
Considered weighted sum:
Buy weighed: 1850 x 0.01 + 1848 x 0.02 + 1845 x 0.03
Sell weighted: 1855 x0.01 + 1858 x 0.02 + 1860 x 0.09
Buy volume: 0.01 + 0.02 + 0.03
Sell volume: 0.01 + 0.02 + 0.09
Break even
= (Buy weighted - Sell weighted)/(Buy volume - Sell volume)
In your case, 1871.67
@kingvu
For closing the most losable trade, try:

@Nakul
You need to see the outputs in Journal and Experts sessions to see any error. If it doesn't work, you can add comment to dump the value of the variables
@l-andorrà
Agree. HFT needs generic C++ and even broker API. I even wonder if HFT were even achievable through MT4/5 brokers
Are you sure Buffer0 of the indicator HMA is the value you want?
@l-andorrà
Does it happen every time? Sometime objects were not removed from the chart successfully due to malfunction of Deinit() processes.
Such case requires manually deleting (all) objects, and then close and re-open the MT4/MT5
It's likely that it is your EA that created multiple instances of the indicator, not because any error in your indicator definition.
@OntradingX
How does your logic give you the sum?
@OntradingX
Not a bug. I am afraid your EA does not have any logic of summation as you claim. Maybe checking your own logic can help
I think you mean Microsoft notebook model Surface? What exactly is your problem? Chart historical data not loaded? What does it mean?