Market Condition Evaluation based on standard indicators in Metatrader 5 - page 6

To add comments, please log in or register
Sergey Golubev
Moderator
114388
Sergey Golubev  
mql4 code for this system is the following (publishing it mostly for myself sorry):

double Buy1_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
      double Buy1_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
      double Buy2_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
      double Buy2_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
      double Buy3_1 = iSAR(NULL, 0, 0.005, 0.05, Current + 1);
      double Buy3_2 = iSAR(NULL, 0, 0.005, 0.05, Current + 0);
      double Buy4_1 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, Current + 1);
      double Buy4_2 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, Current + 0);
      double Sell1_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
      double Sell1_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
      double Sell2_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
      double Sell2_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
      double Sell3_1 = iSAR(NULL, 0, 0.005, 0.05, Current + 1);
      double Sell3_2 = iSAR(NULL, 0, 0.005, 0.05, Current + 0);
      double Sell4_1 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, Current + 1);
      double Sell4_2 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, Current + 0);

      if (Buy1_1 < Buy1_2 && Buy2_1 >= Buy2_2 && Buy3_1 < Buy3_2 && Buy4_1 < Buy4_2 && Hour()>=FromHourTrade && Hour()<=ToHourTrade) Order = SIGNAL_BUY;
      if (Sell1_1 > Sell1_2 && Sell2_1 <= Sell2_2 && Sell3_1 > Sell3_2 && Sell4_1 > Sell4_2 && Hour()>=FromHourTrade && Hour()<=ToHourTrade) Order = SIGNAL_SELL;

Sergey Golubev
Moderator
114388
Sergey Golubev  

Trading week is started. As a trader - I am trying to analyze all the pairs for market condition just to decide: which pair I will trade next wek? Which possible direction and levels?

I think - most interesting is GBPUSD for now.

Just an example (D1 timeframe):

 

Just to be more specific (D1 timeframe):



The trend will be bearish if the price will cross the level 1.5992
Bullish trend will be continuing if the price will cross 1.6176 

Sergey Golubev
Moderator
114388
Sergey Golubev  

It is ther situation for H4 timeframe:

 

Just more details:

 

So, if the price will finally break Ichimoku cloud border so we may be ranging or flat market condition for some time with the resistance levels as 1.6168 and 1.6177. If price will break 1.6194 so we will have bullish for H4.
Levels for downtrend are 1.6087 and finally 1.6035.

So, it is interesting to see where the price will go to next week.
 

Sergey Golubev
Moderator
114388
Sergey Golubev  

Well.
- Bearish for H4 right now (on close bar)
- may be bearish on the future for D1 (tomorrow and the day after tomorrow) - it is ranging condition for now.
- bearish for H1

And I opened the trade few hours ago for GBPUSD (I used Maksigen indicator from this CodeBase here ):


Sergey Golubev
Moderator
114388
Sergey Golubev  

Please find attached the EA created according to 3 Stoch MaFibo system (see page 5 of this thread). I will optimize the settings for this EA one more time just to make a final version of it, and after that - we will come back to Scalp_net system to create EA for it with the parameters optimized.

Just for information. 

Create Your Own Expert Advisor in MQL5 Wizard
Create Your Own Expert Advisor in MQL5 Wizard
  • 2011.01.14
  • MetaQuotes Software Corp.
  • www.mql5.com
The knowledge of programming languages is no longer a prerequisite for creating trading robots. Earlier lack of programming skills was an impassable obstacle to the implementation of one's own trading strategies, but with the emergence of the MQL5 Wizard, the situation radically changed. Novice traders can stop worrying because of the lack of programming experience - with the new Wizard, which allows you to generate Expert Advisor code, it is not necessary.
Files:
Java de Carvalho
1197
Java de Carvalho  
ND, did backtest but no positive result. Could you pass the parameters?
Sergey Golubev
Moderator
114388
Sergey Golubev  
alemparaiso:
ND, did backtest but no positive result. Could you pass the parameters?
Set file is inside zip archive on this post as an attachment. By the way, I will try to optimize the settings for this EA too, and I will try to improve this version.
Sergey Golubev
Moderator
114388
Sergey Golubev  

Some Metatrader statement attached for manual trading using Maksigen indicator only (see CodeBase entry here).

 

Sergey Golubev
Moderator
114388
Sergey Golubev  

About scalp_net_v3 (see this post and this one) - I created EA using Molanis builder and I am optimizing the settings for now. Just for information. I will upload everything when ready. And some more news: MaksiGen indicator was published in english CodeBase - MaksiGen_Range_Move MTF . Thanks to Igorad for improvement and conversion of this great indicator.

 

Sergey Golubev
Moderator
114388
Sergey Golubev  

This is EA (attached) and optimization results (attached too). EURUSD M5 timeframe.

 

 

To add comments, please log in or register