Experts: Angry Bird (Scalping) - page 2

 
leinugget :

Hello,

I tested this in demo account and it works but when i tested it in live account, it doesn't seem to be triggered. Do i have to change anything in the live account?


Please attach the log files from the terminal tabs: the Experts tab and the Journal tab.

 

This expert has very little in common with the original for MT4.

1.) Timeout was not used (MaxTradeOpenHours)
2.) Market orders instead of pending orders (m_trade.Sell instead of OpenPendingOrder)
3.) Russian comments not translated (Увеличение лота для следующего колена) even with input

So the EA is making losses.

Weak work, so I guess I'll have to sit down and translate it myself,
to test this EA in MT5.

 
Otto Pauser:

This expert has very little in common with the original for MT4.

1.) Timeout was not used (MaxTradeOpenHours)
2.) Market orders instead of pending orders (m_trade.Sell instead of OpenPendingOrder)
3.) Russian comments not translated (Увеличение лота для следующего колена) even with input

So the EA is making losses.

Weak work, so I guess I'll have to sit down and translate it myself,
to test this EA in MT5.

Now that's a word! :-)

 

Hi, Viktor,

I have the same problem,

It trades very well on the demo, but when I switched to real, on the same MetaTrader, the same conditions, it didn't work.

Can you help pls?


this is MT5 code ....


And this is error message......


2018.11.28 11:03:58.382 Experts automated trading is enabled

2018.11.28 11:06:02.391 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:06:02.391 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0

2018.11.28 11:07:02.423 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:07:02.424 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0

2018.11.28 11:10:02.234 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:10:02.234 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0



 
golovatiiroman:

Hi, Viktor,

I have the same problem,

It trades very well on the demo, but when I switched to real, on the same MetaTrader, the same conditions, it didn't work.

Can you help pls?


this is MT5 code ....


And this is error message......


2018.11.28 11:03:58.382 Experts automated trading is enabled

2018.11.28 11:06:02.391 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:06:02.391 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0

2018.11.28 11:07:02.423 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:07:02.424 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0

2018.11.28 11:10:02.234 Angry Bird (Scalping) (EURUSD,M1) CTrade::OrderSend: market sell 0.01 EURUSD [trade disabled]

2018.11.28 11:10:02.234 Angry Bird (Scalping) (EURUSD,M1) Sell -> false. Result Retcode: 10017, description of result: trade disabled, ticket of deal: 0



Please, read the help: How to Control Expert Advisor Trading

Expert Advisors and Custom Indicators - Algorithmic Trading, Trading Robots - MetaTrader 5
Expert Advisors and Custom Indicators - Algorithmic Trading, Trading Robots - MetaTrader 5
  • www.metatrader5.com
Two broad categories can be singled out among automated trading applications: trading robots and indicators. Applications of the first type are designed for performing trading operations, and the second type programs are used for analyzing prices and identifying patterns in price changes. Indicators can be used directly in trading robots...
 

Over here, I have a major loss in the demo account, when the EA sets a lot of orders in the market with no stop loss. The losses then add up to about 40k, before the positions are sold.

 

As you are using

#include <Trade\SymbolInfo.mqh>

I would like to suggest:

m_symbol.NormalizePrice(Stopper)

Anywhere you want to have correct prices for any symbol.

Documentation on MQL5: Standard Library / Trade Classes / CSymbolInfo / NormalizePrice
Documentation on MQL5: Standard Library / Trade Classes / CSymbolInfo / NormalizePrice
  • www.mql5.com
Standard Library / Trade Classes / CSymbolInfo / NormalizePrice - Reference on algorithmic/automated trading language for MetaTrader 5
 

It is a Great EA. I did test this for all the time frames from 2018 Jan to 2018 November. 

1. We can optimize it to give great results from May to End November.

2. Its very difficult to pass first 2 weeks of the January.

3. If you can find any settings which can pass this period will succeed in the future.


I think you can modify this EA. I am ready to pay for my custom version. 

1. I can give you specific falling days. Where you can think about adding some more logic to prevent these situations 


Thanks again for the great EA

Duminda

 
Please, what can be wrong? whenever i change the timeframe, this EA stops opening positions
 
omotola agbaje :
Please, what can be wrong? whenever i change the timeframe, this EA stops opening positions

Are you sure? Do you think that this EA fires trade orders like a machine gun? I will disappoint you: the EA generates a trading signal based on the close prices ('Close') and the values of the iRSI indicator.