SETINDICATOR include file

MQL4 Altro

Lavoro terminato

Tempo di esecuzione 4 giorni
Feedback del cliente
another perfect job , which other coders failed to do.

Specifiche

 

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

signals from all three indicators on each set must be valid  , if one of three indicators in a set trigger value  is not met , entry is not valid  , even if another indicator in different set  has valid signal.

comment on include  file    //  where you add code

you will be provided indicators and   ea to add code by pm 

mql4 source codes required as part of job  for testing and two weeks required to test 

Each version you supply will be codded as  #1 , #2 #3 

 

Code an include file WITH   6 SETS   OF 3 INDICATORS    called setindicator   .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   :101, 102 , 103

SET2 INDICATORS    :104 ,105 ,106

SET3  INDICATORS   :107 ,108 , 109

SET 4 INDICATORS   :110 , 111  AND 112

SET 5 INDICATORS   :113 , 114 , 115

SET 6 INDICATORS    ;116 , 117 AND 118 

 

All indicators are same template 

 

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 101 -BUY COUNT ) _BUY_++;

 //    if(SET1 _indicator 101 _SELL COUNT ) _SELL_++;

 //    if(SET1 _indicator 102 -BUY COUNT ) _BUY_++;

 //    if(SET1 _indicator 102 _SELL COUNT ) _SELL_++;

 //    if(SET1 _indicator 103 -BUY COUNT ) _BUY_++;

 //    if(SET1 _indicator 103 _SELL COUNT ) _SELL_++;

  _buytrue   = _set1buy  >= 3;

    _selltrue = _set1_sell  >= -3;

 

 in each set   of  6 sets , code   3 custom  indicators  = total custom 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  - 80 for sell signal 

If any set = true     +1     , signal will be +1

if any  set =  true  -1     , signal will be -1

if any set has   3 indicators as     -1 ,-1   0  =     signal = zero for set  (MINIMUM SIGNAL =  + 3 )

 if any set has   3 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)

//SAME LOGIC APPLIES TO SETS 2 , 3 ,4 , 5 AND 6 

 

 

Please code the sets and indicators together in same function call  (see sketch  include)  , this will make function effective  and faster  (novice coders  call functions in different places on ea  and  this type of coding makes eas confused and function calls are in  a mangled state , so ea will not work) .Please do not try to reduce codes  (short cuts on coding) , to save your time   ,thereby  making ineffective codes  that dont work  , this is due to missing clear function call.Each function  calling each indicator must be clearly defined , and detailed in the code    , and  within the function call ,only then will robot function correctly.A robot does not function correctly , because robot has not been given clear instructions.

 There will be  function declared in mqh void InitSettings(), it will be placed into EA's init() function,

so EA runs - the function retrieves settings only once,

and there is this flag bool Isindicator Ok, if = true - that means the settings are loaded and can be used, = false - settings aren't found.

 

 

Below  is a sketch include file       , the intelligent coder will make a detailed    include file  with proper working codes for functions.The include file will be added to EA at beginning on init.

Include will coded to start with false    , into EA's init() function  , if include shows no true signal   , ea will not waste computer memory  and start again on init  .

//Until a true signal is generated on init  , include will not   check any other filters and functions of ea.

 

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.

 

The mqh file   will start with FALSE  

until a TRUE   signal is generated

if no true signal  is generated  , SIGNAL  = FALSE    

Con risposta

1
Sviluppatore 1
Valutazioni
(258)
Progetti
395
28%
Arbitraggio
69
19% / 49%
In ritardo
120
30%
Gratuito
2
Sviluppatore 2
Valutazioni
(550)
Progetti
827
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
Ordini simili
A “grid” display style like the attached image. User can choose up to 3 EMA’s to monitor on up to 6 Time Frames. If the EMA slope is greater than 0 = Green If the EMA slope is less than 0 = Red If the EMA slope is 0 = Black The grid should be customizable on it’s size, colors, and placement on the chart. Each EMA should update per tick. A label at the top of the grid should read “SLOPES” Indicator 2: A “grid” display
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
I need a programmer for converting a MetaTrader indicator into ea for TradeLocker. Additionally, I would like to have a new EA built in TradeLocker that mirrors the logic of the original MetaTrader, including the specific rules and conditions I need. Please contact me only if you have prior experience converting scripts from MetaTrader to TradeLocker
Hello, How are you doing? I want an EA that will send trade signals from my MT4 to my Telegram channel. So whatever trade I take on MT4 I want the EA to then automatically send the trade details of the trade I took to the Telegram channel in a message right away. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
I've use most of code from this script, add some more filter, and added different kind of moving avg instead of rsi input .. please check the source code .. . 70-80% is similar to it. Please check can you convert And are you familiar with backtest.py library? Oky. This library has ML approach to get the optimized backtest parameters right ? included for this but let me know what you think? can you install backtest.py
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks

Informazioni sul progetto

Budget
60- USD