Posts: 2
Please rate this topic Current rating: 5.0 Votes: 2
RSS
raselpro
raselpro
Lifetime PRO - Unlimited Download Access
Offline
  • From: Bangladesh
  • Registered: 09-25-14
  • Posts: 3,915
  • Gender: male
  • Age: 50
  • Email
  • Thanks: 69

NextBar.mq4 Forex Robot - Expert Advisor (EA) for Reliable Trading

Unlock the potential of your trading with NextBar.mq4, a powerful Forex robot designed to optimize your trading strategies. This expert advisor (EA) brings efficiency and precision to your trades, ensuring a seamless trading experience. Tested on reputable brokers such as LQDFX and FXOpen, NextBar.mq4 adapts to various broker environments for versatile performance. Elevate your trading with this advanced Forex EA, meticulously crafted for consistent results. Download now and experience the difference in your trading journey.

Here is a backtest:
image backtest

nextbar.mq4 3.78 kb, 55 downloads since 2015-01-13 
ForexTTT (MT4talk Staff)
ForexTTT (MT4talk Staff)
Administrator
Offline
  • From: Austria
  • Registered: 09-01-23
  • Posts: 243
  • Gender: male
  • Age: 52
  • Email

The nextbar EA opens trades when the price movement aligns with the chosen trading direction and closes trades when certain profit, loss, or holding period conditions are met. It can be set up with the chosen parameters, and you should monitor its performance and adjust the settings as needed to fit your trading preferences and risk tolerance.

Purpose:

The main goal of this EA is to automatically place and manage buy and sell orders in the Forex market based on certain conditions and predefined parameters. It aims to capture potential price movements in the next bar (candlestick) to make a profit.

Setting It Up:

Download and install MetaTrader 4.
Copy the EA code into the "Experts" folder in your MetaTrader 4 directory.
Open MetaTrader 4 and attach the EA to the chart of the currency pair you want to trade.
Set the input parameters according to your preferences.

These parameters include:

bars2check: The number of previous bars to check for price movement conditions.
bars2hold: The number of bars to hold an open trade before closing it.
minbar: The minimum price movement required to trigger a trade.
profit: The profit target in pips.
loss: The stop-loss target in pips.

direction: You can set it to 1 for long (buy) trades or 2 for short (sell) trades.

This EA operates as follows:

Check4Open() Function:

-This function is responsible for evaluating conditions for opening new buy or sell orders.
-It compares the price difference between the previous bar's close price and the bar before that, looking for significant movements (greater than or equal to minbar pips).
-It considers the direction variable, which is initially set to 1 (indicating a buy direction), to determine whether to open a buy or sell order.
-If the conditions are met, it sends an order (either a buy or sell) to the market with predefined parameters such as lot size and order type.

Check4Close() Function:

-This function manages open orders and decides when to close them.
-It iterates through all open orders and checks if they match the magic number (MAGICMA) and symbol.
-If an order is a buy and it has reached the defined profit or loss level, the EA closes the order by sending an opposite market order (e.g., a sell order to close a buy order).
-If an order is a sell and it has reached the defined profit or loss level, the EA closes the order in a similar way.
-If an order has been open for bars2hold bars, it will be closed, regardless of profit or loss.

start() Function:

-This function is the main entry point for the EA and is called at the start of each new bar.
-It checks if the number of bars has changed, indicating a new bar.
-If there are no open orders, it calls the Check4Open() function to evaluate and potentially open a new trade.
-If there are open orders, it calls the Check4Close() function to manage and potentially close these orders.

Strategy:

The strategy employed by this EA is based on capturing short-term price movements. It checks for significant price changes between the current bar and the bar bars2check bars ago. Depending on the direction setting, it can either open a buy order if the price has gone up significantly or a sell order if the price has gone down significantly. The EA aims to close orders when they reach a predefined profit or loss level and also after a certain number of bars have passed.

Please note that the success of this EA depends on the market conditions, the accuracy of the parameters you set, and the chosen currency pair. It's important to test and optimize the parameters to adapt the EA to your trading preferences and risk tolerance.

nextbar.mq4 3.78 kb, 11 downloads since 2023-11-06 
AI Forex robot (Trade Executor EA)

NEW AI Forex robot (MT4talk Trade Executor EA)
Guaranteed Profit Every Week!

Try it 100% FREE – Download it 100% FREE at https://mt4talk.org/download_latest.php

- In the EA settings, enter your MT4talk registered email address and your MT4talk forum password.

- If you yneed help, visit the MT4talk Help Center: https://mt4talk.info to chat with the chat assistant in any language!



NOTE: You can only share open-source Forex robots on this platform. Sharing hacked or unauthorized versions of copyrighted Forex robots is strictly prohibited and can result in a ban on your account.

By using the MT4talk website, you automatically agree to the Forum Rules & Terms of Use, as well as the terms below.

Everything you see on the MT4talk website is created by its users, mainly the members of the MT4talk forum, as well as the forum administrators.

What is MT4talk? 
MT4talk is an online Forex forum with over 5000 Forex robots and over 3000 Forex indicators uploaded by forum members in the last 10 years, available to download from forum posts. The uploaded files do not come with support or any guarantee.

The website does not sell Forex robots and does not provide support for any downloaded Forex robots. MT4talk offers a PRO membership, allowing you to download unlimited files from forum posts. If you choose to download a Forex robot from the forum, you do so at your own risk.

The MT4talk Team also provides an Artificial Intelligence Forex robot called "Trade Executor EA," which can be downloaded by PRO members, just like any other Forex robot on the forum. This Forex robot is only a bonus and is not included in the original PRO membership.

MT4talk is an informational website and does not guarantee the performance, profitability, or reliability of any Forex robot available for download. Updates for Forex robots may be limited or nonexistent, depending on the creator. If you choose to download any Forex robot or setting file from the forum, you acknowledge that you are using it at your own risk. MT4talk PRO membership is a digital product. Therefore, after you complete the PRO membership purchase, there is no refund available!


We are conducting real-life tests on Forex robots to assess their performance. For certain robots, we may use a demo account to conduct tests, and for other Forex robots, we may use a real Forex account. It's essential to recognize that we are not financial advisors and cannot provide investment guidance. Our objective is to discover effective market analysis solutions through testing various strategies, which could be beneficial to our community.


CFTC RULE 4.41 – HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER-OR-OVER COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS, IN GENERAL, ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.

Disclaimer - No representation is being made that any Forex account will or is likely to achieve profits or losses similar to those shown on backtests in this forum. In fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. Hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk in actual trading. All information on this forum is for educational purposes only and is not intended to provide financial advice. Any statements posted by forum members or the MT4talk EA Tester Team about profits or income expressed or implied, do not represent a guarantee. Your actual trading may result in losses as no trading system is guaranteed. You accept full responsibilities for your actions, trades, profit or loss, and agree to hold the MT4talk team and forum members of this information harmless in any and all ways.


Affiliates Disclaimer - The website may have links to partner websites, and if you sign up and trade through these links, we will receive a commission. Our affiliate partners are FXOpen, FBS, Plexytrade, and MyForexVPS.

Copyright MT4talk.com Forum Rules - Privacy Policy.