Come ho assemblato il mio consulente per tentativi ed errori - pagina 22

 
Aleksandr Klapatyuk:

Beh, quando attraversa il livello 50 nella finestra inferiore.

Sembra che stia andando nella giusta direzione.

se lo si confronta con questa foto dall'alto.

letture interessanti - bisogno di capire come funzionano i segnali

Penso che come uno stocastico - dovrebbe stabilizzarsi da 80 e tornare lentamente a 20

In teoria, sì, ma tutti questi livelli, 80/20, non sono stazionari, si muovono anche. E non si può dire che oltre 80 sia un livello di ipercomprato. Può andare oltre il prezzo
 

non so - ancora - come impostare correttamente

Ci sono tre stocastici. due sono quasi della stessa impostazione, e il terzo è separato, regolabile.

//--- input parameters
input int                InpKPeriod       = 5;             // K period
input int                InpDPeriod       = 5;             // D period
input int                InpSlowing       = 5;             // Slowing
input ENUM_MA_METHOD     InpMAMethod      = MODE_LWMA;     // Method
input ENUM_STO_PRICE     InpAppliedPrice  = STO_LOWHIGH;   // Applied price
//--- input parameters
input int                InpKPeriod0      = 5;             // K period
input int                InpDPeriod0      = 5;             // D period
input int                InpSlowing0      = 5;             // Slowing
input ENUM_MA_METHOD     InpMAMethod0     = MODE_LWMA;     // Method
input ENUM_STO_PRICE     InpAppliedPrice0 = STO_LOWHIGH;   // Applied price

Foto di
Ho provato a incrociare il MACD con lo stocastico - ma non è possibile.

così l'indicatore - si può approssimativamente regolare . quello che volevo .

Istantanea2

File:
Macaque.mq5  8 kb
 

simulatore per il tester. apertura - chiusura manuale .

"BUTTON_SELL");
"BUTTON_BUY");
"BUTTON_CLOSE");

sostituito - file . trawl on sell non funzionava. ora funziona

Foto di

File:
Simulator.mq5  9 kb
 

https://www.mql5.com/ru/code/25038

un'opportunità in più - per testare le vostre strategie nel tester

per mt5 e mt4

//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
input bool              InpPanel          =false; // Скрыть кнопки\\Для Тестера
input double            Lot_Default       =0.01;
input int               Lot_Digits        =2;
input int               Stop_Loss         =0;
input int               Take_Profit       =0;
input int               Trail_Start       =0;
input int               Trail_Size        =0;
input int               Gap_Protect       =900;
input bool              true;
input bool              Show_Average      =true;
input color             Text_Color        =Magenta;
input ENUM_BASE_CORNER  Text_Corner       =CORNER_RIGHT_UPPER;
input int               Magic_Number      =777;
input string            Order_Comment     ="XXX";
input int               Retry_Delay       =1000;
input int               Retry_Times       =20;
input bool              Manual_Confirm    =true;
input bool              Auto_Alerts       =false;
input int               Hotkey_Sell       =219;
input int               Hotkey_Buy        =221;
input int               Hotkey_Close      =220;
//+------------------------------------------------------------------+

Istantanea2

Foto di

Colpo4

Tech-Assistent
Tech-Assistent
  • www.mql5.com
Этот простой советник помогает сопровождать стратегии ручного трейдинга при помощи трендовых линий и линий уровней. Советник отслеживает пересечение линий, трендовых либо горизонтальных уровней. Пересечением линии считается тик, при котором текущая цена выше линии, а предыдущий тик ниже линии, либо наоборот. Линии должны иметь специальные...
File:
 
bumped, un altro Esperto con Intelligenza
File:
 

versione versione "1.01"

ha modificato le chiusure di posizione, tutto e tutti !!!

File:
 
Aleksandr Klapatyuk:

La tua intelligenza.mq5

Rimane da aggiungere all'Esperto, Indicatore con intelligenza artificiale.

 

forse - ne verrà fuori qualcosa.

Ho fatto un indicatore per spostare l'oggetto nominato. L'Expert Advisor apre e chiude sia l'indicatore che l'oggetto denominato.

Istantanea2 Foto di

È impossibile controllare la strategia nello Strategy Tester poiché quando l'oggetto si innesca, dovrebbe andare via.

nelle impostazioni dell'indicatore - sia impostare automaticamente l'oggetto - sia manualmente

input string   InpFont2              = "TOP";       // Obj: TOP (Obj:Name) ВВЕРХУ
input color    Color_Font2           = clrBlue;     //цвет TOP
input string   InpFont1              = "LOWER";     // Obj: LOWER (Obj:Name) ВНИЗУ
input color    Color_Font1           = clrRed;      //цвет LOWER
input bool     Object_Move           = true;        // Вкл. Obj:
input int      InpFractal            = 0;           // Obj: Fractal (0-2)

Questo - Esperto, sotto nel file - solo per il tester!

che per eseguire - su un conto demo o reale . è sufficiente - installare l'indicatore IgorM iCustom.mq5 sul grafico

E nell'Expert Advisor - sostituire l'indicatore con2.mq5

qui -

//+------------------------------------------------------------------+
//|                                     Tester Your intelligence.mq5 |
//|                            Copyright © 2019, Aleksandr Klapatyuk |
//|                             https://www.mql5.com/ru/users/klaxse |
//+------------------------------------------------------------------+
#property copyright   "Copyright © 2019, Aleksandr Klapatyuk"
#property link        "https://www.mql5.com/ru/users/klaxse"
#property version     "1.01"
#property description "Copyright © 2019, Vladimir Karputov"
#property description "http://wmua.ru/slesar/"
#property description "Tech-Assistent - by transcendreamer"
#property description "https://www.mql5.com/ru/users/transcendreamer"
//---
#resource "\\Indicators\\IgorM iCustom.ex5"
//---

invece di#resource"\Indicatori\\\\IgorM iCustom.ex5" digita #resource"\Indicatori\\2.ex5"

e qui

//+------------------------------------------------------------------+
//| Initialization of the indicators                                 |
//+------------------------------------------------------------------+
bool CSampleExpert::InitIndicators(void)
  {
//--- create MACD indicator
   if(m_handle_macd==INVALID_HANDLE)
      if((m_handle_macd=iCustom(Symbol(),Period(),"IgorM iCustom"))==INVALID_HANDLE)
        {
         printf("Error creating MACD indicator");
         return(false);
        }
//--- succeed
   return(true);
  }
//+------------------------------------------------------------------+

invece di "IgorM iCustom", mett ete "2"

File:
 
Aleksandr Klapatyuk:

versione versione "1.01"

modificato la chiusura della posizione, tutto e tutti !!!

Versione 1.02

Aggiunto il calcolo del lotto - potete impostare il lotto voi stessi.

input double   MaximumRisk             = 0.02;          // Maximum Risk in percentage
input double   DecreaseFactor          = 3;             // Descrease factor
input ENUM_LOT_OR_RISK InpLotOrRisk    = risk;          // Money management: Lot OR Risk

Istantanea3 Istantanea2

Istantanea1

File:
2.mq5  17 kb
 
Aleksandr Klapatyuk:

https://www.mql5.com/ru/forum/310846/page5#comment_11355088

Grande, questa è una foto interessante, ho intenzione di ottenere un mt5

Motivazione: