mt4 indicators switch
This tool gives the ea , the very first signal from any set of 3 indicators from 18 indicators on mt4
Either first 3 indicators or next three indicators or next 3 indicators or following 3 indicators , either set of 3 indicators (from six sets) will trigger an entry
if any set showing opposite signal , entry is invalid
signals from all three indicators on each set must be valid , if all three indicators in a set trigger value is not met , entry is not valid , even if indicator in different set has valid signal.
comment on include file // where you add code
mql4 source codes required as part of job for testing and two weeks required to test .FULLY TESTED AND COMMENTED , must work first time (FULLY DEBUGGED) (otherwise job cancelled on receipt).you time waster will waste your time NOT MINE
Each version you supply will be codded as #1 , #2 #3
MOST AMATEUR CODERS HERE , WILL CODE BUYS AND SELL SIGNALS , -1 +1-1+1-1+1 TOGETHER AND IT WILL NOT WORK
Code an include file WITH 6 SETS OF 3 INDICATORS called setindicatormt4 .See attached sketch
// Signals
//DEFINE SET1, SET2 , SET3, SET4 ,SET5 AND SET6)
static bool _SET1 = false;
static bool _SET2 = false;
static bool _SET3 = false;
static bool _SET4 = false;
static bool _SET5 = false;
static bool _SET6 = false;
SET1 INDICATORS :rsi 14 , stocch 28 6 10 , momentum14
SET2 INDICATORS :rsi28 , stoch 56 12 20 momenum 28
SET3 INDICATORS :rsi 14 , rsi28 , stocch 28 6 10
SET 4 INDICATORS :rsi 14 , rsi28 , momentum 28
SET 5 INDICATORS :rsi28 , stoch 28 6 10 , momenum 14
SET 6 INDICATORS ;stoch 28 6 10, stoch 56 12 20 , rsi14
3 functions to be coded
1)Read indicators /code indicators into INCLUDE
2)CODE SETS 6 SETS /DEFINE THEM
3)CODE SET COUNT
4)SIGNALS TO EA
CODE FUNCTION :SET COUNT
//this function will count SET INDICATOR BUY SIGNALS AND SET INDICATORS SELL SIGNALS
int _SET1_BUY = 0;
int _SET1_SELL = 0;
// if(SET1 _indicator XYZ-BUY COUNT ) _BUY_++;
// if(SET1 _indicator XUZ _SELL COUNT ) _SELL_++;
// if(SET1 _indicator VXY -BUY COUNT ) _BUY_++;
// if(SET1 _indicator XXZ _SELL COUNT ) _SELL_++;
// if(SET1 _indicator XYY -BUY COUNT ) _BUY_++;
// if(SET1 _indicator XYY _SELL COUNT ) _SELL_++;
_buytrue = _set1buy >= 3;
_selltrue = _set1_sell >= -3;
in each set of 6 sets , code 3 MT4 indicators = total MT4 indicators = 18 , in the include file
Each set of 3 indicators , must all show true , to get valid signal to buy or sell +1/-1
all 3 indicators in a set must all be above 80 for buy signal or below 20 for sell signal , but each indicator to have own separate level mom > 100/<100 , ris >70buy 30> sell
If any set = true +1 , signal will be +1
if any set = true -1 , signal will be -1
if any set has 3 MT4 indicators as -1 ,-1 0 = signal = zero for set (MINIMUM SIGNAL = + 3 )
if any set has 3 MT4 indicators as 1 ,-1 ,1 = signal = zero for set (MINIMUM SIGNAL = - 3 )
if any set has +1, +1 and +1 = signal set = +1 (IF SET EQUALS MINIMUM SIGNAL +3 , SIGNAL = +1 , else 0)
if any set has -1 , -1 and -1 = signal set = -1 (IF SET EQUALS MINIMUM SIGNAL -3 , SIGNAL = - 1 , else 0)
//(SET1 = 3 =SIGNAL =1 ), (SET 1 = -3 ,SIGNAL = -1)= zero
//SAME LOGIC APPLIES TO SETS 2 , 3 ,4 , 5 AND 6
everything will be defined correctly in the include file , so there will be no more defining to be done in ea , adding the include file into any ea , will compile ea without any errors or further function defining or changing codes in EA
The mqh file will start with FALSE
until a TRUE signal is generated
if no true signal is generated , SIGNAL = FALSE
SIGNAL MUST BE CHECKED AS OK BUT IF NO TRUE SIGNAL IS GENERATED , NO SIGNAL WILL BE GENERATED IF NO CHECK IS MADE.CHECK OK
비슷한 주문
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0