SETINDICATOR include file

MQL4 Autre

Tâche terminée

Temps d'exécution 4 jours
Commentaires du client
another perfect job , which other coders failed to do.

Spécifications

 

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    

Dossiers :

Répondu

1
Développeur 1
Évaluation
(258)
Projets
395
28%
Arbitrage
69
19% / 49%
En retard
120
30%
Gratuit
2
Développeur 2
Évaluation
(550)
Projets
829
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Travail
Commandes similaires
This project will be carried out in two phases Part one: Contrarian trading strategy Part two: Implement a control panel that will be displayed on the MT4 platform screen, including the required elements. What is a contrarian trading strategy? It is an investment approach that goes against the general market consensus. In other words, contrarian traders buy when the majority of investors are selling, and vice versa
Looking for someone who can teach me how to connect to Mt4 from phyton, code and backtest on phyton. This will be ongoing classes, once or twice a week for 1 hour
Am looking to license an automated stock trading algorithm with a minimum live track record of 6-12 months . Must be able to show a verifiable track record. Feel free to apply if you have something that aligns
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
Hello everyone. I actually have a MT4 trading bot and need someone that can backtest and optimize the bot with 100% tick data. I will give you all the instructions to optimize the bot with the start, step and stop input to put on. Thank you
I want to turn the attached trade into a bot. It may be a little hard to udnerstand, in simple terms I want to trade at a turn around point following a fair value gap. I may want to add two switches: Buy / sell only Only trade within zone x-y these additions will allow me to check fundamentals for buy/or sell, and then only trade when im in support/resistance. You may know a better more profitable way of going about
Hello, I hope you're doing well. I recently developed a platform on TradingView, and I’m seeking assistance from a developer to guide me through the process. Based on the feedback provided, I will like you to help me make necessary modifications with it. Your expertise would be greatly appreciated! All Requirements will be sent via inbox. Thanks
Hello , I've developed a new trading view platform recently, and I'd like an expert to give me some feedbacks. I will try to modify it based on your feedback. Looking forward to the proficient proposal in the comment section
Hello. I'm going to develop quantower strategy. The strategy is follow: Short entry: when the candle open and close below the ema we take a short below the low of the candle Long entry: when the candle open and close above the ema we take a short above the high of the candle. when the trend doesn't get our way, in order to cover the loss; Short: open Long position at the High of the candle. Long: open Short position
Hello I have a piece of python code that connects telegram and pocket option, I need help running it and will update it before tomorrow speed is paramount.We can use anydesk for to connect my pocket option with telegram basically run the code, once that is done will give 2 updates on the code

Informations sur le projet

Budget
60- USD