Simple continuous trend-following strategy for buying and selling based on predefined conditions – expert advisor for MetaTrader 4

Simple continuous trend-following strategy for buying and selling based on predefined conditions - expert for MetaTrader 4
This MetaTrader 4 (MT4) script implements a simple continuous trend-following strategy for buying and selling based on predefined conditions. Here’s a breakdown of the script: Initialization: The script initializes and prints a message when initialized successfully. Deinitialization: The script deinitializes and prints a message when deinitialized. OnTick Function: This function executes whenever there’s a new

Code Block for “Trailing Stop” based on current market price. (Ask / Bid) – expert advisor for MetaTrader 5

Code Block for "Trailing Stop" based on current market price. (Ask / Bid) - expert for MetaTrader 5
This code block works if you use either a Stop Loss or Not.  Requirements  You need to include “Trade.mqh ” to get access to the CTrade class which allows you to work with positions and orders. #include <Trade\Trade.mqh> // <<—————————————— Include this “Trade.mqh” to access the CTrade Class You need to set an input parameter

Multiple Buys and Sells ORDERS based on a currency pair strength. – script for MetaTrader 4

Multiple Buys and Sells ORDERS based on a currency pair strength. - script for MetaTrader 4
//+——————————————————————+ //| Multiple Buys and Sells ORDERS based on a currency pair strength. //+——————————————————————+ #property copyright     “Copyright 2024, MetaQuotes Ltd.” #property link          “ #property version       “1.01” #property description   “persinaru@gmail.com” #property description   “IP 2024 – free open source” #property description   “AUD CAD CHF EUR GBP JPY NZD USD SGD.”

Take Profit based on current profit – library for MetaTrader 4

Minimum Profit
Introduction Many Expert Advisors (EAs) tend to close orders at the take profit level, considering the pip distance from the purchase price. However, the code used by EA NextBot is based mainly on the current profit . This approach allows you to easily manage the take profit with multiple open positions, monitoring the total current profit based

My first EA based on Stochastic – expert advisor for MetaTrader 4

My first EA based on Stochastic - expert for MetaTrader 4
This EA uses 3 Timeframes to identify the best signal Buy Signal STO5 indicates that the price will rise, STOm15 is also rising and STOm30 Sell Signal STO5 indicates that the price will fall, and falling STOm15 must also STOm30 The optimization should be weekly or monthly ——————-Version 2—————————— Changes. Set the time frame on

Custom indicator based on Heiken Ashi and aimed to handle swing trades – indicator for MetaTrader 4

Custom indicator based on Heiken Ashi and aimed to handle swing trades - indicator for MetaTrader 4
Author: Joe Chalhoub This FX custom indicator is very easy to set, it does not predict or forecast future trend movement it allows traders to take the maximum profit from a long or short trade. To install this indicator open the H5 period and insert it. It uses the 5 minutes period for entry points.

Heiken Ashi based EA – expert advisor for MetaTrader 5

Heiken Ashi based EA
The Expert Advisor is based on Heiken Ashi indicator. Suitable pair and timeframe: EURAUD — H1 Strategy Tester Report MetaQuotes-Demo (Build 294) Settings Expert: HA_kEA Symbol: EURAUD Period: H1 (2010.07.18 – 2010.07.24) Inputs: P=100 Broker: MetaQuotes Software Corp. Currency: USD Initial Deposit: 3 000.00 Results Bars: 120 Ticks: 378767 Total Net Profit: -2 047.37 Gross

A simple RKD Expert Advisor based on a specified custom RKD indicator – expert advisor for MetaTrader 5

Expert Advisor  based on a specified custom RKD indicator
This is a simple Expert Advisor using a specified custom RKD indicator. The code describes how a specified custom RKD indicator can be used in MetaTrader 5 Expert Advisor. The better results for EUR/USD, GBPUSD – 30mins, 1H and 2H timeframes. Tested Result: Strategy Tester Report autoRKD_EA MetaQuotes-Demo (Build 286)   Settings: Symbol: GBPUSD (Great

An Expert Advisor, based on the “Puria method” Forex Strategy – expert advisor for MetaTrader 5

Puria method forex strategy
Depending on the timeframe selected (H1 or M30,see above) we attach 3 moving averages on the chart: Moving Average 1:MA period – 85, MA method – Linear Weighted, applied to Low, select red color. Moving Average 2:MA period – 75, MA method – Linear Weighted, applied to Low, select red color. Moving Average 3:MA period