Просмотров: 4377 Рейтинг: Опубликован: 2011.07.29 17:23 Обновлен: 2016.11.22 07:33 BrainTrend1Sig - это рыночный индикатор для открытия позиций и выхода из них. Он показывает точки смены тренда цветом, когда цена достигает экстремальных значений и наступает самое удобное время для входа или выхода из рынка. В основе индикатора заложены...
В стрелочном индикаторе Phoenix используется комбинация трех индикаторов: Moving Average, Bolinger Bands и Momentum в сочетании с двумя мощными формулами, основанными на поведении цены текущего графика. В индикаторе Phoenix также реализована система звуковых и текстовых алертов, а также отправка...
Forse qualcuno è interessato a giocare con questa funzione nel tester - sto incollando l'utilità, è puramente per il tester, avete anche bisogno di questo indicatoreLow_Macd_Line.mq5
la funzione stessa Qui-
quando dall'indicatoreLow_Macd_Line.mq5 dovete dare a queste linee orizzontali, un nome"LOW".
prima che, inviato una funzione, perdita di profitto in valuta - chiude le posizioni. e un po 'sbagliato, si è rivelato essere solo un uguale dovrebbe essere aggiunto
//+------------------------------------------------------------------+//| SIGNAL_PROFIT.mq5 |//| Copyright 2020, MetaQuotes Software Corp. |//| https://www.mql5.com |//+------------------------------------------------------------------+#property copyright"Copyright 2020, MetaQuotes Software Corp."#property link"https://www.mql5.com"#property version"1.00"//---#include <Trade\PositionInfo.mqh>
#include <Trade\Trade.mqh>
#include <Trade\SymbolInfo.mqh>
CPositionInfo m_position; // trade position object
CTrade m_trade; // trading object
CSymbolInfo m_symbol; // symbol info object//---inputdouble TargetTakeProfit = 10000; // Прибыльinputdouble TargetStopLoss = 10000; // Убыток//+------------------------------------------------------------------+//| Expert initialization function |//+------------------------------------------------------------------+intOnInit()
{
//---//---return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+//| Expert deinitialization function |//+------------------------------------------------------------------+voidOnDeinit(constint reason)
{
//---
}
//+------------------------------------------------------------------+//| Expert tick function |//+------------------------------------------------------------------+voidOnTick()
{
//---if(AccountInfoDouble(ACCOUNT_PROFIT)<-TargetStopLoss ||
AccountInfoDouble(ACCOUNT_PROFIT)>=TargetTakeProfit)
{
CloseAll();
PlaySound("ok.wav");
}
}
//+------------------------------------------------------------------+//| start function |//+------------------------------------------------------------------+void CloseAll(void)
{
for(int i=PositionsTotal()-1; i>=0; i--) // returns the number of current positionsif(m_position.SelectByIndex(i)) // selects the position by index for further access to its properties
{
ClosePosition(m_position.Symbol()); // close a position by the specified symbo
}
}
//+------------------------------------------------------------------+//| Close selected position |//+------------------------------------------------------------------+void ClosePosition(conststring symbol)
{
if(InitTrade(symbol))
m_trade.PositionClose(m_position.Ticket()); // close a position by the specified symboPlaySound("ok.wav");
}
//+------------------------------------------------------------------+//| Init trade object |//+------------------------------------------------------------------+bool InitTrade(conststring symbol)
{
if(!m_symbol.Name(symbol)) // sets symbol namereturn(false);
if(IsFillingTypeAllowed(symbol,SYMBOL_FILLING_FOK))
m_trade.SetTypeFilling(ORDER_FILLING_FOK);
elseif(IsFillingTypeAllowed(symbol,SYMBOL_FILLING_IOC))
m_trade.SetTypeFilling(ORDER_FILLING_IOC);
else
m_trade.SetTypeFilling(ORDER_FILLING_RETURN);
return(true);
//---
}
//+------------------------------------------------------------------+//| Checks if the specified filling mode is allowed |//+------------------------------------------------------------------+bool IsFillingTypeAllowed(string symbol,int fill_type)
{
//--- Obtain the value of the property that describes allowed filling modesint filling=(int)SymbolInfoInteger(symbol,SYMBOL_FILLING_MODE);
//--- Return true, if mode fill_type is allowedreturn((filling & fill_type)==fill_type);
}
//+------------------------------------------------------------------+
Consenti l'uso dei cookie per accedere al sito MQL5.com.
Abilita le impostazioni necessarie nel browser, altrimenti non sarà possibile accedere.
Hai effettuato l'accesso. L'autenticazione a due fattori è stata disattivata. Configurala di nuovo e scansiona un nuovo codice QR, oppure continua con l'autenticazione a due fattori disattivata.
Tutto alla ricerca di punti - aggiunto Rsi e Macd a questo (Indicatore https://www.mql5.com/ru/code/392)
Ho fatto un Expert Advisor su mt4 dal nulla per fare
per questo tipo di indicatorihttps://www.mql5.com/ru/code/8772
C'è una modalità abituale - aprire chiudere
Ho fatto un Expert Advisor su mt4 dal nulla per fare
per questo tipo di indicatorihttps://www.mql5.com/ru/code/8772
Questo è uno dei modi
C'è una modalità abituale - aprire chiudere
Questo glitch, Indicatore per il testerhttps://www.mql5.com/ru/code/8772
Il risultato finale è
difficile nel tester MT4, è terribile come i test vanno da Indicatorihttps://www.mql5.com/ru/code/28364
Forse qualcuno è interessato a giocare con questa funzione nel tester - sto incollando l'utilità, è puramente per il tester, avete anche bisogno di questo indicatoreLow_Macd_Line.mq5
la funzione stessa Qui-
quando dall'indicatoreLow_Macd_Line.mq5 dovete dare a queste linee orizzontali, un nome"LOW".
potrebbe essere interessante
non lo mostri più?
potrebbe essere interessante.
Non puoi ancora mostrarmi lo stato?
Questa versione è puramente nel tester, per vedere come funziona la funzione. Non c'è nessun risultato, anche se c'è un risultato, non è corretto.
Qui https://www.mql5.com/ru/si gnals/741568 sto controllando l'utilità. Non ho ancora attivato questa funzione, sto controllando le altre funzioni.
Tutto alla ricerca di punti - aggiunto Rsi e Macd a questo (Indicatore https://www.mql5.com/ru/code/392)
è sfuggito un grosso errore - non ha cambiato il nome
corretto
potrebbe essere interessante
non mostri già lo staat?
questa funzione può essere usata come SL o traina (si imposta la distanza e si traina dietro la linea blu)
sarebbe più chiaro usarlo dalla linea gialla
qui https://www.mql5.com/ru/forum/135593/page4#comment_3441020
File:Ma c'è una DLL lì - l'ho cancellata. Ma l'indicatore (MT4) funziona, devo ancora capire cosa può fare
prima che, inviato una funzione, perdita di profitto in valuta - chiude le posizioni. e un po 'sbagliato, si è rivelato essere solo un uguale dovrebbe essere aggiunto