Experts: Autotrader Momentum

 

Autotrader Momentum:

The Expert Advisor compares Close prices

Author: Vladimir Karputov

 
Automated-Trading:

Autotrader Momentum:

Author: Vladimir Karputov

Hello!!! Can you tell me why the Expert Advisor opens only for buying? What should I do to make a SELL position?

 
This is in the tester at (0) takeprofit and stopplos.
 
109387:

Hello!!! Can you tell me why the Expert Advisor opens only to buy? What to do to make it SELL position?

Type of trading account: netting or hedge, symbol, timeframe, dates from- on, full settings of the EA? Without these data I can't say anything.

[Deleted]  

tester, the strategy indicates short trading times, with the shortest trade lasting 1 second, the longest 1 minute and 30 seconds, with an average trade of around 9 seconds. For the strategy tester I have set a ping of 25 milliseconds based on my own home network.

My question now is why the EA is not executing trades in the live chart. Could it be due to a bug in the code? I have been looking into this problem for two days but have not been able to find a solution yet. To find out whether it is the code, it would be extremely helpful if one of you could check whether the EA is placing trades for you. It should be noted that another EA I am using is working properly and has a different magic number.

I would be extremely grateful if you could let me know your thoughts on this.


I came across a specific trading strategy and meticulously tested it in the strategy tester, where it demonstrated favourable profits. However, I've noticed that the associated Expert Advisor (EA) doesn't place any trades when applied to the live chart. In the strategy tester, the strategy indicates short trading times, with the shortest trade lasting 1 second, the longest 1 minute and 30 seconds, and an average trade duration of about 9 seconds. I've set a ping of 25 milliseconds for the strategy tester, based on my home network.

My question now is why the EA isn't executing trades in the live chart. Could it be due to an error in the code? I've been grappling with this issue for two days now and haven't found a solution yet. To determine if it's a code-related problem, it would be extremely helpful if someone could check whether the EA places trades for them. It's worth noting that another EA I'm using works correctly and has a different magic number.

I would greatly appreciate it if you could provide your insights on this matter.

 

Hello, is it possible to change so that a buy position is opened when the current price is above the previous bar's high and a sell position is opened when the current price is below the previous bar's low. The change is that it is not the closing prices that are compared, but the current price with the high and low of the previous bars. What is important is the moment when the price crosses the high or low.