Skip to content

ForexRobotEasy/News-and-Trend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

News and Trend Forex Software

Description

The News and Trend Forex Software is an expert advisor designed to trade the foreign exchange market based on news and trend impacts. The software utilizes technical indicators such as Stochastic, RSI, and Heiken Ashi for trading decisions. It also includes a customizable breakeven level for stop-loss adjustment.

This code is a sample implementation of the News and Trend Forex Software. It is not the official code developed by the Forex Robot Easy Team. To find the official developer and obtain the fully functional software, please visit Forex Robot Easy.

Functionality

The News and Trend Forex Software operates as follows:

  1. Global Variables: The code defines two global variables - breakeven and newsImpact. The breakeven variable represents the customizable breakeven level, while the newsImpact variable indicates the news impact indicator.

  2. Expert Advisor Start Function (OnInit): This function is executed when the expert advisor is initialized. Initialization code can be added here.

  3. Expert Advisor Tick Function (OnTick): This function is executed on each tick of the market. It first checks for news impact using the CheckNewsImpact function. If news impact is detected, it executes trading based on the news impact. If no news impact is detected, it checks for trend impact using the CheckTrendImpact function. If trend impact is detected, it executes trading based on the trend impact.

  4. Check News Impact Function (CheckNewsImpact): This function implements the logic to check the news impact. It returns true if news impact is detected and false otherwise.

  5. Check Trend Impact Function (CheckTrendImpact): This function implements the logic to check the trend impact. It returns true if trend impact is detected and false otherwise.

  6. Execute Trade Function (ExecuteTrade): This function executes the trading based on the detected news or trend impact. It uses technical indicators and the breakeven level for trading decisions. The example code opens a Buy trade with a specified lot size, stop loss, and take profit levels.

  7. Expert Advisor Deinitialization Function (OnDeinit): This function is executed when the expert advisor is deinitialized. Deinitialization code can be added here.

  8. Error Handling Functions (OnTradeError and OnChartEvent): These functions handle trade errors and chart events respectively. Code for error handling can be added here.

Usage

To use the News and Trend Forex Software, follow these steps:

  1. Obtain the official version of the software from the developer. Visit Forex Robot Easy for detailed reviews and trading results of this product.

  2. Install the software in your MetaTrader 5 platform.

  3. Configure the customizable parameters, such as the breakeven level, according to your trading preferences.

  4. Enable the expert advisor to start trading automatically based on news and trend impacts.

Please note that this code is a sample implementation and may not include the full functionality of the official software. The official developer of this product can be found using MQL5.

For detailed reviews and trading results of the official product, visit Forex Robot Easy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published