Experts: AK-47 Scalper EA - page 3

 
Automated-Trading:

AK-47 Scalper EA:

Author: Nguyen Quoc Hung

this isnot working in real account kindly suggest me which broker is best for this EA

 
coffee tree #:
Hello.. I tested It works fine but I can't use it on my real account.What should do? please advise

which broker did we want to use actully this is not working in my real account 

 
shivampatidar7932 #:

this EA is not working on real account only working in demo account i am using Exness broker already added for 3 days but on open any order yet.

You should check information from expert tab, my code don't check demo or real account
 
Nguyen Quoc Hung #:
that's right, the EA only opens the Sell orders, if you want to open the Buy orders, you need to add the Entry signal calculation function.

how can i add that in this code

i know about coding 

 
shivampatidar7932 #:

how can i add that in this code

i know about coding 

you can use donchain channel indicator in order to get entry signal?

code indicator: https://www.mql5.com/en/code/11162

Donchian Channel Indicator
Donchian Channel Indicator
  • www.mql5.com
This indicator draws three Donchian bands: up, middle and down bands based on which you can design your scalping system.
 
shivampatidar7932 #:

this EA is not working on real account only working in demo account i am using Exness broker already added for 3 days but on open any order yet.

I changed the maximum allowed spread in the inputs to 8.0 and it worked on my live account. 

You need to read the current spread in the top left and then change the input accordingly

 
phade #: I changed the maximum allowed spread in the inputs to 8.0 and it worked on my live account. You need to read the current spread in the top left and then change the input accordingly

Hows results? And its open only sell trades?

Sorry guys I am not a coder, But I want to understand why only open sell trade 

 
Serdar Altuntas #:

Hows results? And its open only sell trades?

Sorry guys I am not a coder, But I want to understand why only open sell trade 

I'm not using it. Maybe if a market is for sure on a downtrend it can be useful.  With a broker spread of about 7 points, it's hard to make a profit, so manual TP needs to be adjusted. 
Why its only making sell trades? No idea, its a bear scalper I guess? The backtesting proves that it's still working well
 
works for crash and boom derivates?
 
Let's break down the key components and functionalities: 1. Header Information: The script starts with some header information, including the EA name, copyright details, version number, and links. 2. Input Parameters: Input parameters are defined to control various aspects of the EA. These parameters include EA settings, money management settings, trading settings, and trading time settings. Traders can adjust these parameters to customize the behavior of the EA. 3. Import Statements: The script imports several classes from the Trade directory, which are part of the MQL5 standard library. These classes provide functionality for dealing with trading operations, positions, orders, account information, and symbol information. 4. Predefined Variables: Some variables are defined for code readability. For example, Ask and Bid are defined as the current ask and bid prices. 5. Objects Initialization: Several objects are created and initialized, such as CPositionInfo, CTrade, CSymbolInfo, CAccountInfo, and COrderInfo. These objects are used for interacting with trading-related information and operations. 6. Initialization Function (OnInit): The OnInit function is called when the EA is initialized. It sets up various parameters, such as the magic number, margin mode, type of filling by symbol, and deviation in points. 7. Deinitialization Function (OnDeinit): The OnDeinit function is called when the EA is being removed from the chart. It can be used for cleanup operations. 8. Tick Function (OnTick): The OnTick function is called on every tick. It checks if trading is allowed, calculates the current spread, and prints information about the EA's status. It also calls functions to update orders, apply trailing stop, and open new orders based on specified conditions. 9. OpenOrder Function: The OpenOrder function calculates the lot size and opens a new order (buy or sell stop) based on specified conditions. 10. TrailingStop Function: The TrailingStop function is responsible for implementing trailing stop functionality for existing open positions. 11. UpdateOrders Function: The UpdateOrders function checks if there are any open positions or pending orders associated with the EA. 12. CalculateVolume Function: The CalculateVolume function calculates the position size based on the chosen money management settings. 13. Check Functions: Several functions (e.g., CheckSpreadAllow, CheckMoneyForTrade, CheckOrderForFREEZE_LEVEL, CheckStopLoss, etc.) are defined to check various conditions before opening or modifying orders. These functions ensure that the EA adheres to specified rules and market conditions. 14. RefreshRates Function: The RefreshRates function updates symbol quotes data. Overall, this EA is designed to perform trading operations based on the specified input parameters, and it incorporates features such as money management, trailing stop, and trading time filtering. Traders can further customize the EA by adjusting the input parameters according to their trading preferences.
Reason: