Добавить в советнике маленькую функцию/ add little function in existing EA

MQL4 专家

工作已完成

执行时间9 小时

指定

Zdravstvuite. Nada dobavit v sovetnike method:

 

V properties v ,,StartMod" nada dobavit nazvanie metoda ,,Candle method" i v sluchae esli polzovatel vibaret etot metod to robot dolzen:

 

1. proanalizirovat predidushi 1 candel. i esli cena otkritia vishe cena zakritia to na sledushem kandele nacinaet s SELL a esli cena otkritia menshe ceni zakritia to BUY;

2. na kazdom kandele dolzen bit 1 signal poka ne budet dostignuta obshi SumProfit  (poslednaia i tak lezit v robote).

 

VOT PRIMERNI KOD katori nada dobavit :

 

 void TechnicalAnalysis1()


    if (Close[1] >= Open[1])
     
        ( open  buy order  )




void TechnicalAnalysis 2()

    if (Close[1] <= Open[1])
      
       open sell order

 

 

 

//-------------------------------------------------------------
//  Etasoft Inc. Forex EA and Script Generator version 4.1   EA
//-------------------------------------------------------------
// Keywords: MT4, Forex EA builder, create EA, expert advisor developer

#property copyright "Copyright © 2011, Etasoft Inc. Forex EA Generator v4.1"
#property link      "http://www.forexgenerator.com/"

#include <stdlib.mqh>
#include <WinUser32.mqh>

// exported variables


// local variables
double PipValue=1;    // this variable is here to support 5-digit brokers
bool Terminated = false;
string LF = "\n";  // use this in custom or utility blocks where you need line feeds
int NDigits = 4;   // used mostly for NormalizeDouble in Flex type blocks
int ObjCount = 0;  // count of all objects created on the chart, allows creation of objects with unique names
int current = 0;

datetime BarTime2 = 0;


int init()
{
    NDigits = Digits;
    
    if (false) ObjectsDeleteAll();      // clear the chart
    
    
    Comment("");    // clear the chart
}

// Expert start
int start()
{
    if (Bars < 10)
    {
        Comment("Not enough bars");
        return (0);
    }
    if (Terminated == true)
    {
        Comment("EA Terminated.");
        return (0);
    }
    
    OnEveryNewBar2();
    
}

void OnEveryNewBar2()
{
    PipValue = 1;
    if (NDigits == 3 || NDigits == 5) PipValue = 10;
    if (BarTime2 < Time[0])
    {
        // we have a new bar opened
        BarTime2 = Time[0]; // keep the new bar open time
        TechnicalAnalysis1();
        TechnicalAnalysis9();
        
    }
}

void TechnicalAnalysis1()
{
    if (Close[1] >= Open[1])
    {
            
    }
}

void TechnicalAnalysis9()
{
    if (Close[1] <= Open[1])
    {
            
    }
}



int deinit()
{
    if (false) ObjectsDeleteAll();
    
    

} 

反馈

1
开发者 1
等级
(68)
项目
111
26%
仲裁
17
6% / 71%
逾期
15
14%
空闲
2
开发者 2
等级
(62)
项目
140
46%
仲裁
19
42% / 16%
逾期
32
23%
空闲
3
开发者 3
等级
(20)
项目
35
23%
仲裁
23
17% / 61%
逾期
14
40%
空闲
4
开发者 4
等级
(107)
项目
149
36%
仲裁
29
3% / 55%
逾期
35
23%
空闲
相似订单
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

项目信息

预算
10 USD
开发人员
9 - 9 USD
截止日期
1 天