Добавить в советнике маленькую функцию/ 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%
무료
게재됨: 9 코드
2
개발자 2
등급
(64)
프로젝트
144
46%
중재
19
42% / 16%
기한 초과
32
22%
무료
3
개발자 3
등급
(20)
프로젝트
35
23%
중재
23
17% / 61%
기한 초과
14
40%
무료
4
개발자 4
등급
(107)
프로젝트
149
36%
중재
29
3% / 55%
기한 초과
35
23%
무료
비슷한 주문
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence 30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU

프로젝트 정보

예산
10 USD
기한
1 일