SETINDICATOR include file

MQL4 其它

工作已完成

执行时间4 天
客户反馈
another perfect job , which other coders failed to do.

指定

 

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    

附加的文件:

反馈

1
开发者 1
等级
(258)
项目
395
28%
仲裁
69
19% / 49%
逾期
120
30%
空闲
2
开发者 2
等级
(548)
项目
825
73%
仲裁
15
53% / 13%
逾期
193
23%
工作中
相似订单
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
In summary 1) The bot will only take Firm Buy and Firm Sell Signals . 2) The bot will use the SL and TP based on the indicator . 3) the risk to reward is 2:1 but when the price reaches 1:1 set SL to Breakeven 4) the bot will take Firm Buy and Firm sell after the candle closes with a firm buy or firm sell 5) make sure to give an option for number of contracts to be traded . 6) Bot will close all the trades EOD
Hello, I'd like to get a developer for converting tradingview indicator script to NT8 indicator. I have attached rough c# code and working pine script. indicator is nothing but just 7 horizontal lines drawn with 3 types of colors, 3 lines for support level, 3 lines for resistance level and 1 mid line. Purpose of the indicator is to draw colored horizontal lines with labels when a text is pasted with predefined
The Bot will use 2 Indicators and should follow these rules: Trade Entry: You must always enter the trade EXACTLY at the close of the current candle, with the expiry time set to the end of the next candle. It will only work if you click BUY or SELL EXACTLY in the last second of the current candle. I don't need to mention that you need a good internet connection and obviously should use the trading platform app. DO
I have choch indicator I want to use it for my strategy but the ea will have two options the second option will base on manual example I will do my analysis of a pair then decide if buy or sell before putting those pairs in the ea base on the direction I choose for it but first option will make use of the indicator. Will explain better on video screen pls check my attachments below for better communication
Hi, I need someone who have an idea of IG Market I am running into a problem I need to have at least 50pips between my order and stoploss. Can you check with me where it goes wrong
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
Hello! Will you be able to program an MT4 EA, running on an offline renko charts? Based on attached indicators signals? An EA that generates the renko charts is also attached. If yes come to dm now
Hello, do you have a service that can send messages directly to individual channel members rather than to the entire group? If so, please contact me via direct message immediately. This is urgent

项目信息

预算
60- USD